Several features of TCC display popup windows. A popup window may be used to display filenames, recently-executed commands, recently-used directories, the results of an extended directory search, or a list created by the SELECT command or the @SELECT internal function.
Popup windows always display a list of choices and a cursor bar. You can move the cursor bar inside the window until you find the choice that you wish to make, then press the Enter key to select that item.
Navigation inside any popup window follows the conventions described below. Additional information on each specific type of popup window is provided where that window is discussed in detail.
The popup windows can be moved and resized, and will remember their position and size when recalled. You can also change the keys used in popup windows with key mapping directives.
Once a window is open, you can use these navigation keys to find the selection you wish to make:
Up Arrow | Move the selection bar up one line |
Down Arrow | Move the selection bar down one line |
Left Arrow | Scroll the display left 1 column, if it is a scrolling display (i.e. if it has a horizontal scrollbar) |
Right Arrow | Scroll the display right 1 column, if it is a scrolling display (i.e. if it has a horizontal scrollbar) |
PgUp | Scroll the display up one page |
PgDn | Scroll the display down one page |
Home | Go to the beginning of the list |
End | Go to the end of the list |
Esc | Close the window without making a selection |
Enter | Select the current item and close the window |
Ctrl-E | Edit the current selection |
Ctrl-D | Delete the current selection |
Note: The keystrokes shown above are the defaults values. See Key Mapping Directives for details on how to assign different keystrokes.
All of the popup windows have an edit control on the toolbar. Entering a search string there (or just typing while the popup window has focus) will eliminate non-matching entries from the window. The search string can also contain wildcards or regular expressions. If the string doesn't contain any wildcards or a leading :: (for a regular expression), TCC will append a * to the string (to match any line beginning with the string. For example, entering *jpsoft in the edit control at the top of the window will select all matching lines that contain "jpsoft" anywhere.
The TCC popup windows can optionally use character-mode windows instead of GUI windows. This is intended for use with server consoles that are character-mode only, or when using SSH with no GUI support; there is no benefit (and several disadvantages) in using this option for normal non-server environments. See the TCMD.INI ConsolePopupWindows directive.