These directives apply to TCC command line editing. They are in effect whenever TCC requests input from the keyboard, including during command line editing and the DESCRIBE, ESET, INPUT, LIST, QUERYBOX, and SELECT commands. You can redefine the keys using the TCC OPTION / Keyboard dialog. The key directives are saved in the [Keys] section in TCMD.INI.
Directive |
Default |
Description |
AliasExpand |
Ctrl-W |
Expand all aliases on the command line |
ArgLeft |
Alt-Shift-Left |
Move the cursor left to the previous argument |
ArgRight |
Alt-Shift-Right |
Move the cursor right to the next argument |
Backspace |
Backspace |
Delete the character to the left of the cursor |
BeginLine |
Home |
Move the cursor to the start of the line |
CommandEscape |
Alt-255 |
Do not interpret the next keystroke as an editing key |
Del |
Del |
Delete the character at the cursor |
DelArgLeft |
Ctrl-Alt-L |
Delete the argument to the left of the cursor |
DelArgRight |
Ctrl-Alt-R |
Delete the argument to the right of the cursor |
DelToBeginning |
Ctrl-Home |
Delete from the cursor to the start of the line |
DelToEnd |
Ctrl-End |
Delete from the cursor to the end of the line |
DelWordLeft |
Ctrl-L |
Delete the word to the left of the cursor |
DelWordRight |
Ctrl-R |
Delete the word to the right of the cursor |
EndLine |
End |
Move the cursor to the end of the line |
EraseLine |
Esc |
Delete the entire line |
ExecLine |
Enter |
Execute or accept a line |
Help |
F1 |
Display the Help topic for the current command |
HelpWord |
Ctrl-F1 |
Display the Help topic for the word at the cursor |
Ins |
Ins |
Toggle insert / overstrike mode |
Left |
Left |
Move the cursor left one character on the input line |
PrevArgument |
Ctrl-B |
Recall the last argument from the previous command line |
Redo |
Alt-Y |
Redo the last Undo |
Right |
Right |
Move the cursor right one character on the input line |
Undo |
Alt-Z |
Undo the last edit |
VariableExpand |
Ctrl-X |
Expand variables on the entire command line |
VariableExpandWord |
Ctrl-Shift-X |
Expand variables for the current word |
WordLeft |
Ctrl-Left |
Move the cursor left one word |
WordRight |
Ctrl-Right |
Move the cursor right one word |