home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / tnaddon.zip / telnet.cfg < prev   
Text File  |  1997-09-01  |  6KB  |  162 lines

  1. #
  2. # TN (c) D.Maloff
  3. # configuration & keyboard mappings
  4.  
  5. # Say them we're emulating..
  6. #TERM   %TERM%
  7. #TERM   at386
  8. #TERM   vt100
  9. #TERM   cons25r
  10. #TERM   ANSI
  11. TERM cons25r
  12.  
  13. # Environment vars to export (var.names will be uppercased while exporting):
  14. #   var <var> [<value>]
  15. # If an empty <value> given, value of <var> from the current environment
  16. # will be used.
  17.  
  18. # Well-known vars:
  19. #var    user
  20. var     display
  21. var     systemtype      Windows
  22. # Export a uservar:
  23. #var    my_var
  24. # Export a local var and change it's name:
  25. #var    remote_name     %local_name%
  26.  
  27. # Default command when shelling to OS
  28.  
  29. #shell          vc.com
  30.  
  31. # (OS/2 only!!) Clipboard server (insert here it's full path, just not to mess it
  32. # with another clipserv.exe -- there are a lot of them outthere.
  33. # Ours is comaptible with FTE's one, by Marko Macek <Marko.Macek@snet.fer.uni-lj.si>
  34.  
  35. #clipserv       c:\\bin\\clipserv.exe
  36. #clipserv       clipserv.exe
  37.  
  38. # Terminal history size
  39.  
  40. historysz       400
  41.  
  42. # Run mouse support
  43.  
  44. mouse
  45.  
  46. # Don't send extended scancodes (without "map xxx yyy")
  47.  
  48. #nofx
  49.  
  50. #
  51.  
  52. nl-only
  53.  
  54. # Send debugging output for TELNET protocol to this console
  55.  
  56. #debug-TELNET   10
  57. #debug-TELNET   1
  58.  
  59.  
  60. # Emulate italic (ESC[3m) using this color
  61.  
  62. italic          0x0f
  63.  
  64. # Emulate underscore (ESC[4m) using this color
  65.  
  66. underscore      0x70
  67.  
  68. # User can enter terminal history using (default) alt+pgup, and than return
  69. # to the normal processing by pressing any key. Uncomment `transparent-scrolls'
  70. # if you whant this key to be sent to remote.
  71.  
  72. #transparent-scrolls
  73.  
  74. # Load a table for remote-to-local(and local-to-remote) charset translation
  75. # (The table commented out will be created from the other)
  76.  
  77. remote-to-local KOI8-ALT
  78. #local-to-remote D:/MPTN/etc/ALT-KOI8
  79.  
  80. # Exit telnet/Close current session/Shell to OS/Show statistics/
  81. # Toggle readable escapes/CLS, reset colors/
  82. # Toggle client-server charset translation/Send a command/etc.
  83. #
  84. # key   <scancode>      <command>       <comment1>      <comment2>
  85. #       --------------- --------------- --------------- ---------------------
  86.  
  87. #key     \3              ip
  88. #key     \8              ec
  89. key     \0\x02e         send            alt+c           "Send a special char"
  90. key     \0\x01f         stat            alt+s           "Show statistics"
  91. key     \0\x020         debug           alt+d           "Toggle ANSI debugging"
  92. key     \0\x026         xlat            alt+l           "Toggle remote-to-local charset translation"
  93. key     \0\x013         rANSI           alt+r           "Clear screen, reset ANSI driver"
  94. key     \0\x099         scroll-up       alt+pgup/pgdn   "Scroll up/down console's history"
  95. key     \0\x0a1         scroll-dn
  96. key     \0\x019         paste           alt+p/shift+ins "Paste from the system clipboard"
  97. key     \0\x018         shell           alt+o           "Run subshell"
  98. key     \0\x010         close           alt+q           "Close current session"
  99. key     \0\x02d         exit            alt+x           "Exit"
  100. #alt-h == help
  101. key     \0\x023         help            ""              ""
  102.  
  103. # [Ctrl+]Alt+F1 ... F10 to switch sessions
  104.  
  105. key     \0\x068         vt1             "alt+F1...F10"  "Switch to the 1st...10th virtual terminal"
  106. key     \0\x069         vt2
  107. key     \0\x06a         vt3
  108. key     \0\x06b         vt4
  109. key     \0\x06c         vt5
  110. key     \0\x06d         vt6
  111. key     \0\x06e         vt7
  112. key     \0\x06f         vt8
  113. key     \0\x070         vt9
  114. key     \0\x071         vt0
  115.  
  116. # Key mappings.
  117. #
  118. # map <local scancode>  <remote ANSI seq>       [evrthng here'll be ignored]
  119. #      ---------------  -----------------       ----------------------------
  120.  
  121. #map    \E              \E\E                    Esc
  122. map     \xd             \xd\xa
  123.  
  124. map     \0\x03B         \E[M                    F1
  125. map     \0\x03C         \E[N                    F2
  126. map     \0\x03D         \E[O                    F3
  127. map     \0\x03E         \E[P                    F4
  128. map     \0\x03F         \E[Q                    F5
  129. map     \0\x040         \E[R                    F6
  130. map     \0\x041         \E[S                    F7
  131. map     \0\x042         \E[T                    F8
  132. map     \0\x043         \E[U                    F9
  133. map     \0\x044         \E[V                    F10
  134. map     \0T             \EOp                    F1
  135. map     \0U             \EOq                    F2
  136. map     \0V             \EOr                    F3
  137. map     \0W             \EOs                    F4
  138. map     \0X             \EOt                    F5
  139. map     \0Y             \EOu                    F6
  140. map     \0Z             \EOv                    F7
  141. map     \0[             \EOw                    F8
  142. map     \0\\            \EOx                    F9
  143. map     \0]             \EOy                    F10
  144.  
  145. map     \x0\x048        \E[A                    Up
  146. map     \x0\x050        \E[B                    Down
  147. map     \x0\x04D        \E[C                    Right
  148. map     \x0\x04B        \E[D                    Left
  149. map     \x0\x98         \Ea\EOW\EA              Alt+Up
  150. map     \x0\xa0         \Ea\EOX\EA              Alt+Down
  151. map     \x0\x9D         \Ea\EOY\EA              Alt+Right
  152. map     \x0\x9B         \Ea\EOZ\EA              Alt+Left
  153.  
  154. map     \x0\x052        \E[L                    Ins
  155. map     \x0\x053        \E[C\177                Del
  156.  
  157. map     \x0\x049        \E[I                    PgUp
  158. map     \x0\x051        \E[G                    PgDown
  159. map     \x0\x047        \E[H                    Home
  160. #map    \x0\x04F        \E[Y                    End
  161. map     \x0\x04F        \E[F                    End
  162.