fd2rc.vine 20 KB

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