home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / c-kermit / xmodmap.txt < prev   
Internet Message Format  |  2020-01-01  |  9KB

  1. From: Bob Marcan <bob.marcan@aster.si>
  2. Organization: Aster
  3. Newsgroups: comp.os.vms,comp.os.linux.x
  4. Subject: Re: Help! VT100 emulators - some problems.
  5. Lines: 278
  6. Date: Sun, 14 Apr 2002 13:18:16 +0200
  7. Content-Type: text/plain; charset=us-ascii
  8. To: undisclosed-recipients:;
  9.  
  10. JF Mezei wrote:
  11. > sword7@speakeasy.org wrote:
  12.  
  13. > > For example, I tried to enter 'type/page
  14. > > file.txt', it worked ok but ended up one-line window at bottom screen.
  15. > > I had to get out of terminal and re-logged back into OpenVMS 7.2.
  16. > if you do a SHOW TERMINAL, it may give you a hit of why it isn't working
  17. > fine.  When you login, VMS typically interrogates the terminal with a few
  18. > escape sequences to find its capabilities. One of these interrogations
  19. > involves positioning the cursor at line 256 column 256 and asking the
  20. > terminal to return the current cursor position (in the hopes that it returns
  21. > the rightmost and bottom most position on the screen: eg: screen size).
  22. > you can override those settings with SET TERM/PAGE=24/WIDTH=80 for instance
  23. > (or larger numbers if your window is bigger).
  24. >
  25. Since i'm an old DEC customer (1980, VMS 1.5) you will understand my
  26. preferences.  I'm using LK46W keyboard on my Linux box. Connecting to VMS,
  27. Tru64, Irix, Linux.  On VMS using TPU/EDT, on others Xemacs with TPU
  28. emulation. Everything works flawlesly.  And believe me, Fred Kleinsorge
  29. knows what is talking about.
  30.  
  31. This my .Xmodmap
  32. ----------------
  33. !
  34. ! This is an `xmodmap' input file for Digital LK450 (XFree86) keyboards.
  35. ! Automatically generated on Wed Oct 18 21:43:08 2000 by bob with
  36. ! XKeyCaps 2.46; Copyright (c) 1999 Jamie Zawinski <jwz@jwz.org>.
  37. ! http://www.jwz.org/xkeycaps/
  38. !
  39. ! This file makes the following changes:
  40. !
  41. ! The "F1 Hold" key generates Escape
  42. ! The "F13 Er Line Rub Wrd" key generates F13
  43. ! The "F14 Insert/Ovrstke" key generates F14
  44. ! The "Help" key generates Help
  45. ! The "Do" key generates Execute
  46. ! The "F17" key generates F17
  47. ! The "F18 PrtSc" key generates F18
  48. ! The "F19 Scroll Lock" key generates F19, and has no modifiers
  49. ! The "F20 Pause" key generates F20
  50. ! The "Esc" key generates grave and asciitilde
  51. ! The "PF1" key generates KP_F1, and has no modifiers
  52. ! The "PF2" key generates KP_F2
  53. ! The "PF3" key generates KP_F3
  54. ! The "PF4" key generates KP_F4
  55. ! The "~ `" key generates less and greater
  56.  
  57. keycode 0x43 =  Escape
  58. keycode 0x44 =  F2
  59. keycode 0x45 =  F3
  60. keycode 0x46 =  F4
  61. keycode 0x47 =  F5
  62. keycode 0x48 =  F6
  63. keycode 0x49 =  F7
  64. keycode 0x4A =  F8
  65. keycode 0x4B =  F9
  66. keycode 0x4C =  F10
  67. keycode 0x5F =  F11
  68. keycode 0x60 =  F12
  69. keycode 0x76 =  F13
  70. keycode 0x77 =  F14
  71. keycode 0x78 =  Help
  72. keycode 0x79 =  Execute
  73. keycode 0x7A =  F17
  74. keycode 0x6F =  F18
  75. keycode 0x4E =  F19
  76. keycode 0x6E =  F20
  77. keycode 0x09 =  grave           asciitilde
  78. keycode 0x0A =  1               exclam
  79. keycode 0x0B =  2               at
  80. keycode 0x0C =  3               numbersign
  81. keycode 0x0D =  4               dollar
  82. keycode 0x0E =  5               percent
  83. keycode 0x0F =  6               asciicircum
  84. keycode 0x10 =  7               ampersand
  85. keycode 0x11 =  8               asterisk
  86. keycode 0x12 =  9               parenleft
  87. keycode 0x13 =  0               parenright
  88. keycode 0x14 =  minus           underscore
  89. keycode 0x15 =  equal           plus
  90. keycode 0x16 =  BackSpace
  91. keycode 0x61 =  Home
  92. keycode 0x6A =  Insert
  93. keycode 0x6B =  Delete
  94. keycode 0x4D =  KP_F1
  95. keycode 0x70 =  KP_F2
  96. keycode 0x3F =  KP_F3
  97. keycode 0x52 =  KP_F4
  98. keycode 0x17 =  Tab             ISO_Left_Tab
  99. keycode 0x18 =  q               Q
  100. keycode 0x19 =  w               W
  101. keycode 0x1A =  e               E
  102. keycode 0x1B =  r               R
  103. keycode 0x1C =  t               T
  104. keycode 0x1D =  y               Y
  105. keycode 0x1E =  u               U
  106. keycode 0x1F =  i               I
  107. keycode 0x20 =  o               O
  108. keycode 0x21 =  p               P
  109. keycode 0x22 =  bracketleft     braceleft
  110. keycode 0x23 =  bracketright    braceright
  111. keycode 0x24 =  Return
  112. keycode 0x67 =  End
  113. keycode 0x63 =  Prior
  114. keycode 0x69 =  Next
  115. keycode 0x4F =  KP_Home         KP_7
  116. keycode 0x50 =  KP_Up           KP_8
  117. keycode 0x51 =  KP_Prior        KP_9
  118. keycode 0x7B =  KP_Subtract
  119. keycode 0x25 =  Control_L
  120. keycode 0x42 =  Caps_Lock
  121. keycode 0x26 =  a               A
  122. keycode 0x27 =  s               S
  123. keycode 0x28 =  d               D
  124. keycode 0x29 =  f               F
  125. keycode 0x2A =  g               G
  126. keycode 0x2B =  h               H
  127. keycode 0x2C =  j               J
  128. keycode 0x2D =  k               K
  129. keycode 0x2E =  l               L
  130. keycode 0x2F =  semicolon       colon
  131. keycode 0x30 =  apostrophe      quotedbl
  132. keycode 0x33 =  backslash       bar
  133. keycode 0x62 =  Up
  134. keycode 0x53 =  KP_Left         KP_4
  135. keycode 0x54 =  KP_Begin        KP_5
  136. keycode 0x55 =  KP_Right        KP_6
  137. keycode 0x56 =  KP_Add
  138. keycode 0x32 =  Shift_L
  139. keycode 0x31 =  less            greater
  140. keycode 0x34 =  z               Z
  141. keycode 0x35 =  x               X
  142. keycode 0x36 =  c               C
  143. keycode 0x37 =  v               V
  144. keycode 0x38 =  b               B
  145. keycode 0x39 =  n               N
  146. keycode 0x3A =  m               M
  147. keycode 0x3B =  comma           less
  148. keycode 0x3C =  period          greater
  149. keycode 0x3D =  slash           question
  150. keycode 0x3E =  Shift_R
  151. keycode 0x64 =  Left
  152. keycode 0x68 =  Down
  153. keycode 0x66 =  Right
  154. keycode 0x57 =  KP_End          KP_1
  155. keycode 0x58 =  KP_Down         KP_2
  156. keycode 0x59 =  KP_Next         KP_3
  157. keycode 0x6C =  KP_Enter
  158. keycode 0x40 =  Alt_L           Meta_L
  159. keycode 0x41 =  space
  160. keycode 0x71 =  Alt_R           Meta_R
  161. keycode 0x6D =  Control_R
  162. keycode 0x5A =  KP_Insert       KP_0
  163. keycode 0x5B =  KP_Delete       KP_Decimal
  164.  
  165. clear Shift
  166. clear Lock
  167. clear Control
  168. clear Mod1
  169. clear Mod2
  170. clear Mod3
  171. clear Mod4
  172. clear Mod5
  173.  
  174. add    Shift   = Shift_L Shift_R
  175. add    Lock    = Caps_Lock
  176. add    Control = Control_L Control_R
  177. add    Mod1    = Alt_L Alt_R
  178. -----------------------------
  179. and this is .Xdefaults:
  180.  
  181. !+++++ vt200
  182. !Remove key (Delete=false Remove=true)
  183. !XTerm*deleteIsDEL: true
  184. XTerm*cutNewline: false
  185. !XTerm*reverseWrap: true
  186. XTerm*dynamicColors:  on
  187. XTerm*titeInhibit: false
  188. XTerm*multiScroll: false
  189. !XTerm*autoWrap: false
  190. XTerm*autoWrap: true
  191. !
  192. XTerm*termName: vt220
  193. XTerm*decTerminalID: 220
  194. XTerm*font: 7x14bold
  195. XTerm*visualBell: true
  196. XTerm*saveLines: 9999
  197. XTerm*scrollBar: true
  198. XTerm*scrollLines: 10
  199. XTerm*rightScrollBar: true
  200. XTerm*jumpScroll: true
  201. XTerm*highlightSelection:  true
  202. XTerm*activeIcon: true
  203. XTerm*cursorColor: red
  204. XTerm*background: white
  205. XTerm*foreground: black
  206. XTerm*pointerShape:top_left_arrow
  207. XTerm*pointerColor: red
  208. XTerm*charClass: 32-35:32,36-37:48,38-41:32,42-43:48,44:32,45-126:48
  209. XTerm*vt100*colorBDMode: on
  210. XTerm*vt100*colorBD: DarkBlue
  211. XTerm*vt100*colorULMode:on
  212. XTerm*vt100*colorUL: DarkRed
  213.  
  214. XTerm*vt100.translations: #override\
  215.     Meta<Key>Prior: scroll-back(1,page)\n\
  216.     Meta<Key>Next: scroll-forw(1,page)\n\
  217.     Meta<Key>Home: scroll-back(1000,page)\n\
  218.     Meta<Key>End: scroll-forw(1000,page)\n\
  219.     Meta<Key>Up: scroll-back(1,line)\n\
  220.     Meta<Key>Down: scroll-forw(1,line)\n\
  221. \n\
  222.     <Key>Insert: string("\033[1~")\n\
  223.     <Key>Home: string("\033[2~")\n\
  224.     <Key>Delete: string("\033[4~")\n\
  225. \n\
  226.     <Key>End: string("\033[5~")\n\
  227.     <Key>Prior: string("\033[3~")\n\
  228.     <Key>Next: string("\033[6~")\n\
  229. \n\
  230.     <Key>Num_Lock: string("\033OP")\n\
  231.     <Key>KP_Divide: string("\033OQ")\n\
  232.     <Key>KP_Multiply: string("\033OR")\n\
  233.     <Key>KP_Subtract: string("\033OS")\n\
  234. \n\
  235.     <Key>KP_0: string("\033Op")\n       <Key>KP_5: string("\033Ou")\n\
  236.     <Key>KP_1: string("\033Oq")\n       <Key>KP_6: string("\033Ov")\n\
  237.     <Key>KP_2: string("\033Or")\n       <Key>KP_7: string("\033Ow")\n\
  238.     <Key>KP_3: string("\033Os")\n       <Key>KP_8: string("\033Ox")\n\
  239.     <Key>KP_4: string("\033Ot")\n       <Key>KP_9: string("\033Oy")\n\
  240. \n\
  241.     Shift<Key>KP_Add: string("\033Om")\n\
  242.     <Key>KP_Add: string("\033Ol")\n\
  243.     <Key>KP_Decimal: string("\033On")\n\
  244.     Shift<Key>KP_Enter: string("\033OM")\n\
  245. \n\
  246.     Ctrl<Key>F1: string("")\n           Shift<Key>F1:
  247. string("\033[23~")\n\
  248.     Ctrl<Key>F2: string("")\n           Shift<Key>F2:
  249. string("\033[24~")\n\
  250.     Ctrl<Key>F3: string("")\n           Shift<Key>F3:
  251. string("\033[25~")\n\
  252.     Ctrl<Key>F4: string("")\n           Shift<Key>F4:
  253. string("\033[26~")\n\
  254.     Ctrl<Key>F5: string("")\n           Shift<Key>F5:
  255. string("\033[28~")\n\
  256.     Ctrl<Key>F6: string("\033[17~")\n   Shift<Key>F6:
  257. string("\033[29~")\n\
  258.     Ctrl<Key>F7: string("\033[18~")\n   Shift<Key>F7:
  259. string("\033[31~")\n\
  260.     Ctrl<Key>F8: string("\033[19~")\n   Shift<Key>F8:
  261. string("\033[32~")\n\
  262.     Ctrl<Key>F9: string("\033[20~")\n   Shift<Key>F9:
  263. string("\033[33~")\n\
  264.     Ctrl<Key>F10: string("\033[21~")\n  Shift<Key>F10:
  265. string("\033[34~")\n\
  266.     Ctrl<Key>F11: string("\033[23~")\n  Shift<Key>F11:
  267. string("\033[28~")\n\
  268.     Ctrl<Key>F12: string("\033[24~")\n  Shift<Key>F12:
  269. string("\033[29~")\n\
  270.     <Key>F4: insert-selection(PRIMARY,CUT_BUFFER0)\n\
  271.     Ctrl<Key>BackSpace:string("\010")\n <Key>BackSpace:string("\177")\n\
  272.     \n
  273.  
  274. !----- vt200
  275.  
  276. Regards, Bob
  277.  
  278.  
  279. -- 
  280.  Bob Marcan                           mailto:bob.marcan@aster.si
  281.  Aster                                tel:    +386 (1) 5894-329
  282.  Nade Ovcakove 1                      fax:    +386 (1) 5894-201
  283.  1000 Ljubljana, Slovenia                    http://www.aster.si
  284.