source: projects/specs/trunk/F/FD/fd2rc.vine @ 3287

Revision 3287, 20.4 KB checked in by munepi, 13 years ago (diff)

updated FD-vl.spec

Line 
1# fd2rc.vine: Initialize file for FD
2#
3#  There are some settings in this configuration file
4#  which differ from the upstream default:
5#
6#     SORTTYPE=1 (alphabetical)
7#     DISPLAYMODE=3 (sym-link status & file type symbol)
8#     ADJTTY=1 (adjust TTY when exiting)
9#     LANGUAGE=$LANG
10#     INPUTKCODE=$LANG
11#     FNAMEKCODE=$LANG
12#
13#     Launcher settings
14#        for files with suffix as .tar.xz, .zip, .Z, .gz, .bz2, xz
15#        for Debian package (.deb), rpm package (.rpm), ePub format (.epub),
16#            Microsoft Office Open XML formats (.docx, .xslx, .pptx)
17#     Archiver settings
18#        for files with suffix as .tar.xz, .zip
19#        for Debian package (.deb), rpm package (.rpm), ePub format (.epub),
20#            Microsoft Office Open XML formats (.docx, .xslx, .pptx)
21
22# whether if limit configuration items or not in the customizer
23#       0: not limit (Default)
24#       >= 1: limit
25#BASICCUSTOM=0
26
27# default sort type
28#       0: not sort (Default)
29#       1: alphabetical 9: alphabetical (reversal)
30#       2: extension    10: extension (reversal)
31#       3: size         11: size (reversal)
32#       4: date         12: date (reversal)
33#       5: length       13: length (reversal)
34#       100-113: preserve previous sort type
35#       200-213: preserve previous sort type also in the archive browser
36#               (the least 2 digits are effective just after initialize)
37#SORTTYPE=0
38SORTTYPE=1
39
40# default display mode
41#       0: normal (Default)
42#       1: sym-link status
43#       2:                      file type symbol
44#       3: sym-link status &    file type symbol
45#       4:                                              invisible dot file
46#       5: sym-link status &                            invisible dot file
47#       6:                      file type symbol &      invisible dot file
48#       7: sym-link status &    file type symbol &      invisible dot file
49#DISPLAYMODE=0
50DISPLAYMODE=3
51
52# whether if sort or not in tree mode
53#       0: not sort (Default)
54#       >= 1: sort according to SORTTYPE
55#SORTTREE=0
56
57# behavior about writing over directory on file system
58#       0: confirm to write or not, after directory arranged (Default)
59#       1: write directory only if commanded
60#       2: never write over directory even if commanded
61#WRITEFS=0
62
63# whether if ignore uppercase or lowercase in filename comparison
64#       0: not ignore (Default)
65#       >= 1: ignore
66#IGNORECASE=0
67
68# whether if inherit timestamp or not when copying
69#       0: not inherit (Default)
70#       >= 1: inherit
71#INHERITCOPY=0
72
73# whether if display progress bar on copying/moving files
74#       0: not dislpay (Default)
75#       >= 1: dislpay
76#PROGRESSBAR=0
77
78# whether if query overwriting policy in advance before copying/moving files
79#       0: not query (Default)
80#       >= 1: query
81#PRECOPYMENU=0
82
83# whether if adjust tty or not when exiting
84#       0: not adjust (Default)
85#       >= 1: adjust
86#ADJTTY=0
87ADJTTY=1
88
89# whether if prioritize VT100 escape sequence or not for getting terminal size
90#       0: not prioritize (Default)
91#       >= 1: prioritize
92#USEGETCURSOR=0
93
94# default columns of file in 1 line
95#       1: 1 column
96#       2: 2 columns (Default)
97#       3: 3 columns
98#       5: 5 columns
99#DEFCOLUMNS=2
100
101# minimum columns of filename field
102#       Default: 12
103#MINFILENAME=12
104
105# history file of sh mode
106#       Default: ~/.fd_history
107#HISTFILE=~/.fd_history
108
109# history file of path input
110#       Default: none
111#DIRHISTFILE=""
112
113# history size of sh mode
114#       Default: 50
115#HISTSIZE=50
116
117# history size of path input
118#       Default: 50
119#DIRHIST=50
120
121# size of saved command history
122#       Default: 50
123#SAVEHIST=50
124
125# size of saved directory history
126#       Default: 50
127#SAVEDIRHIST=50
128
129# limit of counting files in directory, on tree mode
130#       Default: 50
131#DIRCOUNTLIMIT=50
132
133# whether if make MS-DOS drive effective
134#       0: not use (Default)
135#       >= 1: effective
136#DOSDRIVE=0
137
138# whether if display the second hand of clock
139#       0: not display (Default)
140#       >= 1: display
141#SECOND=0
142
143# interval seconds to update browser automatically
144#       0: invalid (Default)
145#       >= 1: valid
146#AUTOUPDATE=0
147
148# whether if use the screen layout based on the traditional "FD"
149#       0: original layout (Default)
150#       >= 1: traditional layout
151#TRADLAYOUT=0
152
153# whether if show the info. of filesize
154#       0: not show (Default)
155#       >= 1: show
156#SIZEINFO=0
157
158# layout form of the function line
159#       value: n * 100 + size
160#       n: the number of function keys
161#       size: the block size of function keys
162#       Default: 10 * 100 + 5
163#FUNCLAYOUT=1005
164
165# key to invoke tiny Kanji Input Method Editor
166#       Default: none
167#IMEKEY=""
168
169# whether if hold the Kana-Kanji translation table on memory
170#       0: not hold (Default)
171#       >= 1: hold
172#IMEBUFFER=0
173
174# whether if support ANSI color escape sequence
175#       0: monochrome (Default)
176#       1: color
177#       2: color & force background to blacken
178#       3: color & force foreground to blacken
179#ANSICOLOR=0
180
181# color palette in the ANSI color mode
182#       Default: none
183#       0: black
184#       1: red
185#       2: green
186#       3: yellow
187#       4: blue
188#       5: magenta
189#       6: cyan
190#       7: white
191#       8: default color for foreground
192#       9: default color for background
193#       default palette: 89624351888
194#                        |||||||||||
195#       normal file -----+||||||||||
196#       background -------+|||||||||
197#       directory ---------+||||||||
198#       unwritable ---------+|||||||
199#       unreadable ----------+||||||
200#       symbolic link --------+|||||
201#       socket ----------------+||||
202#       fifo (named pipe) ------+|||
203#       block device ------------+||
204#       character device ---------+|
205#       exectable -----------------+
206#ANSIPALETTE=""
207
208# edit mode with your favorite editor type
209#       emacs: ^P, ^N, ^F, ^B, ... (Default)
210#       wordstar ^E, ^X, ^D, ^S, ...
211#       vi: k, j, l, h, ...
212#EDITMODE=emacs
213
214# whether if loop cursor moving within the same page
215#       0: not loop (Default)
216#       >= 1: loop
217#LOOPCURSOR=0
218
219# temporary directory where archive file is unpacked
220#       Default: /tmp
221#TMPDIR=/tmp
222
223# file creation mask for the temporary directory
224#       Default: 022
225#TMPUMASK=022
226
227# mount point of CD-ROM with iso-9660 rock ridge format
228#       Default: none
229#RRPATH=""
230
231# directories on which browsing precedes getting file status
232#       Default: none
233#PRECEDEPATH=""
234
235# shell prompt strings
236#       Default: "$ "
237#PS1="$ "
238
239# continuous shell prompt strings
240#       Default: "> "
241#PS2="> "
242
243# whether if not use control sequences in the internal shell
244#       0: use (Default)
245#       >= 1: not use
246#DUMBSHELL=0
247
248# whether if use pseudo terminal
249#       0: not use (Default)
250#       >= 1: use
251#PTYMODE=0
252
253# value of the environ variable "TERM" for pseudo terminal
254#       Default: "vt100"
255#PTYTERM="vt100"
256
257# key to open pseudo terminal menu
258#       Default: none
259#PTYMENUKEY=""
260
261# filename for logging
262#       Default: none
263#LOGFILE=""
264
265# file size for logging
266#       Default: 1024 (KB)
267#LOGSIZE=1024
268
269# whether if use syslog for logging
270#       0: not use (Default)
271#       >= 1: use
272#USESYSLOG=0
273
274# logging level for normal users
275#       0: not logging (Default)
276#       1: for warning
277#       2: for notice
278#       3: for information
279#       >= 4: for debug
280#LOGLEVEL=0
281
282# logging level for the super user
283#       0: not logging
284#       1: for warning (Default)
285#       2: for notice
286#       3: for information
287#       >= 4: for debug
288#ROOTLOGLEVEL=1
289
290# whether if pass through the startup arguments as is
291#       0: evaluate arguments (Default)
292#       >= 1: pass through
293#THRUARGS=0
294
295# whether if make URL drive effective
296#       0: not use (Default)
297#       >= 1: effective
298#URLDRIVE=0
299
300# timeout seconds for communications on URL drive
301#       0: invalid (Default)
302#       >= 1: valid
303#URLTIMEOUT=0
304
305# communication options for URL drive
306#        0: normal (Default)
307#        1: deny PASV
308#        2: deny        PORT
309#        3: deny PASV & PORT
310#        4: deny               MDTM
311#        5: deny PASV &        MDTM
312#        6: deny        PORT & MDTM
313#        7: deny PASV & PORT & MDTM
314#        8: deny                      FEAT
315#        9: deny PASV               & FEAT
316#       10: deny        PORT        & FEAT
317#       11: deny PASV & PORT        & FEAT
318#       12: deny               MDTM & FEAT
319#       13: deny PASV &        MDTM & FEAT
320#       14: deny        PORT & MDTM & FEAT
321#       15: deny PASV & PORT & MDTM & FEAT
322#       16:                                       get HTTP detail status
323#       17: deny PASV                           & get HTTP detail status
324#       18: deny        PORT                    & get HTTP detail status
325#       19: deny PASV & PORT                    & get HTTP detail status
326#       20: deny               MDTM             & get HTTP detail status
327#       21: deny PASV &        MDTM             & get HTTP detail status
328#       22: deny        PORT & MDTM             & get HTTP detail status
329#       23: deny PASV & PORT & MDTM             & get HTTP detail status
330#       24: deny                      FEAT      & get HTTP detail status
331#       25: deny PASV               & FEAT      & get HTTP detail status
332#       26: deny        PORT        & FEAT      & get HTTP detail status
333#       27: deny PASV & PORT        & FEAT      & get HTTP detail status
334#       28: deny               MDTM & FEAT      & get HTTP detail status
335#       29: deny PASV &        MDTM & FEAT      & get HTTP detail status
336#       30: deny        PORT & MDTM & FEAT      & get HTTP detail status
337#       31: deny PASV & PORT & MDTM & FEAT      & get HTTP detail status
338#URLOPTIONS=0
339
340# whether if suppress displaying '*' with password input
341#       0: display '*' (Default)
342#       >= 1: display none
343#HIDEPASSWD=0
344
345# mail address for anonymous FTP
346#       Default: "FDclone@"
347#FTPADDRESS="FDclone@"
348
349# FTP proxy address
350#       Default: none
351#FTPPROXY=""
352
353# filename for logging FTP communications
354#       Default: none
355#FTPLOGFILE=""
356
357# HTTP proxy address
358#       Default: none
359#HTTPPROXY=""
360
361# filename for logging HTTP communications
362#       Default: none
363#HTTPLOGFILE=""
364
365# filename for logging received HTML
366#       Default: none
367#HTMLLOGFILE=""
368
369# whether if hold the UNICODE translation table on memory
370#       0: not hold (Default)
371#       >= 1: hold
372#UNICODEBUFFER=0
373
374# language code to be displayed
375#       Default: No convert
376#       euc, EUC: EUC-JP
377#       sjis, SJIS: Shift JIS
378#       jis, JIS: 7bits JIS
379#       jis8, JIS8: 8bits JIS
380#       junet, JUNET: ISO-2022-JP
381#       ojis, OJIS: old 7bits JIS
382#       ojis8, OJIS8: old 8bits JIS
383#       ojunet, OJUNET: old ISO-2022-JP
384#       utf8, UTF8: UTF-8
385#       utf8-mac, UTF8-MAC: UTF-8 for Mac OS X
386#       utf8-iconv, UTF8-ICONV: UTF-8 for iconv
387#       en, EN, C: English
388#LANGUAGE=""
389LANGUAGE=$LANG
390
391# system default Kanji code
392#       Default: No convert
393#       euc, EUC: EUC-JP
394#       sjis, SJIS: Shift JIS
395#       jis, JIS: 7bits JIS
396#       jis8, JIS8: 8bits JIS
397#       junet, JUNET: ISO-2022-JP
398#       ojis, OJIS: old 7bits JIS
399#       ojis8, OJIS8: old 8bits JIS
400#       ojunet, OJUNET: old ISO-2022-JP
401#       hex, HEX: HEX
402#       cap, CAP: CAP
403#       utf8, UTF8: UTF-8
404#       utf8-mac, UTF8-MAC: UTF-8 for Mac OS X
405#       utf8-iconv, UTF8-ICONV: UTF-8 for iconv
406#DEFKCODE=""
407
408# Kanji code to be inputted
409#       Default: No convert
410#       euc, EUC: EUC-JP
411#       sjis, SJIS: Shift JIS
412#       utf8, UTF8: UTF-8
413#       utf8-mac, UTF8-MAC: UTF-8 for Mac OS X
414#       utf8-iconv, UTF8-ICONV: UTF-8 for iconv
415#INPUTKCODE=""
416INPUTKCODE=$LANG
417
418# Kanji code to be inputted to the pseudo terminal
419#       Default: No convert
420#       euc, EUC: EUC-JP
421#       sjis, SJIS: Shift JIS
422#       utf8, UTF8: UTF-8
423#       utf8-mac, UTF8-MAC: UTF-8 for Mac OS X
424#       utf8-iconv, UTF8-ICONV: UTF-8 for iconv
425#PTYINKCODE=""
426
427# Kanji code to be outputted from the pseudo terminal
428#       Default: No convert
429#       euc, EUC: EUC-JP
430#       sjis, SJIS: Shift JIS
431#       utf8, UTF8: UTF-8
432#       utf8-mac, UTF8-MAC: UTF-8 for Mac OS X
433#       utf8-iconv, UTF8-ICONV: UTF-8 for iconv
434#PTYOUTKCODE=""
435
436# Kanji code in filename
437#       Default: No convert
438#       euc, EUC: EUC-JP
439#       sjis, SJIS: Shift JIS
440#       jis, JIS: 7bits JIS
441#       jis8, JIS8: 8bits JIS
442#       junet, JUNET: ISO-2022-JP
443#       ojis, OJIS: old 7bits JIS
444#       ojis8, OJIS8: old 8bits JIS
445#       ojunet, OJUNET: old ISO-2022-JP
446#       hex, HEX: HEX
447#       cap, CAP: CAP
448#       utf8, UTF8: UTF-8
449#       utf8-mac, UTF8-MAC: UTF-8 for Mac OS X
450#       utf8-iconv, UTF8-ICONV: UTF-8 for iconv
451#FNAMEKCODE=""
452FNAMEKCODE=$LANG
453
454# Kanji code in filename on URL drive
455#       Default: No convert
456#       euc, EUC: EUC-JP
457#       sjis, SJIS: Shift JIS
458#       jis, JIS: 7bits JIS
459#       jis8, JIS8: 8bits JIS
460#       junet, JUNET: ISO-2022-JP
461#       ojis, OJIS: old 7bits JIS
462#       ojis8, OJIS8: old 8bits JIS
463#       ojunet, OJUNET: old ISO-2022-JP
464#       hex, HEX: HEX
465#       cap, CAP: CAP
466#       utf8, UTF8: UTF-8
467#       utf8-mac, UTF8-MAC: UTF-8 for Mac OS X
468#       utf8-iconv, UTF8-ICONV: UTF-8 for iconv
469#URLKCODE=""
470
471# language code to be displayed
472#       Default: according to LANGUAGE
473#       en, EN, C: English
474#       ja: Japanese
475#MESSAGELANG=""
476
477# directories on which Kanji code in filename is SJIS
478#       Default: none
479#SJISPATH=""
480
481# directories on which Kanji code in filename is EUC-JP
482#       Default: none
483#EUCPATH=""
484
485# directories on which Kanji code in filename is 7bits JIS
486#       Default: none
487#JISPATH=""
488
489# directories on which Kanji code in filename is 8bits JIS
490#       Default: none
491#JIS8PATH=""
492
493# directories on which Kanji code in filename is ISO-2022-JP
494#       Default: none
495#JUNETPATH=""
496
497# directories on which Kanji code in filename is old 7bits JIS
498#       Default: none
499#OJISPATH=""
500
501# directories on which Kanji code in filename is old 8bits JIS
502#       Default: none
503#OJIS8PATH=""
504
505# directories on which Kanji code in filename is old ISO-2022-JP
506#       Default: none
507#OJUNETPATH=""
508
509# directories on which Kanji code in filename is HEX
510#       Default: none
511#HEXPATH=""
512
513# directories on which Kanji code in filename is CAP
514#       Default: none
515#CAPPATH=""
516
517# directories on which Kanji code in filename is UTF-8
518#       Default: none
519#UTF8PATH=""
520
521# directories on which Kanji code in filename is UTF-8 for Mac OS X
522#       Default: none
523#UTF8MACPATH=""
524
525# directories on which Kanji code in filename is UTF-8 for iconv
526#       Default: none
527#UTF8ICONVPATH=""
528
529# directories on which Kanji code in filename is not converted
530#       Default: none
531#NOCONVPATH=""
532
533#PAGER=more%K
534#EDITOR=vi
535#SHELL=/bin/sh
536
537# for Mischievous Japanese OS (see `man fd')
538#export LANG=C
539
540# launcher definition
541#(Default)
542#launch ".lzh"          "lha l" \
543#               -f "%a %u/%g %s %x %m %d %{yt} %*f" \
544#               -f "%9a %u/%g %s %x %m %d %{yt} %*f" \
545#               -i " PERMSSN * UID*GID *" \
546#               -i "----------*" \
547#               -i " Total * file* ???.*%*" \
548#launch ".tar"          "tar tvf" \
549#               -f "%a %u/%g %s %m %d %t %y %*f" \
550#               -f "%a %u/%g %s %y-%m-%d %t %*f" \
551#               -f "%a %l %u %g %s %m %d %{yt} %*f" \
552#               -f "%10a %u/%g %s %m %d %t %y %*f" \
553#               -f "%9a %u/%g %s %m %d %t %y %*f" \
554#               -f "%a %u %g %s %m %d %t %y %*f" \
555#               -f "%a %u/%g %m %d %t %y %*f"
556#launch ".tar.Z"        "zcat %C|tar tvf -" \
557#               -f "%a %u/%g %s %m %d %t %y %*f" \
558#               -f "%a %u/%g %s %y-%m-%d %t %*f" \
559#               -f "%a %l %u %g %s %m %d %{yt} %*f" \
560#               -f "%10a %u/%g %s %m %d %t %y %*f" \
561#               -f "%9a %u/%g %s %m %d %t %y %*f" \
562#               -f "%a %u %g %s %m %d %t %y %*f" \
563#               -f "%a %u/%g %m %d %t %y %*f"
564#launch ".tar.gz"       "gzip -cd %C|tar tvf -" \
565#               -f "%a %u/%g %s %m %d %t %y %*f" \
566#               -f "%a %u/%g %s %y-%m-%d %t %*f" \
567#               -f "%a %l %u %g %s %m %d %{yt} %*f" \
568#               -f "%10a %u/%g %s %m %d %t %y %*f" \
569#               -f "%9a %u/%g %s %m %d %t %y %*f" \
570#               -f "%a %u %g %s %m %d %t %y %*f" \
571#               -f "%a %u/%g %m %d %t %y %*f"
572#launch ".tar.bz2"      "bzip2 -cd %C|tar tvf -" \
573#               -f "%a %u/%g %s %m %d %t %y %*f" \
574#               -f "%a %u/%g %s %y-%m-%d %t %*f" \
575#               -f "%a %l %u %g %s %m %d %{yt} %*f" \
576#               -f "%10a %u/%g %s %m %d %t %y %*f" \
577#               -f "%9a %u/%g %s %m %d %t %y %*f" \
578#               -f "%a %u %g %s %m %d %t %y %*f" \
579#               -f "%a %u/%g %m %d %t %y %*f"
580#launch ".taZ"          "zcat %C|tar tvf -" \
581#               -f "%a %u/%g %s %m %d %t %y %*f" \
582#               -f "%a %u/%g %s %y-%m-%d %t %*f" \
583#               -f "%a %l %u %g %s %m %d %{yt} %*f" \
584#               -f "%10a %u/%g %s %m %d %t %y %*f" \
585#               -f "%9a %u/%g %s %m %d %t %y %*f" \
586#               -f "%a %u %g %s %m %d %t %y %*f" \
587#               -f "%a %u/%g %m %d %t %y %*f"
588#launch ".taz"          "gzip -cd %C|tar tvf -" \
589#               -f "%a %u/%g %s %m %d %t %y %*f" \
590#               -f "%a %u/%g %s %y-%m-%d %t %*f" \
591#               -f "%a %l %u %g %s %m %d %{yt} %*f" \
592#               -f "%10a %u/%g %s %m %d %t %y %*f" \
593#               -f "%9a %u/%g %s %m %d %t %y %*f" \
594#               -f "%a %u %g %s %m %d %t %y %*f" \
595#               -f "%a %u/%g %m %d %t %y %*f"
596#launch ".tgz"          "gzip -cd %C|tar tvf -" \
597#               -f "%a %u/%g %s %m %d %t %y %*f" \
598#               -f "%a %u/%g %s %y-%m-%d %t %*f" \
599#               -f "%a %l %u %g %s %m %d %{yt} %*f" \
600#               -f "%10a %u/%g %s %m %d %t %y %*f" \
601#               -f "%9a %u/%g %s %m %d %t %y %*f" \
602#               -f "%a %u %g %s %m %d %t %y %*f" \
603#               -f "%a %u/%g %m %d %t %y %*f"
604#(Examples)
605launch ".zip"   "unzip -lqq"            " %s %m-%d-%y %t %*f"
606#launch ".zoo"  "zoo lq"                " %s %x %x %d %m %y %t %*f"
607#launch ".rar"  "unrar v" \
608#               -f " %*f\n%s %x %x %d-%m-%y %t %a" \
609#               -i "UNRAR *" \
610#               -i "RAR *" \
611#               -i "Shareware version *" \
612#               -i "Verifying authenticity *" \
613#               -i "Solid archive *" \
614#               -i "Archive *" \
615#               -i "Pathname/Comment" \
616#               -i "Size * Packed *" \
617#               -i "----------*" \
618#               -i "* * * ??%" \
619#               -i "Old style *" \
620#               -i "Archive *.rar" \
621#               -i "created at ??:??:?? *" \
622#               -i "by * *" \
623#               -i ""
624
625launch ".tar.xz"        "xz -cd %C|tar tvf -" \
626                -f "%a %u/%g %s %m %d %t %y %*f" \
627                -f "%a %u/%g %s %y-%m-%d %t %*f" \
628                -f "%a %l %u %g %s %m %d %{yt} %*f" \
629                -f "%10a %u/%g %s %m %d %t %y %*f" \
630                -f "%9a %u/%g %s %m %d %t %y %*f" \
631                -f "%a %u %g %s %m %d %t %y %*f" \
632                -f "%a %u/%g %m %d %t %y %*f"
633
634launch ".Z"     "zcat %C|$PAGER"
635launch ".gz"    "gzip -cd %C|$PAGER"
636launch ".bz2"   "bzip2 -cd %C|$PAGER"
637launch ".xz"    "xz -cd %C|$PAGER"
638
639# examples for MS-DOS
640#launch ".lzh"          "lha v %S" %
641#               -f "%*f\n%s %x %x %y-%m-%d %t %a" %
642#               -f "%1x %12f %s %x %x %y-%m-%d %t %a" %
643#               -i "Listing of archive : *" %
644#               -i "  Name          Original *" %
645#               -i "--------------*" %
646#               -i "* files * ???.?%%%% ??-??-?? ??:??:??" %
647#               -i ""
648#launch ".tar.Z"        "gzip -cd %S|tar tvf -" %
649#               -f "%a %u/%g %s %m %d %t %y %*f" %
650#               -f "%a %u/%g %s %y-%m-%d %t %*f" %
651#               -f "%a %u/%g %s %m %d %y %t %*f" %
652#launch ".tar.gz"       "gzip -cd %S|tar tvf -" %
653#               -f "%a %u/%g %s %m %d %t %y %*f" %
654#               -f "%a %u/%g %s %y-%m-%d %t %*f" %
655#               -f "%a %u/%g %s %m %d %y %t %*f" %
656#launch ".tar.bz2"      "bzip2 -cd %S|tar tvf -" %
657#               -f "%a %u/%g %s %m %d %t %y %*f" %
658#               -f "%a %u/%g %s %y-%m-%d %t %*f" %
659#               -f "%a %u/%g %s %m %d %y %t %*f" %
660#launch ".taz"          "gzip -cd %S|tar tvf -" %
661#               -f "%a %u/%g %s %m %d %t %y %*f" %
662#               -f "%a %u/%g %s %y-%m-%d %t %*f" %
663#               -f "%a %u/%g %s %m %d %y %t %*f" %
664#launch ".tgz"          "gzip -cd %S|tar tvf -" %
665#               -f "%a %u/%g %s %m %d %t %y %*f" %
666#               -f "%a %u/%g %s %y-%m-%d %t %*f" %
667#               -f "%a %u/%g %s %m %d %y %t %*f" %
668#launch ".zip"  "unzip -lqq %S"         " %s %y-%m-%d %t %*f"
669#launch ".zip"  "pkunzip -vb %S"        " %s %x %x %x %y-%m-%d %t %*f" 14 2
670
671# Debian package
672#launch ".deb" "ar p %C data.tar.gz|gzip -dc|tar tvf - "\
673#                   "%a %u/%g %s %y-%m-%d %t %f"
674
675# rpm package
676launch ".rpm" "rpm2cpio %C|cpio -tv"  "%a %x %u %g %s %m %d %y %f"
677
678# ePub format
679launch ".epub"  "unzip -lqq"            " %s %m-%d-%y %t %*f"
680
681# Microsoft Office Open XML formats
682launch ".docx"  "unzip -lqq"            " %s %m-%d-%y %t %*f"
683launch ".xslx"  "unzip -lqq"            " %s %m-%d-%y %t %*f"
684launch ".pptx"  "unzip -lqq"            " %s %m-%d-%y %t %*f"
685
686# archiver definition
687#(Default)
688#arch ".lzh"    "lha aq %C %TA"                 "lha xq %C %TA"
689#arch ".tar"    "tar cf %C %T"                  "tar xf %C %TA"
690#arch ".tar.Z"  "tar cf - %T|compress -c > %C"  "zcat %C|tar xf - %TA"
691#arch ".tar.gz" "tar cf - %T|gzip -c > %C"      "gzip -cd %C|tar xf - %TA"
692#arch ".tar.bz2" \
693#               "tar cf - %T|bzip2 -c > %C"     "bzip2 -cd %C|tar xf - %TA"
694#arch ".taZ"    "tar cf - %T|compress -c > %C"  "zcat %C|tar xf - %TA"
695#arch ".taz"    "tar cf - %T|gzip -c > %C"      "gzip -cd %C|tar xf - %TA"
696#arch ".tgz"    "tar cf - %T|gzip -c > %C"      "gzip -cd %C|tar xf - %TA"
697#(Examples)
698arch ".zip"     "zip -q %C %TA"                 "unzip -q %C %TA"
699#arch ".zoo"    "zoo aq %C %TA"                 "zoo xq %C %TA"
700#arch ".rar"    "rar a -inul %C %TA"            "unrar x -inul %C %TA"
701
702# examples for MS-DOS
703#arch ".lzh"    "lha a %S %TA"                  "lha x %S %TA"
704#arch ".tar.Z"  "tar cf - %T|compress -c > %C"  "gzip -cd %S|tar xf - %TA"
705#arch ".tar.gz" "tar cf - %T|gzip -c > %C"      "gzip -cd %S|tar xf - %TA"
706#arch ".tar.bz2" %
707#               "tar cf - %T|bzip2 -c > %C"     "bzip2 -cd %S|tar xf - %TA"
708#arch ".taz"    "tar cf - %T|compress -c > %C"  "gzip -cd %S|tar xf - %TA"
709#arch ".tgz"    "tar cf - %T|gzip -c > %C"      "gzip -cd %S|tar xf - %TA"
710#arch ".zip"    "pkzip %S %TA"                  "pkunzip %S %TA"
711
712arch ".tar.xz" \
713                "tar cf - %T|xz -c > %C"        "xz -cd %C|tar xf - %TA"
714
715# Debian package
716#arch ".deb"    "clear; echo ERROR; false"\
717#       "ar p %C data.tar.gz|gzip -dc|tar -xf - %TA"
718
719# rpm package
720arch ".rpm"   "clear; echo ERROR; false"      "rpm2cpio %C|cpio -id %TA"
721
722# ePub format
723arch ".epub"    "zip -q %C %TA"                 "unzip -q %C %TA"
724
725# Microsoft Office Open XML formats
726arch ".docx"    "zip -q %C %TA"                 "unzip -q %C %TA"
727arch ".xslx"    "zip -q %C %TA"                 "unzip -q %C %TA"
728arch ".pptx"    "zip -q %C %TA"                 "unzip -q %C %TA"
729
730# key bind definition
731#(Examples)
732#bind 'I'       "dir -d %C"
733#bind 'g'       "gzip %C%K"     WARNING_BELL
734#bind 'G'       "gzip -d %C%K"  WARNING_BELL
735#bind 'R'       "grep %R %C"
736#bind '{'       ROLL_UP
737#bind '}'       ROLL_DOWN
738#bind '~'       "cd ~%N%K"
739#bind 'F1'      "man fd%N%K"    :Manual
740
741# function definition
742#(Example1)
743#rename() {
744#       MARK_ALL 0
745#       MARK_FIND $1
746##      RENAME_FILE $2
747#       evalmacro mv %M $2
748#}
749#
750#(Example2: used in archiver definition)
751#maketaz() {
752#       evalmacro tar cf %X.tar %T
753#       evalmacro $1 %X.tar
754#       evalmacro mv %X.tar.$2 %X.$3
755#}
756#
757#(Example3: ftp browsing)
758#getftp() {
759#       FHOST=$1
760#       FPATH=
761#       browse -@ - <<'EOF0'
762#       'ftp -n $FHOST <<-EOF
763#       user ftp `whoami`@`hostname`
764#       dir $FPATH
765#       quit
766#       EOF'
767#       -f "%a %l %u %g %s %m %d %{yt} %*f"
768#       -i "total *"
769#       -e "Not connected."
770#       -e "Login incorrect."
771#       -e "Login failed."
772#       -p 'FPATH=$1; while [ "$#" -gt 1 ]; do shift; FPATH=$1/$FPATH; done'
773#       -d loop
774#
775#       'dir=`readline "Dir: "` && [ -d "$dir" ] \
776#       && yesno "copy \"$FPATH\" to \"$dir\" ?" \
777#       && ftp -n $FHOST <<-EOF \
778#       && echo "copy \"$FPATH\" to \"$dir\"." %K \
779#       || echo canceled.
780#       user ftp `whoami`@`hostname`
781#       get $FPATH $dir/${FPATH##*/}
782#       quit
783#       EOF'
784#EOF0
785#}
786
787# MS-DOS drive definition
788#(Example)
789#setdrv B       "/dev/rfd00a"   2, 18, 80
790
791# alias definition
792#(Example)
793#alias dir="ls -laF"
794
795# keymap definition
796#(Example)
797#keymap DEL     "\033[3~"
Note: See TracBrowser for help on using the repository browser.