User`s guide
When a program calls Function 10 with an initialized buffer, Function 10 operates
as if the user had typed in the string. When Function 10 encounters the binary zero
terminator, it accepts input from the console. At this point, the user can edit the
initialized string or accept it as it is by pressing the RETURN key. However, if the
initialized string contains a return, CTRL-M, or a linefeed, CTRL-J, character, Func-
tion 10 returns to the calling program without giving the user the opportunity to edit
the string.
The level of console editing supported by Function 10 differs for the banked and
nonbanked versions of CP/M 3. Refer to the CPIM Plus (CPIM Version 3) Operating
System User's Guide for a detailed description of console editing. In the nonbanked
version, Function 10 recognizes the edit control characters summarized in Table 3-2.
Table 3-2. Edit Control Characters (Nonbanked CP/M 3)
Character -T Edit Control Function
rub/del Removes and echoes the last character; GENCPM can change
this function to CTRL-H
CTRL-C Reboots when at the beginning of line; the Console Mode can
disable this function
CTRL-E Causes physical end of line
CTRL-H Backspaces one character position; GENCPM can change this
function to rub/del
CTRL-J (Line-feed) terminates input line
CTRL-M (Return) terminates input line
CTRL-P Echoes console output to the list device
CTRL-R Retypes the current line after new line
CTRL-U Removes current line after new line
CTRL-X Backspaces to beginning of current line
3-13
BDOS Function Calls CP/M 3 Programmers Guide