source: trunk/athena/etc/console/console.8 @ 12243

Revision 12243, 7.7 KB checked in by ghudson, 26 years ago (diff)
Move console sources here from athena/bin/dash/src/console, and autoconfiscate.
Line 
1.TH CONSOLE 8 "9 August 1991"
2.ds ]W MIT Project Athena
3.SH NAME
4console \- X console window
5.SH SYNOPSIS
6.nf
7console [-blink \fImilliseconds\fR] [-unmap \fIseconds\fR] [\(+-map]
8        [-global] [-nosession]
9.fi
10.SH DESCRIPTION
11The \fIconsole\fR program reads standard input and displays it
12in an X window on the screen.  It is intended to be started by \fIdm\fR with
13its input connected to the logical console for the workstation.  Its
14default behavior is to start up unmapped (not visible on the screen),
15reading its initial buffer contents from \fI/var/athena/console.log\fR.
16It will map itself (i.e. become visible on the screen) whenever
17there is new input.  The user may then click its "Hide"
18button to hide the window again until new input comes. 
19For other available behaviors, see below.
20.SH SIGNALS
21\fIConsole\fR takes the following signals, which are usually sent to
22it by \fIconfig_console\fR, \fIdm\fR, or \fInanny\fR:
23.TP 8
24.B SIGHUP
25On a hangup signal, \fIconsole\fR attempts to dump the contents
26of its text buffer to \fI/var/athena/console.log\fR, and then exits. (\fIDm\fR
27will then usually restart it.)
28.TP 8
29.B SIGFPE
30On an FPE signal, \fIconsole\fR zeroes its text buffer, attempts to
31zero \fI/var/athena/console.log\fR, and unmaps its window.
32.TP 8
33.B SIGUSR1
34On a USR1 signal, \fIconsole\fR maps its window.
35.TP 8
36.B SIGUSR2
37On a USR2 signal, \fIconsole\fR unmaps its window.
38.TP 8
39.B SIGBUS
40On a BUS signal, \fIconsole\fR dumps core.
41.SH OPTIONS
42\fIConsole\fR accepts a subset of the standard X Toolkit command line
43options, namely: -display, -geometry, -bg, -background, -bd,
44-bordercolor, -bw, -borderwidth, -fg, -foreground, -fn, -font, -name,
45\(+-rv, \(+-reverse, \(+-iconic, -icongeometry, -xrm. See X(1) for
46details on these options.
47
48\fIConsole\fR accepts five additional options:
49.TP 8
50.B \-blink \fImilliseconds\fR
51This option specifies the blink frequency in milliseconds of
52\fIconsole\fR's icon. If \fIconsole\fR is iconified, and its
53icon window is visible, it will blink its icon at this frequency
54when there is new output to be displayed, rather than mapping
55itself. The default frequency is 1000 milliseconds (1 second).
56The minimum frequency is 100 milliseconds.
57.TP 8
58.B \-unmap \fIseconds\fR
59If this option is specified and nonzero, \fIconsole\fR will
60automatically unmap itself after this many seconds of no output.
61"-unmap 10" for example will cause the window to disappear
62by itself 10 seconds after it appears with new input, saving the user
63from continually having to click the "Hide" button while working.
64.TP 8
65.B \(+-map
66This option specifies whether the console window should start up mapped
67(visible).  -map causes the window to start mapped, +map causes
68\fIconsole\fR to wait until there is input before mapping the window on
69the screen.  Starting unmapped is the default.
70.TP 8
71.B \-global
72When specified, this option causes \fIconsole\fR to place a
73_SGI_DESKS_HINTS property on its window, with the contents
74_SGI_DESKS_ALWAYS_GLOBAL. This is only useful when the console
75window is running with SGI's 4Dwm window manager, where it will
76cause the console to appear on all desks (if desks are in use).
77.TP 8
78.B \-nosession
79This option causes \fIconsole\fR not to place a WM_COMMAND property
80on its window. This is needed to prevent session managers
81(such as SGI's 4Dwm window manager) from attempting to start up \fIconsole\fR
82themselves when it is being used as the system console window.
83.SH X RESOURCES
84Since \fIconsole\fR is normally started up before the user's resources
85have been read into the server, it does not have the chance to read the
86user's preferences.  If the user wishes \fIconsole\fR to use her
87resources, she may run the program \fIconfig_console\fR. See the man
88page for \fIconfig_console\fR for more information.
89
90\fIConsole\fR understands the following resources:
91.TP 8
92.B *foreground
93This is the same as the -fg option.
94.TP 8
95.B *background
96This is the same as the -bg option.
97.TP 8
98.B *reverseVideo
99This is the same as the \(+-rv option. Specify True or False.
100.TP 8
101.B *font
102This is the same as the -fn option.
103.TP 8
104.B *borderWidth
105This is the same as the -bw option.
106.TP 8
107.B *borderColor
108This is the same as the -bd option.
109.TP 8
110.B Console*window.geometry
111This is the same as the -geometry option.
112.TP 8
113.B Console*iconWindow.geometry
114This is the same as the -icongeometry option.
115.TP 8
116.B Console*frequency
117This is the same as the -blink option.
118.TP 8
119.B Console*autoUnmap
120This is the same as the -unmap option.
121.TP 8
122.B Console*window.mapped
123This is the same as \(+-map. Specify True or False.
124.TP 8
125.B Console*window.iconic
126This is the same as \(+-iconic. Specify True or False.
127.TP 8
128.B Console*window.global
129This is the same as \-global. Specify True or False.
130.TP 8
131.B Console*window.showCommand
132This is the same as \-nosession (which sets this to False).
133.SH SELECTING TEXT
134Console provides the ability to select text from the window for "pasting"
135into other applications (xterm, emacs, etc.).  The method for "cutting"
136text closely emulates the behavior of xterm.
137.PP
138Mouse-buttons one and three are used to select text.  Move the
139mouse-pointer to the beginning of the region you wish to select.  Press
140and hold down button one, and drag the mouse to the end of the region
141you wish to select, and release button one.  The current selection will
142be highlighted as you drag the mouse.
143.PP
144Alternatively, you can set the beginning of the region by clicking
145mouse-button one and then using mouse-button three to extend the
146selection.
147.PP
148Mouse-button three "extends" the current selection.  The selection is
149expanded or contracted from the edge closest to the mouse-pointer.
150Holding down the mouse-button while extending the selection allows you
151to "drag" out an extension.
152.PP
153Text can be selected in one of five "modes".  Clicking the mouse button
154rapidly cycles through the modes.  Double-clicking selects by words.
155Triple-clicking selects by lines.  Quad-clicking selects by paragraph,
156where a paragraph break is defined by a blank line.  Quint-clicking
157selects the entire text of the console.
158.SH USING THE SCROLLBAR
159The scrollbar thumb (the white rectangle over a gray background)
160displays the range of text visible in relation to the total amount of
161text in the console.
162.PP
163Clicking button one in the scroll-region scrolls the text up by the
164number of lines above the pointer.  That is, the closer the the pointer
165is to the bottom of the scroll region, the more the text will scroll.
166.PP
167Clicking button three in the scroll-region scrolls the text down by the
168number of lines above the pointer, in the same way that button one
169scrolls up.
170.PP
171Clicking button two in the scroll-region scrolls the console to the place
172in the text that corresponds to the pointer's position in the scrollbar.
173The thumb may be "dragged" by pressing mouse-button two in the
174scroll-region and moving the mouse while the mouse-button is
175depressed.
176.SH FILES
177.PP
178/var/athena/console.log    console log file
179.br
180/etc/athena/login/Console  application defaults
181.br
182/var/athena/console.pid    pid of console, if started by \fIdm\fR
183.SH "SEE ALSO"
184X(1), config_console(1), show_console(1), hide_console(1), dm(8), nanny(8),
185xrdb(1)
186.SH "BUGS"
187\fIConsole\fR may sometimes unmap its window (if -unmap is specified)
188while you are reading it.  Moving the scrollbar before the specified timeout
189will prevent this.
190
191\fIConsole\fR should provide more control over its mapping and blinking
192icon abilities.
193
194Variable-width fonts are not supported.
195
196Quad-clicking effectively selects the entire console text, since it all
197appears to be one paragraph; the time-stamping at the beginning of each
198line leaves no blank lines, thus the entire text is one paragraph.
199.SH AUTHORS
200Craig Fields and Chris VanHaren, MIT Project Athena
201.br
202Copyright (c) 1990-1995 Massachusetts Institute of Technology
Note: See TracBrowser for help on using the repository browser.