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

Revision 1631, 19.0 KB checked in by munepi, 14 years ago (diff)

updated FDclone

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