File: root-tail.man

package info (click to toggle)
root-tail 1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 168 kB
  • sloc: ansic: 1,294; makefile: 77
file content (158 lines) | stat: -rw-r--r-- 5,104 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
.TH ROOTTAIL 1 "2019-06-14" "Version 1.3"
.UC 5
.SH NAME
root-tail \- print text directly to X11 root window
.SH SYNOPSIS
.B root-tail
.RB [ \-g \|| \-\-geometry
.IR GEOMETRY ]
.RB [ \-fn \|| \-\-font
.IR FONTSPEC ]
.RB [ \-\-color
.IR color ]
.RB [ \-\-reload
.IR SEC
.IR COMMAND ]
.RB [ \-\-shade ]
.RB [ \-\-outline ]
.RB [ \-\-minspace ]
.RB [ \-\-noflicker ]
.RB [ \-f \|| \-\-fork ]
.RB [ \-\-reverse ]
.RB [ \-\-whole ]
.RB [ \-\-partial ]
.RB [ \-\-update ]
.RB [ \-\-cont
.IR STRING ]
.RB [ \-\-wordwrap ]
.RB [ \-\-justify ]
.RB [ \-\-noinitial ]
.RB [ \-\-frame ]
.RB [ \-\-windowed }
.RB [ \-id
.IR ID ]
.RB [ \-i \|| \-\-interval
.IR SECONDS ]
.RB [ \-V ]
file1[,color[,desc]]
[file2[,color[,desc]]]
.\" Die Beschreibung
.SH DESCRIPTION
Displays a given file anywhere on your X11 root window, i.e. it is kind of tail -f for multiple files
using your desktop background as output window.
.PP
All non-option arguments on the command line are files to be logged. A
null desc (example: "/var/log/messages,red,") will prevent the printing of
a description and the []'s.
.PP
.SS General Options
.TP
.BI \-\-color " COLOR"
Use COLOR as default.
.TP
.BI "\-\-font \|| -fn" " FONTSPEC"
Use font FONTSPEC. This can be either a fixed width font like \fB\-fn\fI
fixed\fR or any font using \fB\-fn \fR'\fI-*-*-*-*-*-*-*-*-*-*-*-*-*-*\fR' with
the appropriate fields filled out (see xfontsel).  Specifying a
different FONTSPEC before each filename will cause each file to be
displayed in a different font.
.TP
.B -f \|| \-\-fork
Forks to the background.
.TP
.B \-\-reverse
Display the files in reverse order, with the newest lines at the top.
.TP
.B \-\-whole
Only display whole lines. If the last line of a file doesn't yet end
with a newline character then wait until it does before displaying
it. This is the default if more than one file is being displayed.
.TP
.B \-\-partial
This is the opposite of the \fB\-\-whole\fR option (see above). It displays
lines even if they don't yet have a newline at the end. This is the
default if only one file is being displayed.
.TP
.B \-\-update
Update partial lines 'in place' if they are still on the screen when
they are updated in their files. Using \fB\-\-update\fR automatically turns on
\fB\-\-partial\fR.
.TP
.BI \-\-cont " STRING"
When partial lines are broken into two lines in the display, prefix
the 2nd line with STRING. Defaults to "\fI|| \fR". Specify the "\fB\-\-whole\fR"
argument to ensure partial lines are never displayed, or specify "\fB\-\-update\fR"
to attempt to "repair" broken lines in-place.
.TP
.BI \-\-cont-color " COLOR"
Use COLOR when displaying the continuation string (as optionally
specified with the \fB\-\-cont\fR option above).
.TP
.B \-\-wordwrap
The default behaviour is to fit as much as possible onto each line of
output, even if this means splitting a word between one line and the
next. The \fB\-\-wordwrap\fR argument splits lines at spaces if
possible.
.TP
.B \-\-justify
After wrapping long lines, attempt to justify the text to produce a
smooth right-hand margin.  Implies \fB\-\-wordwrap\fR.
.TP
.BI \-\-reload " SEC COMMAND"
Re-display the file(s) and run COMMAND every SEC seconds. The
default is to never re-display the file(s).
.TP
.B \-\-shade
Add black shading to the font.
.TP
.B \-\-outline
Add a black outline to the font (making redraws quite a bit slower).
.TP
.B \-\-minspace
Use minimum linespace even when using shading or outlining. This might result in
leftover pixels (dependign on font and logfile content).
.TP
.B \-\-noflicker
Use slower but flicker-free update.
.TP
.B \-\-noinitial
Don't display the end of the file(s) initially.
.TP
.BI \-\-windowed
Create a new window instead of reusing the root window. The newly created window
covers the whole screen, puts itself behind all other windows and and does not accept
events. Use this option if you use a compositing manager suihc as xcompmgr or compton, as
the compositing extension has been very badly designed and cannot handle root windows
correctly.
.TP
.BI "\-id" " ID"
Use the given window ID for output instead of the root window.
.TP
.BI "\-i \|| \-\-interval" " SECONDS"
Use the specified sleeping interval between checks instead of the
default 2.4 seconds. Fractional values are OK.
.TP
.B \-V
Print version information.
.TP
.B \-\-frame
Draw a frame around the selected area.  This is useful when trying to
find the perfect geometry.
.IP
.SH EXAMPLE
.PP
root-tail --windowed -g 800x250+100+50 -font 10x20 /var/log/messages,green -font 12x24 /var/log/secure,red,'ALERT'
.SH BUGS
.PP
Some desktop environments open a virtual root window and make it difficult to share it. If
you cannot see anything after starting root-tail, try the \-\-windowed option, a setting "allow programs
on desktop" or similar, or manually specify a window id.
.PP
Should you happen to find any bugs please fix them and send me a diff.
.PP
NOTE: This program was modified by Marc Lehmann <schmorp@schmorp.de>, who
couldn't reach the original author. Please direct bug-reports etc. to
root-tail@schmorp.de.
.PP
http://software.schmorp.de/pkg/root-tail.html