1 04/15/16  Multics video system input editor requests
  2 
  3 Function: A process obtains input from a video terminal using
  4 the window_io_ I/O module (video system).  Each input line may
  5 optionally be saved in a USER.history file using the input_history
  6 command, with its input_history_ I/O module.
  7 
  8 The window_io_ real-time line editor provides a subset of Emacs
  9 requests for editing each input line as it is entered.
 10 
 11 
 12 List of video system input editor requests:
 13    The following list first gives the ASCII character
 14    and then the operation associated with that character.
 15 
 16 ^F
 17    Position the cursor one character forward.
 18 ^B
 19    Position the cursor one character backward.
 20 ESC F
 21    Position the cursor one word forward.
 22 
 23 
 24 ESC B
 25    Position the cursor one word backward.
 26 ^E
 27    Position the cursor to end of the line.
 28 ^A
 29    Position the cursor to beginning of the line.
 30 ^D
 31    Delete one character forward.
 32 DEL or #
 33    Delete one character backward.
 34 ESC D
 35    Delete one word forward.
 36 ESC DEL or ESC #
 37    Delete one word backward.
 38 
 39 
 40 ^K
 41    Delete from the cursor to end of line.
 42 @
 43    Delete from the cursor to the beginning of the line.
 44 ^Y
 45    Retrieve the last deleted characters or line.
 46 ESC Y
 47    Retrieve previously deleted characters or line.
 48 ^T
 49    Interchange the previous two characters with each other.
 50 ESC T
 51    Interchange the current (or last) word with the previous word.
 52 ^Q
 53    Accept the next character without treating it as an editor request.
 54 
 55 
 56 ^L
 57    Clear the window and redisplay the input line.
 58 ESC C
 59    Capitalize (only) the first character of the current (or last) word.
 60 ESC L
 61    Change the current (or last) word to lowercase.
 62 ESC U
 63    Change the current (or last) word to uppercase.
 64 ESC ?
 65    List valid editor request characters.
 66 
 67 
 68 List of input_history_ input editor requests:
 69 When the input_history_ I/O module is configured, several more
 70 requests are added to the input line editor.  For information, see
 71 "Notes on video editing" in: input_history_.info
 72 
 73 
 74 ^P
 75    Select the previous line in the USER.history file for editing.
 76 ^N
 77    Select the next line in the USER.history file for editing.
 78 ^R
 79    Perform an incremental search backward in the USER.history file,
 80    looking for a line that matches characters typed following ^R.
 81    Search ends by typing ESC: line can then be edited further; or by
 82    hitting RETURN: line is re-input as is.
 83 ^S
 84    Perform an incremental search forward in the USER.history file,
 85    looking for a line that matches characters typed following ^S.
 86    Search ends by typing ESC: line can then be edited further; or by
 87    hitting RETURN: line is re-input as is.
 88 
 89 
 90 List of numeric repetition pre-requests:
 91    Some requests may be preceded by a repetition count, which causes
 92    the request to be performed a given number of times.  A
 93    repetition count is entered by preceding the request with
 94    one or more of the following pre-requests.
 95 
 96 ESC n
 97    Where n is one or more numeric digits: enter a count of n.
 98    For example, ESC 100 enters a count of 100.
 99 ^U
100    Multiply the repetition count entered so far by 4.  If no count
101    has been entered, set the repetition count to 4.
102 
103 
104 Summary of cursor positioning requests and deletion requests:
105 
106                    | One character | One Word  | To Edge of Line|
107    ----------------|---------------|-----------|----------------|
108            | Right | Control-F     | ESC F     | Control-E      |
109     Move   |-------|---------------|-----------|----------------|
110     Cursor | Left  | Control-B     | ESC B     | Control-A      |
111    --------|-------|---------------|-----------|----------------|
112            | Right | Control-D     | ESC D     | Control-K      |
113     Delete |-------|---------------|-----------|----------------|
114            | Left  | DEL           | ESC DEL   | @              |
115            |       | or #          | or ESC #  |                |
116    --------------------------------------------------------------
117 
118 
119 Notes:
120 The ASCII characters given in the above list are the characters
121 associated with the corresponding functions by default. These
122 associations can be displayed with the command
123 
124   io_call control WINDOW_SWITCH get_editor_key_bindings key_sequence
125 
126 and may be changed with the command
127 
128   io_call control WINDOW_SWITCH set_editor_key_bindings
129     key_sequence1 {user_routine1} {control_args1} ...
130     key_sequenceN {user_routineN} {control_argsN}
131 
132 
133 
134 A "word" is a string of one or more consecutive "token characters".
135 The set of token characters may be displayed with the command
136 
137   io_call control WINDOW_SWITCH get_token_characters
138 
139 and may be changed with the command
140 
141   io_call control WINDOW_SWITCH set_token_characters TOKEN_CHAR_STRING
142 
143 Type "help window_io_" for details about these commands.
144