| 1 |
.\" Copyright 1994, 1998 The Open Group |
| 2 |
.\" |
| 3 |
.\" Permission to use, copy, modify, distribute, and sell this software and its |
| 4 |
.\" documentation for any purpose is hereby granted without fee, provided that |
| 5 |
.\" the above copyright notice appear in all copies and that both that |
| 6 |
.\" copyright notice and this permission notice appear in supporting |
| 7 |
.\" documentation. |
| 8 |
.\" |
| 9 |
.\" The above copyright notice and this permission notice shall be included in |
| 10 |
.\" all copies or substantial portions of the Software. |
| 11 |
.\" |
| 12 |
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 13 |
.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 14 |
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 15 |
.\" THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
| 16 |
.\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF |
| 17 |
.\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 18 |
.\" SOFTWARE. |
| 19 |
.\" |
| 20 |
.\" Except as contained in this notice, the name of The Open Group shall not |
| 21 |
.\" be used in advertising or otherwise to promote the sale, use or other |
| 22 |
.\" dealing in this Software without prior written authorization from the |
| 23 |
.\" The Open Group. |
| 24 |
.\" |
| 25 |
.\" |
| 26 |
.TH XCONSOLE 1 "xconsole 1.0.8" "X Version 11" |
| 27 |
.SH NAME |
| 28 |
xconsole \- monitor system console messages with X |
| 29 |
.SH SYNOPSIS |
| 30 |
.ta 8n |
| 31 |
\fBxconsole\fP [-\fItoolkitoption\fP ...] [-file \fIfile-name\fP] |
| 32 |
[-notify] [-stripNonprint] [-daemon] [-verbose] [-exitOnFail] |
| 33 |
.SH DESCRIPTION |
| 34 |
The |
| 35 |
.I xconsole |
| 36 |
program displays messages which are usually sent to /dev/console. |
| 37 |
.SH OPTIONS |
| 38 |
.I Xconsole |
| 39 |
accepts all of the standard X Toolkit command line options along with the |
| 40 |
additional options listed below: |
| 41 |
.TP 8 |
| 42 |
.B \-file \fIfile-name\fP |
| 43 |
To monitor some other device, use this option to specify the device name. |
| 44 |
This does not work on regular files as they are always ready to be read from. |
| 45 |
.TP 8 |
| 46 |
.B \-notify \-nonotify |
| 47 |
When new data are received from the console and the notify option is set, |
| 48 |
the icon name of the application has " *" appended, so that it is evident |
| 49 |
even when the application is iconified. \-notify is the default. |
| 50 |
.TP 8 |
| 51 |
.B \-daemon |
| 52 |
This option causes |
| 53 |
.I xconsole |
| 54 |
to place itself in the background, using fork/exit. |
| 55 |
.TP 8 |
| 56 |
.B \-verbose |
| 57 |
When set, this option directs |
| 58 |
.I xconsole |
| 59 |
to display an informative message in the first line of the text buffer. |
| 60 |
.TP 8 |
| 61 |
.B \-exitOnFail |
| 62 |
When set, this option directs |
| 63 |
.I xconsole |
| 64 |
to exit when it is unable to redirect the console output. |
| 65 |
.TP 8 |
| 66 |
.B \-saveLines \fIcount\fP |
| 67 |
When set, |
| 68 |
.I xconsole |
| 69 |
only preserves |
| 70 |
.I count |
| 71 |
lines of message history instead of growing the text buffer without bound |
| 72 |
(a |
| 73 |
.I count |
| 74 |
of zero \- the default \- is treated as placing no limit on the history). |
| 75 |
.SH X DEFAULTS |
| 76 |
This program uses the |
| 77 |
.I Athena Text |
| 78 |
widget, look in the |
| 79 |
.I Athena Widget Set |
| 80 |
documentation for controlling it. |
| 81 |
.PP |
| 82 |
.I Xconsole |
| 83 |
otherwise accepts resources of the same names as the command-line options |
| 84 |
(without the leading dash). "file" is a string type, "saveLines" an |
| 85 |
integer, and the remaining options are booleans. |
| 86 |
.SH WIDGETS |
| 87 |
In order to specify resources, it is useful to know the hierarchy of |
| 88 |
the widgets which compose \fIxconsole\fR. In the notation below, |
| 89 |
indentation indicates hierarchical structure. The widget class name |
| 90 |
is given first, followed by the widget instance name. |
| 91 |
.sp |
| 92 |
.nf |
| 93 |
XConsole xconsole |
| 94 |
XConsole text |
| 95 |
.fi |
| 96 |
.sp |
| 97 |
.SH ENVIRONMENT |
| 98 |
.PP |
| 99 |
.TP 8 |
| 100 |
.B DISPLAY |
| 101 |
to get the default host and display number. |
| 102 |
.TP 8 |
| 103 |
.B XENVIRONMENT |
| 104 |
to get the name of a resource file that overrides the global resources |
| 105 |
stored in the RESOURCE_MANAGER property. |
| 106 |
.SH FILES |
| 107 |
.TP |
| 108 |
.I /etc/X11/app-defaults/XConsole |
| 109 |
specifies required resources |
| 110 |
.SH "SEE ALSO" |
| 111 |
X(7), xrdb(1), Athena Text widget |
| 112 |
.SH AUTHOR |
| 113 |
Keith Packard (MIT X Consortium) |