home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / ncsatlnt / tel23doc.zip / CHAP.3 < prev    next >
Text File  |  1991-07-01  |  14KB  |  373 lines

  1. 3.1    NCSA Telnet
  2.  
  3.  
  4. More About Managing Sessions    3.1
  5.  
  6.  
  7. National Center for Supercomputing Applications
  8.  
  9.  
  10. June 1991
  11.  
  12.                                                                 
  13.  
  14.  
  15.  
  16.  
  17. 3.1    NCSA Telnet
  18.  
  19. More About Managing Sessions    3.1
  20.  
  21. National Center for Supercomputing Applications    
  22.  
  23. June 1991
  24.  
  25.  
  26.  
  27. 6/30/91
  28.  
  29.  
  30.  
  31.  
  32. Chapter 3    More About Managing Sessions
  33.  
  34.  
  35.  
  36. Chapter Overview
  37. Keyboard Commands
  38. Using the Skip Command (ALT-S)
  39. Resetting the VT100 Screen (ALT-R)
  40. Aborting the Program (CTRL-SHIFT-F3)
  41. Escaping to DOS Shell (ALT-E)
  42. Parameter Menu
  43. Using Screen Text Colors
  44. Using Remote Echo and Local Echo
  45. Using the Backspace Key
  46. Changing the Session Name
  47. Changing the Terminal Type 
  48. Using Line Wrapping
  49. Using Output Mapping
  50. Changing the Capture Filename
  51. Using Screen Mode 
  52. Using File Transfer Mode
  53. Using Clock Mode
  54.  
  55. Chapter Overview
  56.  
  57. This chapter continues the discussion of multiple sessions and 
  58. describes more advanced aspects of the NCSA Telnet working 
  59. environment. The chapter explains how to reset the VT100 screen, 
  60. how to abort NCSA Telnet, the DOS shell feature, and the 
  61. Parameters menu options.
  62.  
  63.  
  64. Keyboard Commands
  65.  
  66. Using the Skip Command 
  67. (ALT-S)
  68. The skip command causes the screen to "skip ahead" over 
  69. scrolling text. The text is placed into the scrollback region, but the 
  70. screen update advances to the end of the local network buffer 
  71. instead of printing every line on the screen. This feature is useful 
  72. for quickly bypassing seemingly endless lines of output from 
  73. certain commands. To use the command, press ALT-S and the 
  74. screen will pause, then redraw at the end of the local buffer. ALT-S 
  75. won't solve all of the network buffering problems for interactive 
  76. use, but it should help. Capture to disk and scrollback commands 
  77. are not affected by the skip command.
  78.  
  79.  
  80. Resetting the VT100 Screen 
  81. (ALT-R)
  82. ALT-R clears and resets all modes associated with the current 
  83. virtual VT100 screen. Some host programs can accidentally set 
  84. graphics mode on or fail to leave graphics mode. By pressing 
  85. ALT-R, NCSA Telnet will override all VT100 mode settings 
  86. including the following:  turning off wrap mode, resetting 
  87. graphics mode, setting the keypad mode back to the default, and 
  88. resetting tabs to every eight spaces. After using ALT-R, you may 
  89. wish to set your terminal type again to allow the host to reset 
  90. whatever VT100 modes it needs.
  91.  
  92.  
  93. Aborting the Program 
  94. (CTRL-SHIFT-F3)
  95. If for some reason none of the current connections respond, 
  96. SCROLL LOCK is not on, and ALT-R and ALT-X do not appear to 
  97. have any effect, CTRL-SHIFT-F3 is a general abort command that 
  98. exits NCSA Telnet and returns you to DOS. If you do abort NCSA 
  99. Telnet with CTRL-SHIFT-F3, NCSA Telnet cannot notify the 
  100. host(s) that your session(s) are terminated. Your sessions are left 
  101. in an undetermined state. This situation can cause a variety of 
  102. problems for the host, because it cannot immediately determine 
  103. that the session has ended. For example, the programs may 
  104. continue to run on the host, even though you exited NCSA Telnet 
  105. with CTRL-SHIFT-F3.
  106.  
  107.  
  108. Escaping to DOS Shell 
  109. (ALT-E)
  110. Pressing ALT-E to escape to DOS preserves your connections while 
  111. you use the DOS command shell. You may use most DOS 
  112. commands and programs, including those which look at 
  113. directories, edit source files, or even compile programs. To return 
  114. to NCSA Telnet, you must enter the command exit at the DOS 
  115. prompt.
  116. During the escape to DOS, NCSA Telnet monitors the Ethernet for 
  117. incoming packets every one-half second. If you run other 
  118. programs which affect the Ethernet or the timer which NCSA 
  119. Telnet uses, your connections may be lost╤or worse╤your 
  120. computer may crash. The following programs are examples of 
  121. those which terminate the network handling of NCSA Telnet, 
  122. causing connections to be lost or DOS to crash:
  123.  
  124. Ñ    SideKick (it turns off timer processes, so it can cause lost 
  125. connections)
  126.  
  127. Ñ    All network programs (they reset the Ethernet board)
  128.  
  129. Ñ    NCSA Telnet (it is a network program)
  130.  
  131. Ñ    User FTP (it, too, is a network program)
  132.  
  133. Ñ    format, the DOS format utility for floppy disks
  134.  
  135. Ñ    FileCommand II
  136.  
  137. NOTE: Watch memory usage to prevent crashing. Also, 
  138. remember to exit DOS when you have finished your DOS activities.
  139.  
  140. Parameter Menu
  141.  
  142. Press ALT-P to display the Parameter menu options, which appear 
  143. on the screen as shown in Figure 3.1. These options control the 
  144. settings for text color, echo mode, backspace key, session name, 
  145. terminal type, capture file name, screen mode and file transfer 
  146. mode. You can change the fields that are shown in bold to different 
  147. values.
  148.  
  149. Figure 3.1    Parameter Menu
  150.  
  151. ALT-P                         Parameter menu
  152.    <      Select parameters, F1 to accept, F10 to leave unchanged      >
  153.  
  154.    --------------- Color setup and session parameters -----------------
  155.  Text:         normal    reverse   underline
  156.     Normal Foreground (nfcolor)    -    green
  157.     Normal Background (nbcolor)    -    black
  158.     Reverse Foreground (rfcolor)    -    black
  159.     Reverse Background (rbcolor)    -    white
  160.     Underline Foreground (ufcolor)    -    blue
  161.     Underline Background (ubcolor)    -    black
  162.     Use remote echo or local echo    -    Remote echo
  163.     Backspace key sends    -    Delete
  164.     Session name    *>    ahostname
  165.     Terminal type    -    VT102 and Tek4014
  166.     Line Wrapping    -    Wrapping On
  167.     Output Mapping    -    Mapping Off
  168.    -------------- Parameters which apply to all sessions --------------
  169.     Capture file name    *>    capfile
  170.   Screen mode (for BIOS compatibility)    Direct to screen
  171.     File transfer is    -    Enabled
  172.     Remote Copying is    -    Enabled
  173.     Clock is     Enabled
  174.  
  175.  
  176. Use arrow keys to select, Enter clears changeable field (*>)
  177.  
  178.  
  179. The up arrow, down arrow, HOME, and END keys allow you to 
  180. move the cursor from option to option. The left and right arrow 
  181. keys rotate through the allowed settings for each option. For each 
  182. field that you wish to change, move the cursor to that field and press 
  183. the left or right arrow until the desired value appears. After 
  184. changing all of the fields that you wish to change, press the F1 key 
  185. to return to your session with the changes in effect. If you make a 
  186. mistake, or decide that no changes are necessary, press ESC to 
  187. return to your session without any changes taking place.
  188.  
  189. There are two special fields, marked with the symbol *>, to 
  190. indicate that the present value may be changed by typing another. 
  191. To change one of these, place the cursor on top of the changeable 
  192. field and then press RETURN. The program blanks the field and 
  193. allows you to enter a new value. Press RETURN when you are 
  194. finished entering the new value. After you enter a new value, but 
  195. before you press F1, the old value still remains in memory and you 
  196. may use the left or right arrow keys to regain the old value.
  197.  
  198. Following are descriptions of the parameters you can set.
  199.  
  200.  
  201. Using Screen Text Colors
  202. Host programs expect to be able to control the attributes of 
  203. characters on the VT100 screen. Command codes are sent to your 
  204. PC to display characters in normal, reverse, underlined, 
  205. blinking, and bold attributes, or combinations of these. When 
  206. normal, reverse, and underline text are required, you have control 
  207. over which colors are used. When blink or bold attributes are 
  208. required, NCSA Telnet adds them to your selected colors.
  209.  
  210. For normal, reverse, and underlined characters, NCSA Telnet 
  211. gives you your choice of foreground and background colors, a total 
  212. of six settings. The color choices for a PC color video display are 
  213. black, blue, green, cyan, red, magenta, yellow, and white. The 
  214. foreground color command allows bright versions of these colors, 
  215. while the background color command allows users to set blinking 
  216. as an attribute. For each of the text modes, normal, reverse, and 
  217. underlined, use the Parameter menu to select the foreground and 
  218. background colors. As you change the selections, the sample text 
  219. on the fourth line of the screen provides an example of how the text 
  220. will appear in the VT100 emulation.
  221.  
  222. On monochrome screens, when you display a character in the color 
  223. blue, the PC produces a visible underline on the screen instead of 
  224. blue coloring.
  225.  
  226. Color screens do not have the visible underline capability and use 
  227. a visible blue color instead of underlining.
  228.  
  229. Bold and blinking attributes from the VT100 screen appear as bold 
  230. and blinking characters on the PC screen.
  231.  
  232.  
  233. Using Remote Echo and 
  234. Local Echo
  235. When the response time of the network is long (such as with 
  236. satellite transmission), you may want to buffer your keyboard 
  237. input locally, only sending characters to the host when you press 
  238. RETURN. This action is often referred to as a line mode or local 
  239. echo mode. The alternative to line mode is called character mode 
  240. or remote echo mode, where the local program immediately sends, 
  241. and remote host echoes, every character over the network.
  242.  
  243. In local echo mode, NCSA Telnet  buffers most characters typed at 
  244. the keyboard until you press RETURN, which sends the characters 
  245. to the host all in one packet. There are some exceptions to this rule.
  246.  
  247. Ñ    CTRL-U erases the local buffer.
  248.  
  249. Ñ    Backspace (CTRL-H) erases the most recent character added to 
  250. the local buffer.
  251.  
  252. Ñ    Tab (CTRL-I) forces NCSA Telnet to send the local buffer (with 
  253. the tab).
  254.  
  255. Ñ    All other control characters echo with a caret (e.g., ^A) and 
  256. force NCSA Telnet to send the local buffer with the control 
  257. character included.
  258. Ñ    Arrow keys and all other unprintable ASCII characters, the 
  259. escape character for example, force NCSA Telnet to send the 
  260. local buffer, with the character included.
  261.  
  262. Ñ    You cannot send a CTRL-U or Backspace to the host in line 
  263. mode.
  264.  
  265. Ñ    ALT keys and other local command keys are not affected by 
  266. local echo mode.
  267.  
  268. NOTE: For full screen editing, character mode (remote echo) is 
  269. necessary, so most hosts use this mode. When full screen editing 
  270. is not required, line mode may be more efficient.
  271.  
  272.  
  273. Using the Backspace Key
  274. NCSA Telnet automatically translates BACKSPACE keypresses 
  275. into DELETE codes, for compatibility with systems that prefer the 
  276. use of DELETE to BACKSPACE. If you find that your backspaces 
  277. are not being accepted, the host you are connected to may prefer the 
  278. reverse setting. To test this possibility, use the Parameter menu to 
  279. change the default translation so the BACKSPACE key functions 
  280. as backspace. If the result is that your backspaces are accepted, 
  281. then the host does prefer the BACKSPACE to DELETE. If you 
  282. require the reverse setting frequently, you or your system 
  283. administrator may want to permanently reset the backspace 
  284. function using the configuration file, as described in Chapter 7, 
  285. "Installation and Configuration."
  286.  
  287.  
  288. Changing the Session 
  289. Name
  290. The status line shows a 13-character session name for each active 
  291. session in the lower right-hand corner. For each session, the 
  292. machine name that you typed to initiate the first session displays 
  293. as the default name for successive sessions. The Parameter menu 
  294. allows you to change the status line name for the current session. 
  295. Press RETURN to clear the current entry and type in a new name. 
  296. Only the first 13 characters are used.
  297.  
  298.  
  299. Changing the Terminal 
  300. Type
  301. Generally, the default terminal type of VT100 with Tektronix 4014 
  302. is acceptable. Because specific cases may exist where you need to 
  303. force some restrictions on the way the terminal acts, you may want 
  304. to limit the amount of emulation that NCSA Telnet does. The three 
  305. choices of terminal types are: 
  306.  
  307. Ñ    VT100 terminal with Tektronix 4014 graphics
  308.  
  309. Ñ    VT100 only╤graphics commands ignored, but VT100 
  310. commands accepted
  311.  
  312. Ñ    Dumb terminal╤no VT100 codes or Tektronix codes 
  313. interpreted
  314.  
  315.  
  316. Using Line Wrapping
  317. If you enable the line wrapping feature, the text wraps when it 
  318. reaches the end of a line. Otherwise, the text piles up at the end of 
  319. the line.
  320.  
  321.  
  322. Using Output Mapping
  323. The output mapping function allows you to translate characters 
  324. from the host machine as the screen displays them. This function 
  325. is similar to keyboard mapping, except that keyboard mapping 
  326. works in reverse.
  327.  
  328.  
  329. Changing the Capture 
  330. Filename
  331. You can change the name of the current capture file in the 
  332. Parameter menu. Press RETURN to clear the current entry and 
  333. then enter your new filename. After changing the name of the 
  334. capture file, all subsequent ALT-C commands use the new capture 
  335. file. You can also change the name of the capture file 
  336. "permanently" in the configuration file (see Chapter 7, 
  337. "Installation and Configuration."). See Chapter 2, "Introduction 
  338. to Managing Sessions," for a description of capture file operations.
  339.  
  340.  
  341. Using Screen Mode (BIOS 
  342. Compatibility for 
  343. Windowing Packages)
  344. In the normal fast mode, writes are made directly to the screen for 
  345. increased speed; however, this mode is incompatible with 
  346. windowing packages like Topview or Microsoft Windows and 
  347. may cause snow on some screens. To avoid small problems, 
  348. developers have created a compatibility mode within NCSA Telnet 
  349. where IBM's BIOS calls are used for all access to the screen.
  350.  
  351. Usually, the windowing compatibility mode is set up in the 
  352. configuration file with the bios option. However, if a change is 
  353. needed once you are in the program, the Parameter menu option is 
  354. available.
  355.  
  356.  
  357. Using File Transfer Mode
  358. NCSA Telnet separates the file transfer mode into an option for 
  359. File Transfer Protocol (FTP) and an option for rcp. The 
  360. Parameter menu allows you to disable or enable file transfers. 
  361. When you select Disabled, neither FTP nor rcp is allowed. When 
  362. you select Enabled, the FTP and rcp servers are restarted. Chapter 
  363. 5, "File Transfer," contains more information on the file transfer 
  364. methods for NCSA Telnet. You or your system administrator can 
  365. set the default file transfer modes for FTP and rcp in the 
  366. configuration file (see Chapter 7, "Installation and 
  367. Configuration.").
  368.  
  369.  
  370. Using Clock Mode
  371. When you enable the clock mode option, NCSA Telnet displays a 
  372. digital clock in the corner of the screen.
  373.