1 <!-- Creator : groff version 1.18.1 -->
2 <!-- CreationDate: Fri Dec 9 01:07:32 2005 -->
5 <meta name="generator" content="groff -Thtml, see www.gnu.org">
6 <meta name="Content-Style" content="text/css">
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>
24 <table width="100%" border=0 rules="none" frame="void"
25 cols="2" cellspacing="0" cellpadding="0">
26 <tr valign="top" align="left">
29 <p>vcsapm − displays current battery status on the
33 <a name="SYNOPSIS"></a>
36 <table width="100%" border=0 rules="none" frame="void"
37 cols="2" cellspacing="0" cellpadding="0">
38 <tr valign="top" align="left">
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>
45 <a name="DESCRIPTION"></a>
48 <table width="100%" border=0 rules="none" frame="void"
49 cols="2" cellspacing="0" cellpadding="0">
50 <tr valign="top" align="left">
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
58 <p>This program should be run as root to be able to access
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
67 <a name="OPTIONS"></a>
70 <table width="100%" border=0 rules="none" frame="void"
71 cols="2" cellspacing="0" cellpadding="0">
72 <tr valign="top" align="left">
75 <p><b>-t</b> <i>number</i><b>,
76 --time=</b><i>number</i></p></td>
79 <table width="100%" border=0 rules="none" frame="void"
80 cols="2" cellspacing="0" cellpadding="0">
81 <tr valign="top" align="left">
84 <p>Set interval between information refreshes. Interval is
85 specified as floating point number of seconds. Default is
90 <table width="100%" border=0 rules="none" frame="void"
91 cols="2" cellspacing="0" cellpadding="0">
92 <tr valign="top" align="left">
95 <p><b>-c</b> <i>number</i><b>,
96 --column=</b><i>number</i></p></td>
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>
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’ll want to specify something else. Other
108 reason is to make vcsapm coexist with <b>vcstime</b>(8)</p>
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>
117 <p><b>-f</b> <i>file</i><b>, --file=</b><i>file</i></p></td>
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>
125 <p>Specifies device file to write to. Default is
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>
138 <td width="14%"></td>
141 <p>Display brief usage message and exit successfully.</p>
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>
152 <p>There is no way to customize displayed info.</p>
154 <p>Format for parsing <b>/proc/apm</b> is hardwired.</p>
157 <a name="AUTHOR"></a>
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>
165 <p>Victor Wagner <vitus@ice.ru></p>
168 <a name="SEE ALSO"></a>
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>
176 <p><b>vcstime</b>(8)</p>