1
0

patch-lib_mc_lib 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. $Id$
  2. $MirOS: ports/misc/mc/patches/patch-lib_mc_lib,v 1.9 2007/03/01 23:56:43 tg Exp $
  3. --- mc-4.6.1.orig/lib/mc.lib 2004-09-10 09:23:44.000000000 +0000
  4. +++ mc-4.6.1/lib/mc.lib 2007-03-20 13:32:10.000000000 +0000
  5. @@ -1,8 +1,27 @@
  6. +# $MirOS: ports/misc/mc/patches/patch-lib_mc_lib,v 1.9 2007/03/01 23:56:43 tg Exp $
  7. +#-
  8. +# Copyright (c) 2003, 2004, 2005, 2006
  9. +# Thorsten Glaser <tg@mirbsd.de>
  10. +#
  11. +# Provided that these terms and disclaimer and all copyright notices
  12. +# are retained or reproduced in an accompanying document, permission
  13. +# is granted to deal in this work without restriction, including un-
  14. +# limited rights to use, publicly perform, distribute, sell, modify,
  15. +# merge, give away, or sublicence.
  16. +#
  17. +# This work is provided "AS IS" and WITHOUT WARRANTY of any kind, to
  18. +# the utmost extent permitted by applicable law, neither express nor
  19. +# implied; without malicious intent or gross negligence. In no event
  20. +# may a licensor, author or contributor be held liable for indirect,
  21. +# direct, other damage, loss, or other issues arising in any way out
  22. +# of dealing in the work, even if advised of the possibility of such
  23. +# damage or existence of a defect, except proven that it results out
  24. +# of said person's immediate fault when using the work as intended.
  25. +
  26. [Special dirs]
  27. list=/afs,/coda,/:,/...,/net,/#smb
  28. [terminal:console]
  29. -insert=\e[2~
  30. f11=\e[23~
  31. f12=\e[24~
  32. f13=\e[25~
  33. @@ -13,25 +32,25 @@ f17=\e[31~
  34. f18=\e[32~
  35. f19=\e[33~
  36. f20=\e[34~
  37. -kpleft=\eOt
  38. -kpright=\eOv
  39. -kpup=\eOx
  40. +insert=\e[2~
  41. +kpasterix=\eOR
  42. +kpdelete=\eOn
  43. kpdown=\eOr
  44. -kphome=\eOw
  45. kpend=\eOq
  46. +kpenter=\eOM
  47. +kphome=\eOw
  48. +kpinsert=\eOp
  49. +kpleft=\eOt
  50. +kpminus=\eOS
  51. kpnpage=\eOs
  52. -kpppage=\eOy
  53. +kpnumlock=\eOP
  54. kpplus=\eOl
  55. -kpminus=\eOS
  56. -kpasterix=\eOR
  57. -kpinsert=\eOp
  58. -kpdelete=\eOn
  59. -kpenter=\eOM
  60. +kpppage=\eOy
  61. +kpright=\eOv
  62. kpslash=\eOQ
  63. -kpnumlock=\eOP
  64. +kpup=\eOx
  65. [terminal:linux]
  66. -insert=\e[2~
  67. f11=\e[23~
  68. f12=\e[24~
  69. f13=\e[25~
  70. @@ -42,25 +61,31 @@ f17=\e[31~
  71. f18=\e[32~
  72. f19=\e[33~
  73. f20=\e[34~
  74. -kpleft=\eOt
  75. -kpright=\eOv
  76. -kpup=\eOx
  77. +insert=\e[2~
  78. +kpasterix=\eOR
  79. +kpdelete=\eOn
  80. kpdown=\eOr
  81. -kphome=\eOw
  82. kpend=\eOq
  83. +kpenter=\eOM
  84. +kphome=\eOw
  85. +kpinsert=\eOp
  86. +kpleft=\eOt
  87. +kpminus=\eOS
  88. kpnpage=\eOs
  89. -kpppage=\eOy
  90. +kpnumlock=\eOP
  91. kpplus=\eOl
  92. -kpminus=\eOS
  93. -kpasterix=\eOR
  94. -kpinsert=\eOp
  95. -kpdelete=\eOn
  96. -kpenter=\eOM
  97. +kpppage=\eOy
  98. +kpright=\eOv
  99. kpslash=\eOQ
  100. -kpnumlock=\eOP
  101. +kpup=\eOx
  102. [terminal:xterm]
  103. -insert=\e[2~
  104. +bs=
  105. +delete=\e[3~
  106. +end=\eOF
  107. +end=\e[4~
  108. +end=\e[8~
  109. +end=\e[F
  110. f11=\e[23~
  111. f12=\e[24~
  112. f13=\e[25~
  113. @@ -71,27 +96,22 @@ f17=\e[31~
  114. f18=\e[32~
  115. f19=\e[33~
  116. f20=\e[34~
  117. -kpleft=\eOt
  118. -kpright=\eOv
  119. -kpup=\eOx
  120. +home=\eOH
  121. +home=\e[1~
  122. +home=\e[7~
  123. +home=\e[H
  124. +insert=\e[2~
  125. +kpasterix=\eOj
  126. kpdown=\eOr
  127. -kphome=\eOw
  128. kpend=\eOq
  129. +kphome=\eOw
  130. +kpleft=\eOt
  131. +kpminus=\eOm
  132. kpnpage=\eOs
  133. -kpppage=\eOy
  134. kpplus=\eOk
  135. -kpminus=\eOm
  136. -kpasterix=\eOj
  137. -delete=\e[3~
  138. -bs=
  139. -home=\e[1~
  140. -home=\e[7~
  141. -end=\eOF
  142. -end=\e[F
  143. -end=\e[4~
  144. -end=\e[8~
  145. -home=\eOH
  146. -home=\e[H
  147. +kpppage=\eOy
  148. +kpright=\eOv
  149. +kpup=\eOx
  150. pgdn=\e[6~
  151. pgup=\e[5~
  152. @@ -108,14 +128,14 @@ f19=\e[20;2~
  153. f20=\e[21;2~
  154. # Arrows for both keypad modes (application and normal).
  155. -up=\e[A
  156. -up=\eOA
  157. -down=\e[B
  158. down=\eOB
  159. -right=\e[C
  160. -right=\eOC
  161. -left=\e[D
  162. +down=\e[B
  163. left=\eOD
  164. +left=\e[D
  165. +right=\eOC
  166. +right=\e[C
  167. +up=\eOA
  168. +up=\e[A
  169. [terminal:gnome]
  170. copy=xterm
  171. @@ -126,8 +146,15 @@ copy=xterm
  172. [terminal:xterm-new]
  173. copy=xterm
  174. +[terminal:xterm-xfree86]
  175. +copy=xterm
  176. +
  177. [terminal:xterm-color]
  178. -insert=\e[2~
  179. +bs=
  180. +delete=\e[3~
  181. +end=\eOF
  182. +end=\e[4~
  183. +end=\e[8~
  184. f11=\e[23~
  185. f12=\e[24~
  186. f13=\e[25~
  187. @@ -138,29 +165,27 @@ f17=\e[31~
  188. f18=\e[32~
  189. f19=\e[33~
  190. f20=\e[34~
  191. -kpleft=\eOt
  192. -kpright=\eOv
  193. -kpup=\eOx
  194. +home=\eOH
  195. +home=\e[1~
  196. +home=\e[7~
  197. +insert=\e[2~
  198. +kpasterix=\eOj
  199. kpdown=\eOr
  200. -kphome=\eOw
  201. kpend=\eOq
  202. +kphome=\eOw
  203. +kpleft=\eOt
  204. +kpminus=\eOm
  205. kpnpage=\eOs
  206. -kpppage=\eOy
  207. kpplus=\eOk
  208. -kpminus=\eOm
  209. -kpasterix=\eOj
  210. -delete=\e[3~
  211. -bs=
  212. -home=\e[1~
  213. -home=\e[7~
  214. -home=\eOH
  215. -end=\e[4~
  216. -end=\e[8~
  217. -end=\eOF
  218. +kpppage=\eOy
  219. +kpright=\eOv
  220. +kpup=\eOx
  221. pgdn=\e[6~
  222. pgup=\e[5~
  223. [terminal:ibmpc3]
  224. +bs=^h
  225. +end=\e[F
  226. f11=\e[Y
  227. f12=\e[Z
  228. f13=\e[a
  229. @@ -171,11 +196,9 @@ f17=\e[e
  230. f18=\e[f
  231. f19=\e[g
  232. f20=\e[h
  233. -bs=^h
  234. -end=\e[F
  235. -kpplus=\e[+
  236. -kpminus=\e[-
  237. kpasterix=\e[*
  238. +kpminus=\e[-
  239. +kpplus=\e[+
  240. [terminal:cons25]
  241. f11=\e[Y
  242. @@ -188,3 +211,127 @@ f17=\e[e
  243. f18=\e[f
  244. f19=\e[g
  245. f20=\e[h
  246. +
  247. +# Sequences below are used in OpenBSD wscons, also via remote login
  248. +
  249. +[terminal:vt220]
  250. +bs=
  251. +end=\e[8~
  252. +f1=\e[11~
  253. +f2=\e[12~
  254. +f3=\e[13~
  255. +f4=\e[14~
  256. +f5=\e[15~
  257. +f6=\e[17~
  258. +f7=\e[18~
  259. +f8=\e[19~
  260. +f9=\e[20~
  261. +f10=\e[21~
  262. +f11=\e[23~
  263. +f12=\e[24~
  264. +home=\e[7~
  265. +
  266. +[terminal:wsvt25]
  267. +bs=
  268. +end=\e[8~
  269. +f1=\e[11~
  270. +f2=\e[12~
  271. +f3=\e[13~
  272. +f4=\e[14~
  273. +f5=\e[15~
  274. +f6=\e[17~
  275. +f7=\e[18~
  276. +f8=\e[19~
  277. +f9=\e[20~
  278. +f10=\e[21~
  279. +f11=\e[23~
  280. +f12=\e[24~
  281. +home=\e[7~
  282. +
  283. +[terminal:wsvtg]
  284. +bs=
  285. +end=\e[8~
  286. +f1=\e[11~
  287. +f2=\e[12~
  288. +f3=\e[13~
  289. +f4=\e[14~
  290. +f5=\e[15~
  291. +f6=\e[17~
  292. +f7=\e[18~
  293. +f8=\e[19~
  294. +f9=\e[20~
  295. +f10=\e[21~
  296. +f11=\e[23~
  297. +f12=\e[24~
  298. +home=\e[7~
  299. +
  300. +# Not a real vt100, but NetBSD wscons in vt220 mode with
  301. +# $TERM set to vt100. Except F5-F9, this matches screen.
  302. +
  303. +[terminal:vt100]
  304. +bs=
  305. +complete=‰
  306. +delete=\e[3~
  307. +end=\e[8~
  308. +f1=\e[11~
  309. +f2=\e[12~
  310. +f3=\e[13~
  311. +f4=\e[14~
  312. +f5=\e[15~
  313. +f6=\e[17~
  314. +f7=\e[18~
  315. +f8=\e[19~
  316. +f9=\e[20~
  317. +f10=\e[21~
  318. +f11=\e[23~
  319. +f12=\e[24~
  320. +home=\e[7~
  321. +insert=\e[2~
  322. +pgdn=\e[6~
  323. +pgup=\e[5~
  324. +
  325. +# GNU screen - depending on its environment, here: wsvt25
  326. +[terminal:screen]
  327. +end=\e[8~
  328. +f10=\e[20~
  329. +f1=\e[11~
  330. +f2=\e[12~
  331. +f3=\e[13~
  332. +f4=\e[14~
  333. +f5=\e[15~
  334. +f6=\e[15~
  335. +f7=\e[17~
  336. +f8=\e[18~
  337. +f9=\e[19~
  338. +home=\e[7~
  339. +
  340. +# PuTTY
  341. +[terminal:ansi]
  342. +bs=^h
  343. +down=\eOB
  344. +f1=\eOP
  345. +f2=\eOQ
  346. +f3=\eOR
  347. +f4=\eOS
  348. +left=\eOD
  349. +right=\eOC
  350. +up=\eOA
  351. +
  352. +# Windows 3.1 TELNET.EXE
  353. +# (not really useful. The F-Keys, INS etc. don't work.)
  354. +[terminal:ansi-nt]
  355. +f1=\eOP
  356. +f2=\eOQ
  357. +f3=\eOR
  358. +f4=\eOS
  359. +bs=^h
  360. +up=\e[A
  361. +down=\e[B
  362. +left=\e[D
  363. +right=\e[C
  364. +delete=
  365. +
  366. +# Microsoft Services for Unix 3.5 (native terminal, xterm see above)
  367. +[terminal:interix]
  368. +home=\e[H
  369. +delete=