]> www.wagner.pp.ru Git - sites/home_page.git/blob - software/unix/man/vcsapm.8.html
Reentered after crash of all CVS repositories
[sites/home_page.git] / software / unix / man / vcsapm.8.html
1 <!-- Creator     : groff version 1.18.1 -->
2 <!-- CreationDate: Fri Dec  9 01:07:32 2005 -->
3 <html>
4 <head>
5 <meta name="generator" content="groff -Thtml, see www.gnu.org">
6 <meta name="Content-Style" content="text/css">
7 <title>vcsapm</title>
8 </head>
9 <body>
10
11 <h1 align=center>vcsapm</h1>
12 <a href="#NAME">NAME</a><br>
13 <a href="#SYNOPSIS">SYNOPSIS</a><br>
14 <a href="#DESCRIPTION">DESCRIPTION</a><br>
15 <a href="#OPTIONS">OPTIONS</a><br>
16 <a href="#BUGS">BUGS</a><br>
17 <a href="#AUTHOR">AUTHOR</a><br>
18 <a href="#SEE ALSO">SEE ALSO</a><br>
19
20 <hr>
21 <a name="NAME"></a>
22 <h2>NAME</h2>
23 <!-- INDENTATION -->
24 <table width="100%" border=0 rules="none" frame="void"
25        cols="2" cellspacing="0" cellpadding="0">
26 <tr valign="top" align="left">
27 <td width="10%"></td>
28 <td width="89%">
29 <p>vcsapm &minus; displays current battery status on the
30 text console</p>
31 </td>
32 </table>
33 <a name="SYNOPSIS"></a>
34 <h2>SYNOPSIS</h2>
35 <!-- INDENTATION -->
36 <table width="100%" border=0 rules="none" frame="void"
37        cols="2" cellspacing="0" cellpadding="0">
38 <tr valign="top" align="left">
39 <td width="10%"></td>
40 <td width="89%">
41 <p><b>vcsapm</b> [<b>-t</b> <i>number</i>] [ <b>-c</b>
42 <i>number</i>] [ <b>-f</b> <i>file</i>]</p>
43 </td>
44 </table>
45 <a name="DESCRIPTION"></a>
46 <h2>DESCRIPTION</h2>
47 <!-- INDENTATION -->
48 <table width="100%" border=0 rules="none" frame="void"
49        cols="2" cellspacing="0" cellpadding="0">
50 <tr valign="top" align="left">
51 <td width="10%"></td>
52 <td width="89%">
53 <p><b>vcsapm</b> is small utility which runs in the
54 background and periodically displays in the right upper
55 corner of text console current battery status of your
56 notebook.</p>
57 <!-- INDENTATION -->
58 <p>This program should be run as root to be able to access
59 <b>/dev/vcs</b></p>
60 <!-- INDENTATION -->
61 <p>It displays only two proprietes of information, provided
62 by APM driver in the kernel - whether AC adapter is
63 connected, and percentage of power left in the
64 batteries.</p>
65 </td>
66 </table>
67 <a name="OPTIONS"></a>
68 <h2>OPTIONS</h2>
69 <!-- INDENTATION -->
70 <table width="100%" border=0 rules="none" frame="void"
71        cols="2" cellspacing="0" cellpadding="0">
72 <tr valign="top" align="left">
73 <td width="10%"></td>
74 <td width="89%">
75 <p><b>-t</b> <i>number</i><b>,
76 --time=</b><i>number</i></p></td>
77 </table>
78 <!-- INDENTATION -->
79 <table width="100%" border=0 rules="none" frame="void"
80        cols="2" cellspacing="0" cellpadding="0">
81 <tr valign="top" align="left">
82 <td width="23%"></td>
83 <td width="76%">
84 <p>Set interval between information refreshes. Interval is
85 specified as floating point number of seconds. Default is
86 0.5 sec.</p>
87 </td>
88 </table>
89 <!-- INDENTATION -->
90 <table width="100%" border=0 rules="none" frame="void"
91        cols="2" cellspacing="0" cellpadding="0">
92 <tr valign="top" align="left">
93 <td width="10%"></td>
94 <td width="89%">
95 <p><b>-c</b> <i>number</i><b>,
96 --column=</b><i>number</i></p></td>
97 </table>
98 <!-- INDENTATION -->
99 <table width="100%" border=0 rules="none" frame="void"
100        cols="2" cellspacing="0" cellpadding="0">
101 <tr valign="top" align="left">
102 <td width="23%"></td>
103 <td width="76%">
104 <p>Sets offset from left corner of screen where information
105 should be displayed. Default is 72 (information is at
106 maximum 7 symbols long), but if you use wider textmode than
107 80x25, you&rsquo;ll want to specify something else. Other
108 reason is to make vcsapm coexist with <b>vcstime</b>(8)</p>
109 </td>
110 </table>
111 <!-- INDENTATION -->
112 <table width="100%" border=0 rules="none" frame="void"
113        cols="2" cellspacing="0" cellpadding="0">
114 <tr valign="top" align="left">
115 <td width="10%"></td>
116 <td width="89%">
117 <p><b>-f</b> <i>file</i><b>, --file=</b><i>file</i></p></td>
118 </table>
119 <!-- INDENTATION -->
120 <table width="100%" border=0 rules="none" frame="void"
121        cols="2" cellspacing="0" cellpadding="0">
122 <tr valign="top" align="left">
123 <td width="23%"></td>
124 <td width="76%">
125 <p>Specifies device file to write to. Default is
126 <b>/dev/vcs</b>.</p>
127 </td>
128 </table>
129 <!-- TABS -->
130 <table width="100%" border=0 rules="none" frame="void"
131        cols="4" cellspacing="0" cellpadding="0">
132 <tr valign="top" align="left">
133 <td width="11%"></td>
134 <td width="8%">
135
136 <p><b>--help</b></p>
137 </td>
138 <td width="14%"></td>
139 <td width="64%">
140
141 <p>Display brief usage message and exit successfully.</p>
142 </td>
143 </table>
144 <a name="BUGS"></a>
145 <h2>BUGS</h2>
146 <!-- INDENTATION -->
147 <table width="100%" border=0 rules="none" frame="void"
148        cols="2" cellspacing="0" cellpadding="0">
149 <tr valign="top" align="left">
150 <td width="10%"></td>
151 <td width="89%">
152 <p>There is no way to customize displayed info.</p>
153 <!-- INDENTATION -->
154 <p>Format for parsing <b>/proc/apm</b> is hardwired.</p>
155 </td>
156 </table>
157 <a name="AUTHOR"></a>
158 <h2>AUTHOR</h2>
159 <!-- INDENTATION -->
160 <table width="100%" border=0 rules="none" frame="void"
161        cols="2" cellspacing="0" cellpadding="0">
162 <tr valign="top" align="left">
163 <td width="10%"></td>
164 <td width="89%">
165 <p>Victor Wagner &lt;vitus@ice.ru&gt;</p>
166 </td>
167 </table>
168 <a name="SEE ALSO"></a>
169 <h2>SEE ALSO</h2>
170 <!-- INDENTATION -->
171 <table width="100%" border=0 rules="none" frame="void"
172        cols="2" cellspacing="0" cellpadding="0">
173 <tr valign="top" align="left">
174 <td width="10%"></td>
175 <td width="89%">
176 <p><b>vcstime</b>(8)</p>
177 </td>
178 </table>
179 <hr>
180 </body>
181 </html>