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