
SunOS 5.5 Devices wscons(7D)
If more than the required number of parameters is supplied, only the last n are used,
where n is the number required by that particular command character. Also, parameters
which are omitted or set to zero are reset to the default value of 1 (except as noted
below).
Consider, for example, the command character M which requires one parameter. ESC[;M
and ESC[0M and ESC[M and ESC[23;15;32;1M are all equivalent to ESC[1M and provide a
parameter value of 1. Note: ESC[;5M (interpreted as ‘ESC[5M’) is not equivalent to
ESC[5;M (interpreted as ‘ESC[5;1M’) which is ultimately interpreted as ‘ESC[1M’).
In the syntax descriptions below, parameters are represented as ‘#’or‘#1;#2’.
SPARC: ANSI
Control Functions
The following paragraphs specify the ANSI control functions implemented by the Sun
console. Each description gives:
the control sequence syntax
the hex equivalent of control characters where applicable
the control function name andANSI or Sun abbreviation (if any).
description of parameters required, if any
description of the control function
for functions which set a mode, the initial setting of the mode. The initial set-
tings can be restored with theSUNRESET escape sequence.
SPARC: Control
Character Functions
CTRL-G (0x7) Bell (BEL)
The Sun Workstation Model 100 and 100U is not equipped with an audible bell.
It ‘rings the bell’by flashing the entire screen. The window system flashes the
window. The screen will also be flashed on current models if the Sun keyboard
is not the console input device.
CTRL-H (0x8) Backspace (BS)
The cursor moves one position to the left on the current line. If it is already at the
left edge of the screen, nothinghappens.
CTRL-I (0x9) Tab (TAB)
The cursor moves right on the current line to the next tab stop. The tab stops are
fixed at every multiple of 8 columns. If the cursor is already at the right edge of
the screen, nothinghappens; otherwise the cursor moves right a minimum of one
and a maximum of eight character positions.
CTRL-J (0xA) Line-feed (LF)
The cursor moves down one line, remaining at the same character position on the
line. If the cursor is already at the bottom line, the screen either scrolls up or
‘‘wraps around’’ depending on the setting of an internalvariable S (initially1)
which can be changed by the ESC[r control sequence. If S is greater than zero,
the entire screen (including the cursor) is scrolled up by S lines before executing
the line-feed. The top S lines scroll off the screen and are lost.
S new blank lines scroll onto the bottom of the screen. After scrolling, the line-
feed is executed by moving the cursor down one line.
modified 11 Nov 1993 7D-401
Comentários a estes Manuais