1 |
.TH ROOTTAIL 1 "2004-03-27" "Version 1.0" |
2 |
.UC 5 |
3 |
.SH NAME |
4 |
root-tail \- print text directly to X11 root window |
5 |
.SH SYNOPSIS |
6 |
.B root-tail |
7 |
.RB [ \-g \|| --geometry |
8 |
.IR GEOMETRY ] |
9 |
.RB [ \-fn \|| --font |
10 |
.IR FONTSPEC ] |
11 |
.RB [ \--color |
12 |
.IR color ] |
13 |
.RB [ \--reload |
14 |
.IR SEC |
15 |
.IR COMMAND ] |
16 |
.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 |
.IR STRING ] |
26 |
.RB [ \--wordwrap ] |
27 |
.RB [ \--justify ] |
28 |
.RB [ \--noinitial ] |
29 |
.RB [ \--frame ] |
30 |
.RB [ \-id |
31 |
.IR ID ] |
32 |
.RB [ \-i \|| \--interval |
33 |
.IR SECONDS ] |
34 |
.RB [ \-V ] |
35 |
file1[,color[,desc]] |
36 |
[file2[,color[,desc]]] |
37 |
.\" Die Beschreibung |
38 |
.SH DESCRIPTION |
39 |
Displays a given file anywhere on your X11 root window, i.e. 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 |
.PP |
46 |
.SS General Options |
47 |
.TP |
48 |
.BI \--color " COLOR" |
49 |
Use COLOR as default. |
50 |
.TP |
51 |
.BI "\--font \|| -fn" " FONTSPEC" |
52 |
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 |
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 |
.TP |
58 |
.B -f \|| \--fork |
59 |
Forks to the background. |
60 |
.TP |
61 |
.B \--reverse |
62 |
Display the files in reverse order, with the newest lines at the top. |
63 |
.TP |
64 |
.B \--whole |
65 |
Only display whole lines. If the last line of a file doesn't yet end |
66 |
with a newline character then wait until it does before displaying |
67 |
it. This is the default if more than one file is being displayed. |
68 |
.TP |
69 |
.B \--partial |
70 |
This is the opposite of the \fB--whole\fR option (see above). It displays |
71 |
lines even if they don't yet have a newline at the end. This is the |
72 |
default if only one file is being displayed. |
73 |
.TP |
74 |
.B \--update |
75 |
Update partial lines 'in place' if they are still on the screen when |
76 |
they are updated in their files. Using \fB--update\fR automatically turns on |
77 |
\fB--partial\fR. |
78 |
.TP |
79 |
.BI \--cont " STRING" |
80 |
When partial lines are broken into two lines in the display, prefix |
81 |
the 2nd line with STRING. Defaults to "\fI|| \fR". Specify the "\fB--whole\fR" |
82 |
argument to ensure partial lines are never displayed, or specify "\fB--update\fR" |
83 |
to attempt to "repair" broken lines in-place. |
84 |
.TP |
85 |
.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 |
.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 |
next. The \fB--wordwrap\fR argument splits lines at spaces if |
93 |
possible. |
94 |
.TP |
95 |
.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 |
.BI \--reload " SEC COMMAND" |
100 |
Re-display the file(s) and run COMMAND every SEC seconds. The |
101 |
default is to never re-display the file(s). |
102 |
.TP |
103 |
.B \--shade |
104 |
Add black shading to the font. |
105 |
.TP |
106 |
.B \--outline |
107 |
Add a black outline to the font (making redraws quite a bit slower). |
108 |
.TP |
109 |
.B \--noflicker |
110 |
Use slower but flicker-free update. |
111 |
.TP |
112 |
.B \--noinitial |
113 |
Don't display the end of the file(s) initially. |
114 |
.TP |
115 |
.BI "\-id" " ID" |
116 |
Use the given window ID for output instead of the root window. |
117 |
.TP |
118 |
.BI "\-i \|| \--interval" " SECONDS" |
119 |
Use the specified sleeping interval between checks instead of the |
120 |
default 2.4 seconds. Fractional values are OK. |
121 |
.TP |
122 |
.B \-V |
123 |
Print version information. |
124 |
.TP |
125 |
.B \--frame |
126 |
Draw a frame around the selected area. This is useful when trying to |
127 |
find the perfect geometry. |
128 |
.IP |
129 |
.SH EXAMPLE |
130 |
.PP |
131 |
root-tail -g 800x250+100+50 -font 10x20 /var/log/messages,green -font 12x24 /var/log/secure,red,'ALERT' |
132 |
.SH BUGS |
133 |
.PP |
134 |
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 |
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 |
couldn't reach the original author. Please direct bug-reports etc. to |
142 |
pcg@goof.com. |
143 |
.PP |
144 |
http://root-tail.plan9.de/ |