fd2rc.vine 19 KB

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