X
56 Rate this article:
No rating

Internal: Reference for UNIX command line IDL/VT100 line edit keyboard shortcuts (not all apply to IDL)

Help Article Update 2

Anonym
Topic:
The following information provides command line VT100 UNIX terminal shell keyboard shortcuts. Some but not all of these keyboard shortcuts are useful with command line IDL sessions for UNIX platforms (Solaris, Linux, Mac). This information was obtained from the following web page URL:

http://how-to.wikia.com/wiki/How_to_use_short-cut_keys_in_xterm_and_other_terminals
"How to use short-cut keys in xterm and other terminals"
Discussion:

From: How To Wiki

How to use short-cut keys in xterm and other terminals


Xterm and other terminals through terminal control characters based on the type of terminal emulation. Commons terminal type are VT100...

Warning: most of these keystrokes are acquired experimentally, and have not been conferment in documentation.

Contents

* 1 XTerm - VT100
o 1.1 Clearing functions
o 1.2 Cursor movement
o 1.3 Other
* 2 See Also
* 3 References

1.) XTerm - VT100

Clearing functions
Keyboard Commands    Function

Ctrl-k    clear all characters after the cursor
Ctrl-w    clears word before the cursor. a word is set of characters separated by spaces
Ctrl-u    Clears all characters before the cursor
Ctrl-l    clear screen
Ctrl-d    deletes characters to the right of cursor, if no characters, logs out and closes terminal
Delete    deletes characters to the right of cursor (this may vary depending on settings)
Ctrl-h or Ctrl-8 or Ctrl-Shift-/    deletes characters to the left or the cursor
Backspace    deletes characters to the left or the cursor (this may vary depending on settings)
Ctrl-7 or Ctrl-Shift--    Removes a number? of characters from the end
ALT-Backspace    Removes words, not single chars. (same as CTRL+W)


Cursor movement
Keyboard Commands    Function

Ctrl-a or Home    returns cursor to Home
Ctrl-f    moves cursor right (forward)
Ctrl+e or End    Moves cursor to the end of the line
Crtl-b    movers cursor to the left (backward)
Ctrl-n    same as down arrow
Ctrl-p    same as up arrow


Other
Keyboard Commands    Function

Ctrl-m or Ctrl-j    carriage return
Ctrl-i    same as tab
Ctrl-e    Return Terminal Status ?
Ctrl-r    Search: Reverse search for previous commands matching the pattern entered
Ctrl-t    Switched the character before the cursor with the one under the cursor
Ctrl-y    Enters the command executed two lines before, without clearing the line of previous contents
Ctrl-o    Executes command without clearing the line
Ctrl-p    previous command
Ctrl-a    returns cursor to Home
Ctrl-s    locks terminal? (Ctrl-q unlocks it)
Ctrl-q    unlocks terminal? (Ctrl-s locks it)
Ctrl-f    moves cursor right (forward)
Ctrl-g    Bell (beep)
Ctrl-z    pauses process and places it in terminal background (resume with command 'fg')
Ctrl-x     ?
Ctrl-c    kill process
Ctrl-v    displays next typed characters (code?)
Crtl-b    movers cursor to the left (backward)
Ctrl-n    same a down arrow
Ctrl-/    undo: changes made to a previous command
Ctrl-[    similar to Tab but not the same


2.) See Also

* Howto configure xterm

3.) ReferencesEdit

* http://www.xfree86.org/current/ctlseqs.html
* Readline keyboard shortcuts Solution:
[Edit this field in the IDL-based Tech Tip Editor, v70]