~ubuntu-branches/ubuntu/trusty/linuxlogo/trusty

« back to all changes in this revision

Viewing changes to debian/manpage/linux_logo.1

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-06-20 09:19:00 UTC
  • mfrom: (4.1.2 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080620091900-4xzuv7c7ntxvs7wt
Tags: 5.03-4
* Adding patch to fix FTBFS on s390x.
* Updating to standards 3.8.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH LINUX_LOGO 1 "28 October 2001" "Debian" "Debian GNU/Linux Manual"
 
2
.SH NAME
 
3
linux_logo \- Color ANSI penguin logo w/ system information.
 
4
.SH SYNOPSIS
 
5
.BR "linux_logo " [ "-h" " | " "-v" " ] [" "-a" " ] [ " "-b" " | " "-c" "] [" "-d" "] [" "-D file" "] [" "-e file" "] [" "-f" "] [" "-g" " | " "-l" "] [" "-k" "] [" "-i" "] [" "-n" "] [" "-p" "] [" "-s" "] [" "-u" "] [" "-x" "] [" "-y" "] [" "-o Num" "] [" "-t string" "] [" "-L num | list | random_xy" "] [" "-F format" "]"
 
6
.SH "DESCRIPTION"
 
7
.B linux_logo
 
8
.SM
 
9
is a program that generates a color
 
10
.SM ANSI
 
11
picture of a penguin which
 
12
includes some system information obtained from the /proc filesystem.
 
13
.SH OPTIONS
 
14
.TP
 
15
.B \-h
 
16
Show summary of options.
 
17
.TP
 
18
.B \-v
 
19
Show version of program.
 
20
.TP
 
21
.B \-ascii -a
 
22
Display the logo as monochrome ascii.
 
23
.TP
 
24
.B \-banner -b
 
25
Display the banner-style logo.
 
26
.TP
 
27
.B \-classic -c
 
28
Display the original penguin logo.
 
29
.TP
 
30
.B \-d
 
31
Disable "prettying" of output
 
32
.TP
 
33
.B \-D filename
 
34
Use logo from "filename"
 
35
.TP
 
36
.B \-e filename
 
37
Use cpuinfo from "filename" for debugging purposes
 
38
.TP
 
39
.B \-f
 
40
Force the screen clear before drawing the logo.
 
41
.TP
 
42
.B \-F STRING
 
43
Use custom output STRING for sysinfo.  See below for more info.
 
44
.TP
 
45
.B \-g
 
46
Display only the system infomation.
 
47
.TP
 
48
.B \-i
 
49
Ignore the ~/.linux_logo and /etc/linux_logo.conf config files
 
50
.TP
 
51
.B \-k
 
52
Keep sysinfo flushed-left (non-centered)
 
53
.TP
 
54
.B \-l
 
55
Display only the logo.
 
56
.TP
 
57
.B \-L ...
 
58
Custom logo options.  See README
 
59
.TP
 
60
.B \-o Num
 
61
Shift output Num spaces to the right
 
62
.TP
 
63
.B \-p
 
64
Preserve cursor location
 
65
.TP
 
66
.B \-s
 
67
Skip the BogoMips test [ speeds up display on non-Linux platforms ].
 
68
.TP
 
69
.B \-t string
 
70
Display an arbitrary string
 
71
.TP
 
72
.B \-u
 
73
Display the system uptime.
 
74
.TP
 
75
.B \-w val
 
76
Set screen width to val
 
77
.TP
 
78
.B \-y
 
79
Display the load average.
 
80
 
 
81
.SH PROCESSOR INFORMATION
 
82
.SS CPUINFO
 
83
The cpuinfo supplied in
 
84
.I /proc/cpuinfo
 
85
is not always usable by
 
86
.BR linux_logo.
 
87
In the relevant
 
88
.I sysinfo_x.c
 
89
file there is a place to add custom output formatting to "beautify" the
 
90
cpuinfo. For instance "K6 (166 - 266)" is parsed to "K6". Formats have
 
91
been added for the K6 and certain Cyrix microprocessors.
 
92
.PP
 
93
If the cpuinfo for your microprocessor generates ugly output, send the
 
94
output from your
 
95
.I /proc/cpuinfo
 
96
and a sample of how it should look to the author.
 
97
.PP
 
98
Unfortunately the 2.0.x kernels don't know about newer chips.
 
99
So to get
 
100
.B linux_logo
 
101
to recognize your Pentium II and newer chips you
 
102
must find some piece of information in
 
103
.I /proc/cpuinfo
 
104
that distinguishes them from a pentium pro, or upgrade to a 2.2.x or
 
105
2.3.x kernel.
 
106
.SS FORMAT
 
107
The format string special sequences start with # (use ## to print
 
108
#). All other characters, except for \\n,  are printed as is.
 
109
 
 
110
.TS
 
111
tab (@);
 
112
l l l.
 
113
Seq@Description@Output
 
114
_
 
115
##@@#
 
116
#B@Bogomips@374.37
 
117
#C@Compiled Date@#47 Fri Jan 8 10:37:09 EST 1999
 
118
#E@User Text@My Favorite Linux Distribution
 
119
@Displayed with \-t@
 
120
#H@Hostname@deranged
 
121
#L@Load average@Load average 0.04, 0.01, 0.01
 
122
#M@Megahertz@188Mhz
 
123
@where supported@
 
124
#N@Number of CPU's@Two
 
125
#O@OS Name@Linux
 
126
#P@Processor or Processors@Processor
 
127
#R@Ram@64M
 
128
@in Megabytes@
 
129
#S@Plural@s
 
130
#T@Type of CPU@K6
 
131
#U@Uptime@Uptime 10 hours 59 minutes
 
132
#V@Version of OS@2.2.0-pre5
 
133
#X@CPU Vendor@AMD
 
134
\\\\n@carriage return@
 
135
.TE
 
136
.PP
 
137
Notes:
 
138
.IP \(bu 4
 
139
The letter after the # must be capitalized.
 
140
.IP \(bu 4
 
141
Options not available are silently ignored.
 
142
.IP \(bu 4
 
143
Megahertz only available on some platforms and newer kernels.
 
144
.IP \(bu 4
 
145
See
 
146
.I
 
147
defaults.h
 
148
on how to have #N report in non-english numbers.
 
149
.IP \(bu 4
 
150
Plural [#S] gives nothing if there is 1 cpu, gives 's' otherwise.
 
151
.IP \(bu 4
 
152
The "\-y" and "\-u" [display uptime and load average] command line
 
153
options don't affect the output if a custom format is used.
 
154
.PP
 
155
The default banner format is:
 
156
.PP
 
157
"#O Version #V, Compiled #C\\n \\
 
158
.br
 
159
#N #M#X#T Processor#S, #R RAM, #B Bogomips Total\\n \\
 
160
.br
 
161
#H\\n"
 
162
.PP
 
163
The default banner format displays the following on the author's computer:
 
164
.TS
 
165
center;
 
166
c.
 
167
Linux Version 2.2.0-pre5, Compiled #47 Fri Jan 8 10:37:09 EST 1999
 
168
One 188MHz AMD K6 Processor, 64M RAM, 374.37 Bogomips Total
 
169
deranged
 
170
.TE
 
171
Another example would be:
 
172
.PP
 
173
linux_logo \-F "Redhat Linux 5.2\\nKernel Version #V\\n#U\\n#L\\n"
 
174
.PP
 
175
which would display:
 
176
.TS
 
177
center;
 
178
c.
 
179
Redhat Linux 5.2
 
180
Kernel Version 2.2.0-pre5
 
181
Uptime 11 hours 4 minutes
 
182
Load average 0.00, 0.00, 0.00
 
183
.TE
 
184
 
 
185
.SH DEBIAN
 
186
The Debian pre-packaged version of
 
187
.B linux_logo
 
188
includes the Debian logo in addition to the 'Classic' and 'Banner'
 
189
logos. The Debian logo is the default logo unless one of the other
 
190
logos is specified on the command line.
 
191
.SH "CONFIG FILES"
 
192
.B ~/.linux_logo
 
193
and
 
194
.B /etc/linux_logo.conf
 
195
can be filled with command line options and will be parsed before the actual command line
 
196
.SH "SEE ALSO"
 
197
.IR /usr/share/doc/linuxlogo/ ", http://www.deater.net/weave"
 
198
.SH AUTHOR
 
199
.TP
 
200
Vince Weaver
 
201
<vince@deater.net>.
 
202
.PP
 
203
This manual page was written by Steve Kostecke <steve@debian.org>,
 
204
for the Debian GNU/Linux system.