ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/root-tail/root-tail.man
Revision: 1.17
Committed: Thu Apr 8 20:12:57 2004 UTC (22 years, 6 months ago) by pcg
Content type: application/x-troff-man
Branch: MAIN
Changes since 1.16: +6 -5 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 pcg 1.5 .TH ROOTTAIL 1 "2004-03-27" "Version 1.0"
2 pcg 1.1 .UC 5
3     .SH NAME
4     root-tail \- print text directly to X11 root window
5     .SH SYNOPSIS
6     .B root-tail
7 pcg 1.7 .RB [ \-g \|| --geometry
8 pcg 1.1 .IR GEOMETRY ]
9 pcg 1.7 .RB [ \-fn \|| --font
10 pcg 1.1 .IR FONTSPEC ]
11 pcg 1.7 .RB [ \--color
12 pcg 1.1 .IR color ]
13 pcg 1.7 .RB [ \--reload
14 pcg 1.1 .IR SEC
15     .IR COMMAND ]
16 pcg 1.7 .RB [ \--shade ]
17     .RB [ \--outline ]
18     .RB [ \--noflicker ]
19     .RB [ \-f \|| \--fork ]
20     .RB [ \--reverse ]
21     .RB [ \--whole ]
22     .RB [ \--partial ]
23     .RB [ \--update ]
24     .RB [ \--cont
25 chris_moore 1.3 .IR STRING ]
26 chris_moore 1.9 .RB [ \--wordwrap ]
27 chris_moore 1.13 .RB [ \--justify ]
28 pcg 1.7 .RB [ \--noinitial ]
29     .RB [ \--frame ]
30 chris_moore 1.9 .RB [ \-id
31     .IR ID ]
32 pcg 1.7 .RB [ \-i \|| \--interval
33 pcg 1.1 .IR SECONDS ]
34     .RB [ \-V ]
35     file1[,color[,desc]]
36     [file2[,color[,desc]]]
37     .\" Die Beschreibung
38     .SH DESCRIPTION
39 pcg 1.17 Displays a given file anywhere on your X11 root window, e..g it is kind of tail -f for multiple files
40     using your desktop background as output window.
41     .PP
42     All non-option arguments on the comamnd line are files to be logged. A
43     null desc (example: "/var/log/messages,red,") will prevent the printing of
44     a description and the []'s.
45 pcg 1.1 .PP
46     .SS General Options
47     .TP
48 pcg 1.7 .BI \--color " COLOR"
49 chris_moore 1.13 Use COLOR as default.
50 pcg 1.1 .TP
51 pcg 1.7 .BI "\--font \|| -fn" " FONTSPEC"
52 chris_moore 1.8 Use font FONTSPEC. This can be either a fixed width font like \fB-fn\fI
53     fixed\fR or any font using \fB-fn \fR'\fI-*-*-*-*-*-*-*-*-*-*-*-*-*-*\fR' with
54 chris_moore 1.14 the appropriate fields filled out (see xfontsel). Specifying a
55     different FONTSPEC before each filename will cause each file to be
56     displayed in a different font.
57 pcg 1.1 .TP
58 pcg 1.7 .B -f \|| \--fork
59 pcg 1.12 Forks to the background.
60 chris_moore 1.3 .TP
61 pcg 1.7 .B \--reverse
62 chris_moore 1.3 Display the files in reverse order, with the newest lines at the top.
63     .TP
64 pcg 1.7 .B \--whole
65     Only display whole lines. If the last line of a file doesn't yet end
66 chris_moore 1.3 with a newline character then wait until it does before displaying
67 pcg 1.7 it. This is the default if more than one file is being displayed.
68 chris_moore 1.3 .TP
69 pcg 1.7 .B \--partial
70 chris_moore 1.8 This is the opposite of the \fB--whole\fR option (see above). It displays
71 pcg 1.7 lines even if they don't yet have a newline at the end. This is the
72 chris_moore 1.3 default if only one file is being displayed.
73     .TP
74 pcg 1.7 .B \--update
75 chris_moore 1.3 Update partial lines 'in place' if they are still on the screen when
76 chris_moore 1.8 they are updated in their files. Using \fB--update\fR automatically turns on
77     \fB--partial\fR.
78 chris_moore 1.3 .TP
79 pcg 1.7 .BI \--cont " STRING"
80 chris_moore 1.11 When partial lines are broken into two lines in the display, prefix
81 chris_moore 1.13 the 2nd line with STRING. Defaults to "\fI|| \fR". Specify the "\fB--whole\fR"
82 chris_moore 1.11 argument to ensure partial lines are never displayed, or specify "\fB--update\fR"
83     to attempt to "repair" broken lines in-place.
84 pcg 1.1 .TP
85 chris_moore 1.13 .BI \--cont-color " COLOR"
86     Use COLOR when displaying the continuation string (as optionally
87     specified with the \fB--cont\fR option above).
88     .TP
89 chris_moore 1.9 .B \--wordwrap
90     The default behaviour is to fit as much as possible onto each line of
91     output, even if this means splitting a word between one line and the
92 pcg 1.10 next. The \fB--wordwrap\fR argument splits lines at spaces if
93 chris_moore 1.9 possible.
94     .TP
95 chris_moore 1.13 .B \--justify
96     After wrapping long lines, attempt to justify the text to produce a
97     smooth right-hand margin. Implies \fB--wordwrap\fR.
98     .TP
99 pcg 1.7 .BI \--reload " SEC COMMAND"
100     Re-display the file(s) and run COMMAND every SEC seconds. The
101 chris_moore 1.3 default is to never re-display the file(s).
102 pcg 1.1 .TP
103 pcg 1.7 .B \--shade
104 pcg 1.4 Add black shading to the font.
105     .TP
106 pcg 1.7 .B \--outline
107 chris_moore 1.11 Add a black outline to the font (making redraws quite a bit slower).
108 pcg 1.1 .TP
109 pcg 1.7 .B \--noflicker
110 pcg 1.6 Use slower but flicker-free update.
111     .TP
112 pcg 1.7 .B \--noinitial
113 pcg 1.1 Don't display the end of the file(s) initially.
114     .TP
115 pcg 1.2 .BI "\-id" " ID"
116 chris_moore 1.3 Use the given window ID for output instead of the root window.
117 pcg 1.2 .TP
118 pcg 1.7 .BI "\-i \|| \--interval" " SECONDS"
119 chris_moore 1.3 Use the specified sleeping interval between checks instead of the
120 pcg 1.4 default 2.4 seconds. Fractional values are OK.
121 pcg 1.1 .TP
122     .B \-V
123     Print version information.
124     .TP
125 pcg 1.7 .B \--frame
126 chris_moore 1.15 Draw a frame around the selected area. This is useful when trying to
127     find the perfect geometry.
128 pcg 1.1 .IP
129     .SH EXAMPLE
130     .PP
131 chris_moore 1.14 root-tail -g 800x250+100+50 -font 10x20 /var/log/messages,green -font 12x24 /var/log/secure,red,'ALERT'
132 pcg 1.1 .SH BUGS
133     .PP
134 pcg 1.16 Some desktop environments open a virtual root window and make it difficult to share it. If
135     you cannot see anything after starting root-tail, try to find a setting "allow programs
136     on desktop" or similar, or manually specify a window id.
137     .PP
138 pcg 1.1 Should you happen to find any bugs please fix them and send me a diff.
139     .PP
140     NOTE: This program was modified by Marc Lehmann <pcg@goof.com>, who
141 chris_moore 1.3 couldn't reach the original author. Please direct bug-reports etc. to
142     pcg@goof.com.
143 pcg 1.1 .PP
144     http://root-tail.plan9.de/