summaryrefslogtreecommitdiff
path: root/usr/src/man/man7d/wscons.7d
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2011-10-03 04:36:40 -0700
committerYuri Pankov <yuri.pankov@nexenta.com>2011-10-03 04:36:40 -0700
commited22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab (patch)
tree3b2f488c4a03bda877119449bd63c01fa32aa6f2 /usr/src/man/man7d/wscons.7d
parentaf8dc4373b25cce2c0bbb80f24e791f99eccbb6f (diff)
downloadillumos-gate-ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab.tar.gz
1502 Remove conversion cruft from manpages
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Garrett D'Amore <garrett.damore@gmail.com>
Diffstat (limited to 'usr/src/man/man7d/wscons.7d')
-rw-r--r--usr/src/man/man7d/wscons.7d118
1 files changed, 8 insertions, 110 deletions
diff --git a/usr/src/man/man7d/wscons.7d b/usr/src/man/man7d/wscons.7d
index 42870432ce..f01075e356 100644
--- a/usr/src/man/man7d/wscons.7d
+++ b/usr/src/man/man7d/wscons.7d
@@ -3,13 +3,13 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH wscons 7D "26 May 2006" "SunOS 5.11" "Devices"
+.TH WSCONS 7D "May 26, 2006"
.SH NAME
wscons \- workstation console
.SH SYNOPSIS
.LP
.nf
-\fB#include <sys/strredir.h>\fR
+\fB#include <sys/strredir.h>\fR
.fi
.LP
@@ -46,24 +46,20 @@ The ioctls described below control the redirection facility. In both cases,
console) and \fItarget\fR is a descriptor for a STREAMS device.
.sp
.ne 2
-.mk
.na
\fB\fBSRIOCSREDIR\fR\fR
.ad
.RS 16n
-.rt
Designates \fItarget\fR as the source and destination of I/O ostensibly
directed to the device denoted by \fIfd\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSRIOCISREDIR\fR\fR
.ad
.RS 16n
-.rt
Returns 1 if \fItarget\fR names the device currently acting as proxy for the
device denoted by \fIfd\fR, and 0 if it is not.
.RE
@@ -137,7 +133,7 @@ Other \fBANSI\fR control sequences are of the form:
.sp
.in +2
.nf
-ESC [ \fIparams char\fR
+ESC [ \fIparams char\fR
.fi
.in -2
@@ -150,34 +146,28 @@ given sequence without the intervening spaces.
.RE
.sp
.ne 2
-.mk
.na
\fBESC\fR
.ad
.RS 10n
-.rt
\fBASCII\fR escape character (\fBESC, CTRL-[, 0x1B\fR).
.RE
.sp
.ne 2
-.mk
.na
\fB[\fR
.ad
.RS 10n
-.rt
Left square bracket `[' (\fB0x5B)\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIparams\fR\fR
.ad
.RS 10n
-.rt
Sequence of zero or more decimal numbers made up of digits between 0 and 9,
separated by semicolons. Parameters are represented by \fIn\fR in the syntax
descriptions for escape sequence functions.
@@ -185,12 +175,10 @@ descriptions for escape sequence functions.
.sp
.ne 2
-.mk
.na
\fB\fIchar\fR\fR
.ad
.RS 10n
-.rt
Function character, which is different for each control sequence and it
represented by \fIx\fR in the syntax descriptions for control character
functions.
@@ -202,45 +190,37 @@ In the following examples of syntactically valid escape sequences, \fBESC
\fRrepresent the single \fBASCII\fR character, Escape:
.sp
.ne 2
-.mk
.na
\fBESC[m\fR
.ad
.RS 22n
-.rt
Select graphic rendition with default parameter
.RE
.sp
.ne 2
-.mk
.na
\fBESC[7m\fR
.ad
.RS 22n
-.rt
Select graphic rendition with reverse image
.RE
.sp
.ne 2
-.mk
.na
\fBESC[33;54H\fR
.ad
.RS 22n
-.rt
Set cursor position
.RE
.sp
.ne 2
-.mk
.na
\fBESC[123;456;0;;3;B\fR
.ad
.RS 22n
-.rt
Move cursor down
.RE
@@ -313,7 +293,6 @@ initial settings, use the \fBSUNRESET\fR escape sequence.
The \fBwscons \fRcontrol character functions are:
.sp
.ne 2
-.mk
.na
\fBBell (BEL),\fR
.ad
@@ -326,7 +305,6 @@ The \fBwscons \fRcontrol character functions are:
\fB0x7\fR
.ad
.RS 22n
-.rt
Used for consoles that are not equipped with an audible bell. Current Sun
workstation models also flash the screen if the keyboard is not the console
input device.
@@ -334,7 +312,6 @@ input device.
.sp
.ne 2
-.mk
.na
\fBBackspace (BS),\fR
.ad
@@ -347,14 +324,12 @@ input device.
\fB0x8\fR
.ad
.RS 22n
-.rt
The cursor moves one position to the left on the current line. If it is
already at the left edge of the screen, no change takes place.
.RE
.sp
.ne 2
-.mk
.na
\fBTab (TAB),\fR
.ad
@@ -367,7 +342,6 @@ already at the left edge of the screen, no change takes place.
\fB0x9\fR
.ad
.RS 22n
-.rt
The cursor moves right on the current line to the next tab stop. The tab stops
are fixed at every multiple of eight columns. If the cursor is already at the
right edge of the screen, nothing change takes place. Otherwise, the cursor
@@ -376,7 +350,6 @@ moves right a minimum of one and a maximum of eight character positions.
.sp
.ne 2
-.mk
.na
\fBLine-feed (LF),\fR
.ad
@@ -389,7 +362,6 @@ moves right a minimum of one and a maximum of eight character positions.
\fB0xA\fR
.ad
.RS 22n
-.rt
The cursor, while remaining at the same character position on the line, moves
down one line. If the cursor is at the bottom line, the screen either scrolls
up or wraps around depending on the setting of an internal variable \fIn\fR
@@ -422,7 +394,6 @@ text, this results in faster scrolling
.sp
.ne 2
-.mk
.na
\fBReverse Line-feed,\fR
.ad
@@ -435,7 +406,6 @@ text, this results in faster scrolling
\fB0xB\fR
.ad
.RS 22n
-.rt
With kernel terminal emulator (while remaining at the same character position
on the line), the cursor moves down one line. However, with PROM based
emulator (while remaining at the same character position on the line), the
@@ -445,7 +415,6 @@ change takes place.
.sp
.ne 2
-.mk
.na
\fBForm-feed (FF)\fR
.ad
@@ -458,14 +427,12 @@ change takes place.
\fB0xC\fR
.ad
.RS 22n
-.rt
The cursor is positioned to the home position (upper-left corner) and the
entire screen is cleared.
.RE
.sp
.ne 2
-.mk
.na
\fBReturn (CR),\fR
.ad
@@ -478,7 +445,6 @@ entire screen is cleared.
\fB0xD\fR
.ad
.RS 22n
-.rt
The cursor moves to the leftmost character position on the current line.
.RE
@@ -488,7 +454,6 @@ The cursor moves to the leftmost character position on the current line.
The \fBwscons \fRescape sequence functions are:
.sp
.ne 2
-.mk
.na
\fBEscape (ESC),\fR
.ad
@@ -507,7 +472,6 @@ The escape character. Escape initiates a multi-character control sequence.
.sp
.ne 2
-.mk
.na
\fBInsert Character (ICH)\fR
.ad
@@ -526,7 +490,6 @@ the line and are lost. The position of the cursor is unchanged.
.sp
.ne 2
-.mk
.na
\fBCursor Up (CUU),\fR
.ad
@@ -544,7 +507,6 @@ cursor on the line is unchanged.
.sp
.ne 2
-.mk
.na
\fBCursor Down (CUD),\fR
.ad
@@ -562,7 +524,6 @@ the line is unchanged.
.sp
.ne 2
-.mk
.na
\fBCursor Forward (CUF),\fR
.ad
@@ -580,7 +541,6 @@ rightmost position on the current line.
.sp
.ne 2
-.mk
.na
\fBCursor Backward (CUB),\fR
.ad
@@ -598,7 +558,6 @@ leftmost position on the current line.
.sp
.ne 2
-.mk
.na
\fBCursor Next Line (CNL),\fR
.ad
@@ -616,7 +575,6 @@ positions the cursor at the leftmost character position on the bottom line.
.sp
.ne 2
-.mk
.na
\fBHorizontal and Vertical Position (HVP),\fR
.ad
@@ -631,7 +589,6 @@ or
.sp
.ne 2
-.mk
.na
\fBCursor Position (CUP),\fR
.ad
@@ -652,7 +609,6 @@ the specified line.
.sp
.ne 2
-.mk
.na
\fBErase in Display (ED),\fR
.ad
@@ -669,7 +625,6 @@ the current line. The cursor position is unchanged.
.sp
.ne 2
-.mk
.na
\fBErase in Line (EL),\fR
.ad
@@ -685,7 +640,6 @@ end of the current line. The cursor position is unchanged.
.sp
.ne 2
-.mk
.na
\fBInsert Line (IL),\fR
.ad
@@ -705,7 +659,6 @@ screen is unchanged.
.sp
.ne 2
-.mk
.na
\fBDelete Line (DL),\fR
.ad
@@ -725,7 +678,6 @@ the cursor on the screen is unchanged.
.sp
.ne 2
-.mk
.na
\fBDelete Character (DCH),\fR
.ad
@@ -745,7 +697,6 @@ unchanged.
.sp
.ne 2
-.mk
.na
\fBSelect Graphic Rendition (SGR),\fR
.ad
@@ -763,23 +714,19 @@ of this escape sequence in the data stream. With PROM-based emulator, only two
graphic renditions are defined:
.sp
.ne 2
-.mk
.na
\fB0\fR
.ad
.RS 5n
-.rt
Normal rendition
.RE
.sp
.ne 2
-.mk
.na
\fB7\fR
.ad
.RS 5n
-.rt
Negative (reverse) image
.RE
@@ -792,177 +739,145 @@ In addition to the two renditions mentioned above, the following\fI ISO
emulator:
.sp
.ne 2
-.mk
.na
\fB30\fR
.ad
.RS 6n
-.rt
black foreground
.RE
.sp
.ne 2
-.mk
.na
\fB31\fR
.ad
.RS 6n
-.rt
red foreground
.RE
.sp
.ne 2
-.mk
.na
\fB32\fR
.ad
.RS 6n
-.rt
green foreground
.RE
.sp
.ne 2
-.mk
.na
\fB33\fR
.ad
.RS 6n
-.rt
brown foreground
.RE
.sp
.ne 2
-.mk
.na
\fB34\fR
.ad
.RS 6n
-.rt
blue foreground
.RE
.sp
.ne 2
-.mk
.na
\fB35\fR
.ad
.RS 6n
-.rt
magenta foreground
.RE
.sp
.ne 2
-.mk
.na
\fB36\fR
.ad
.RS 6n
-.rt
cyan foreground
.RE
.sp
.ne 2
-.mk
.na
\fB37\fR
.ad
.RS 6n
-.rt
white foreground
.RE
.sp
.ne 2
-.mk
.na
\fB40\fR
.ad
.RS 6n
-.rt
black background
.RE
.sp
.ne 2
-.mk
.na
\fB41\fR
.ad
.RS 6n
-.rt
red background
.RE
.sp
.ne 2
-.mk
.na
\fB42\fR
.ad
.RS 6n
-.rt
green background
.RE
.sp
.ne 2
-.mk
.na
\fB43\fR
.ad
.RS 6n
-.rt
brown background
.RE
.sp
.ne 2
-.mk
.na
\fB44\fR
.ad
.RS 6n
-.rt
blue background
.RE
.sp
.ne 2
-.mk
.na
\fB45\fR
.ad
.RS 6n
-.rt
magenta background
.RE
.sp
.ne 2
-.mk
.na
\fB46\fR
.ad
.RS 6n
-.rt
cyan background
.RE
.sp
.ne 2
-.mk
.na
\fB47\fR
.ad
.RS 6n
-.rt
white background
.RE
@@ -970,7 +885,6 @@ white background
.sp
.ne 2
-.mk
.na
\fBBlack On White (SUNBOW),\fR
.ad
@@ -991,7 +905,6 @@ set black-on-white.
.sp
.ne 2
-.mk
.na
\fBWhite On Black (SUNWOB),\fR
.ad
@@ -1012,7 +925,6 @@ white-on-black.
.sp
.ne 2
-.mk
.na
\fBESC[#r\fR
.ad
@@ -1040,7 +952,6 @@ control function above.
.sp
.ne 2
-.mk
.na
\fBESC[s\fR
.ad
@@ -1068,69 +979,57 @@ accordingly.
.SH ERRORS
.sp
.ne 2
-.mk
.na
\fB\fBEBADF\fR\fR
.ad
.RS 10n
-.rt
\fItarget\fR does not denote an open file.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOSTR\fR\fR
.ad
.RS 10n
-.rt
\fItarget\fR does not denote a \fBSTREAMS\fR device.
.RE
.SH FILES
.sp
.ne 2
-.mk
.na
\fB\fB/dev/wscons\fR\fR
.ad
.RS 16n
-.rt
Workstation console, accessed via the redirection facility
.RE
.sp
.ne 2
-.mk
.na
\fB\fB/dev/systty\fR\fR
.ad
.RS 16n
-.rt
Devices that must be opened for the \fBSRIOCSREDIR\fR and \fBSRIOCISREDIR\fR
ioctls.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB/dev/syscon\fR\fR
.ad
.RS 16n
-.rt
Access system console
.RE
.sp
.ne 2
-.mk
.na
\fB\fB/dev/console\fR\fR
.ad
.RS 16n
-.rt
Access system console
.RE
@@ -1142,13 +1041,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
.TE
.SH SEE ALSO