VSS CLIENT CONNECTION
FEBRUARY, 2000
TECHNICAL TIP
EDITING TCL COMMANDS:
The
TCL editor uses the Update Processor (UP) to enter commands, so the TCL
editor commands are similar to the UP commands. A TCL command may be created and edited as if it were a
paragraph. Pressing a <Ctrl>+m or
<Return> key within the TCL command processes the entry. The TCL editor
is initially in the overtype mode. To
toggle between overtype and insert mode, type <Ctrl>+r. The following commands function the same in
the TCL editor as they do in UP. Refer
to the keyboard template provided later in this section.
<Ctrl>+
b Move cursor up one line
e Delete to end of sentence (command)
g Move cursor to end of sentences (command)
h Backspace and replaces character with space
i Go to next tab position on line
j Move cursor left
k Move cursor right
l Delete character
m Insert mode: processes the entry when the
cursor is at the end of a line; inserts a carriage
return/line feed when the cursor is within the
line
n Move cursor down one line
o Delete from cursor to end of word
r Toggle between overtype and insert modes
t Move cursor to beginning of command
u Move cursor to next word
w Insert single space
x Exit TCL command,
leaves just TCL prompt
y Move cursor back one word
TCL STACK:
When a command is entered
at the TCL prompt, the system saves the command in the TCL-stack file of the dm
account. In AP, your stack is not
terminal dependent. If you leave a
terminal without logging off, another user can use the terminal under your user
id. This causes the new user to
“step-on” the your stack. Changing any
part of a TCL command in the stack, causes that stack entry to be moved to the
top of the stack. This feature tends to
keep the stack compact. However, the
TCL stack does not have a maximum number of entries and can continue to grow
indefinitely. Therefore, from time to
time, the stack should be pruned either from TCL or by using the update command
to modify the actual stack item (u dm, tcl-stack,user.name). The following commands are used to move
through a stack and to retrieve and run previously entered commands.
<Ctrl> +
a Searches for the entered string
c p (Cut & Pop) Removes the current
TCL from its
present position; places it at the top of the stack
d Goes back to previous command in the stack
e If the cursor is on the first character, deletes the
entry from the stack &
displays the next
command down the stack; otherwise deletes to
the end of the command
f Goes forward to next command up in the stack
p Moves a duplicate copy of the current TCL
command at the current position in the stack to t
the top of the stack
x Clears the displayed command from the screen &
moves the pointer back to the top of the stack
z Goes to the command at the top of the stack
za Same as <Ctrl> + a but
searches to the top of
the stack