OAR

RTEMS GNU Tools On-Line Library


Readline Movement Commands

PREV UP NEXT Bookshelf GNU Readline Library

1.2.2: Readline Movement Commands

The above table describes the most basic possible keystrokes that you need in order to do editing of the input line. For your convenience, many other commands have been added in addition to C-B, C-F, C-D, and DEL. Here are some commands for moving more rapidly about the line.

C-A
Move to the start of the line.
C-E
Move to the end of the line.
M-F
Move forward a word, where a word is composed of letters and digits.
M-B
Move backward a word.
C-L
Clear the screen, reprinting the current line at the top.

Notice how C-F moves forward a character, while M-F moves forward a word. It is a loose convention that control keystrokes operate on characters while meta keystrokes operate on words.


PREV UP NEXT Bookshelf GNU Readline Library

Packaging copyright © 1988-2000 OAR Corporation
Context copyright by each document's author. See Free Software Foundation for information.