Nortel Networks 3395A Manual De Usuario

Descargar
Página de 129
The User Interface
893-386-B
2-3
The following example shows how to use the command line recall and editing features.  Suppose that you
enter the following command, which contains a typographical error:
TS3395> shw port characteristics
The terminal server would not accept the command because you spelled SHOW incorrectly.  Instead of
retyping the whole command line, however, you could use the up-arrow key or <CTRL><B> to recall the
incorrect command and then edit it:
TS3395> 
TS3395> shw port characteristics
The cursor appears at the end of the command line.  Next, type <CTRL><H> to move the cursor to the
beginning of the command line.  Press the right-arrow key (or type <CTRL><F>) so that the cursor is
under the letter W in SHW.  Type <CTRL><A> to enter insert mode, and then add the letter O to spell
SHOW.  Press the <Return> key to enter the correct command.
Assigning Session Management Functions to Keyboard
Characters
The terminal server supports several session management functions that you can assign to character
sequences with the SET PORT command.  Two types of session management functions are available:
general session switching and Telnet session management.  Session management characters are very useful
because you can gain access to them from within sessions, rather than entering the equivalent commands
from the TS3395> prompt.
The terminal server has no predefined characters for session management, as it has for command line editing
characters.  Unless the network manager has already defined them for your port, you must define them
yourself.  The SHOW PORT CHARACTERISTICS command displays the current session management
characters.
You can assign session management functions to individual characters, or to control character sequences,
such as several of the editing characters.  To use a character this way, you press the control key and the
character simultaneously.  When you assign session management functions to control character sequences,
you can still use the individual character without the control character, such as in a text string.  When you
do, the terminal server does not execute the session management function.
You can assign session management functions to the alphabet characters (except I, J, and M), with or
without the <Control> key, that do not already have editing functions assigned to them.  Table 2-1 shows
the default settings for the editing characters, and the SHOW PORT ALTERNATE CHARACTERISTICS
command displays the current settings for the editing characters.  Some other keyboard characters may be
available for use as control characters, including these: [   \   ]   ^   _   `   {   |   }   ~
This example shows how to assign the local switch function, which suspends an active session, to the
<CTRL><L> sequence.  Note that when you press the <Control> key at the TS3395> prompt, and then
press another character, the <Control> key appears as ^  .
TS3395> set port local switch  ^l
TS3395>