From: Clint Adams <schizo@debian.org>
To: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
Cc: zsh-workers@sunsite.dk
Subject: Re: Functions moved
Date: Mon, 2 Apr 2001 11:24:28 -0400 [thread overview]
Message-ID: <20010402112428.A12039@dman.com> (raw)
In-Reply-To: <200104021441.QAA12200@beta.informatik.hu-berlin.de>; from wischnow@informatik.hu-berlin.de on Mon, Apr 02, 2001 at 04:41:43PM +0200
> Hrm. Any idea how they look like? Option-wise?
Yup. Here's Solaris 8. It apparently has nothing to do with power
management, but rather something related to sadmind. I think.
Usage: apm -c class [version] -m method [-h host] [-d domain]
[-t AuthType] [-f AuthFlavor] [-g ClientGroup] [-n | -p]
[-x AckSecs AckUsecs] [-y RepSecs RepUsecs]
[-k PingCnt] [-w PingSecs PingUsecs] [-i DelaySecs DelayUsecs]
[-r ServerProg ServerVers] [-u [file]] [-l]
[-D DebugCategories] [-a name[=value] name[=value] ...]
And this is for FreeBSD 4.1:
Index: Completion/Linux/_apm
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Linux/_apm,v
retrieving revision 1.1
diff -u -r1.1 _apm
--- Completion/Linux/_apm 2001/04/01 01:12:07 1.1
+++ Completion/Linux/_apm 2001/04/02 15:19:25
@@ -1,4 +1,11 @@
#compdef apm
+
+# this needs intelligence
+local kludge=linux
+
+if [[ $kludge == "linux" ]]
+then
+
_arguments -C -s \
'(--version)-V[print the apm program and exit immediately]' \
'(-V)--version[print the apm program and exit immediately]' \
@@ -15,3 +22,19 @@
'(--ignore)-i[tell the system to ignore system-generated APM message]' \
'(-i)--ignore[tell the system to ignore system-generated APM message]'
+else
+
+_arguments -C \
+ '-a[display AC line status]' \
+ '-b[display battery status]' \
+ '-d[disable/enable display suspension]:bool:' \
+ '-e[disable/enable apm functions]:bool:' \
+ '-h[disable/enable HLT in kernel context switch]:bool:' \
+ '-l[display remaining battery percentage]' \
+ '-r[enable resume wakeup timer]' \
+ '-s[display status of APM support]' \
+ '-t[display estimated remaining battery life in seconds]' \
+ '-Z[transition system into standby mode]' \
+ '-z[suspend the system]'
+
+fi
next prev parent reply other threads:[~2001-04-02 15:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-02 14:41 Sven Wischnowsky
2001-04-02 15:24 ` Clint Adams [this message]
2001-04-02 20:06 ` Chmouel Boudjnah
2001-04-02 19:19 ` Clint Adams
2001-04-03 20:04 ` _apm (was Re: Functions moved) Oliver Kiddle
2001-04-03 21:26 ` Clint Adams
-- strict thread matches above, loose matches on Subject: below --
2001-04-02 13:35 Functions moved Sven Wischnowsky
2001-04-02 13:16 Sven Wischnowsky
2001-04-02 14:01 ` Oliver Kiddle
2001-04-02 14:10 ` Andrej Borsenkow
2001-04-02 14:10 ` Clint Adams
2001-04-02 14:16 ` Clint Adams
2001-04-02 14:38 ` Oliver Kiddle
2001-04-02 14:58 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010402112428.A12039@dman.com \
--to=schizo@debian.org \
--cc=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).