Your message dated Sat, 30 Sep 2006 15:48:43 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#389795: fixed in zsh 4.3.2-18
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: zsh
Version: 4.3.2-17
Severity: wishlist
Tags: patch
Hi!
Made a completion function for acpitool. Hope you find it useful :)
Regards,
Ramkumar.
#compdef acpitool
local ret=1 selbrands disambig
typeset -a brands args
if ! zstyle -a ":completion:${curcontext}:" acpi-extensions brands || \
(( $brands[(I)detect] )); then
[[ -d /proc/acpi/toshiba ]] && brands+=toshiba
[[ -d /proc/acpi/asus ]] && brands+=asus
[[ -d /proc/acpi/ibm ]] && brands+=thinkpad
elif (( $brands[(I)all] )); then
brands=(toshiba asus thinkpad)
fi
args=(
'(-a --ac_adapter)'{-a,--ac_adapter}'[show AC adapter presence]'
'-b[show battery status for available batteries]'
'(-B --battery)'{-B,--battery}'[show detailed battery status for all batteries found]'
'(-c --cpu)'{-c,--cpu}'[show CPU information]'
'(-a --ac_adapter -A -b -B --battery -c --cpu -e -f --fan -t --thermal -w)-e[show just about everything]'
'(-f --fan)'{-f,--fan}'[show fan status]'
'(-h --help)'{-h,--help}'[display help]'
'(-s --suspend)'{-s,--suspend}'[suspend machine to memory (sleep state S3)]'
'-S[suspend machine to disk (sleep state S4)]'
'(-t --thermal)'{-t,--thermal}'[show thermal zone(s) information and trip points]'
'-v[show more verbose output]'
'(-V --version)'{-V,--version}'[output version information and exit]'
'-w[show the wakeup capable devices]'
'-W+[toggle enable/disable wakeup capable device]: :_wakeup_capable_devices'
)
if (( $brands[(I)asus] )); then
disambig=
(( $brands[(I)(toshiba|thinkpad)] )) && disambig='Asus '
args+=(
'(-A --Asus)'{-A,--Asus}'[show supported Asus ACPI extensions]'
'-m+[set mail LED status]:mail LED status:((1\:on 0\:off))'
'-n+[set wireless LED status]:wireless LED status:((1\:on 0\:off))'
'-o+[set LCD panel status]:LCD panel status:((1\:on 0\:off))'
"-z+[set ${disambig}LCD brightness level]:${disambig}LCD brightness level:(0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)"
)
fi
selbrands=
if (( $brands[(I)toshiba] )); then
selbrands=Toshiba
args+=(
'-F+[force fan on or switch back to auto mode]:fan status:((1\:on 0\:auto))'
'(-T --Toshiba)'{-T,--Toshiba}'[show supported Toshiba ACPI extensions]'
)
fi
if (( $brands[(I)thinkpad] )); then
[[ -n $selbrands ]] && selbrands+=/
selbrands=${selbrands}Thinkpad
args+=('-j[eject ultrabay device]')
fi
if [[ -n $selbrands ]]; then
disambig=
(( $brands[(I)asus] )) && disambig="$selbrands "
args+=(
"-l+[set ${disambig}LCD brightness level]:${disambig}LCD brightness level:(0 1 2 3 4 5 6 7)"
)
fi
_arguments -s $args && ret=0
return ret
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (101, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-beyond2
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Versions of packages zsh depends on:
ii debconf [debconf-2.0] 1.5.4 Debian configuration management sy
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libncurses5 5.5-3 Shared libraries for terminal hand
Versions of packages zsh recommends:
ii libcap1 1:1.10-14 support for getting/setting POSIX.
ii libpcre3 6.4-2 Perl 5 Compatible Regular Expressi
-- no debconf information
--
WARN_(accel)("msg null; should hang here to be win compatible\n");
-- WINE source code
--- End Message ---
--- Begin Message ---
Source: zsh
Source-Version: 4.3.2-18
We believe that the bug you reported is fixed in the latest version of
zsh, which is due to be installed in the Debian FTP archive:
zsh-dbg_4.3.2-18_sparc.deb
to pool/main/z/zsh/zsh-dbg_4.3.2-18_sparc.deb
zsh-dev_4.3.2-18_sparc.deb
to pool/main/z/zsh/zsh-dev_4.3.2-18_sparc.deb
zsh-doc_4.3.2-18_all.deb
to pool/main/z/zsh/zsh-doc_4.3.2-18_all.deb
zsh-static_4.3.2-18_sparc.deb
to pool/main/z/zsh/zsh-static_4.3.2-18_sparc.deb
zsh_4.3.2-18.diff.gz
to pool/main/z/zsh/zsh_4.3.2-18.diff.gz
zsh_4.3.2-18.dsc
to pool/main/z/zsh/zsh_4.3.2-18.dsc
zsh_4.3.2-18_sparc.deb
to pool/main/z/zsh/zsh_4.3.2-18_sparc.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Clint Adams <[EMAIL PROTECTED]> (supplier of updated zsh package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 30 Sep 2006 17:04:54 -0400
Source: zsh
Binary: zsh zsh-dev zsh-static zsh-dbg zsh-doc
Architecture: source sparc all
Version: 4.3.2-18
Distribution: unstable
Urgency: low
Maintainer: Clint Adams <[EMAIL PROTECTED]>
Changed-By: Clint Adams <[EMAIL PROTECTED]>
Description:
zsh - A shell with lots of features
zsh-dbg - A shell with lots of features (debugging symbols)
zsh-dev - A shell with lots of features (development files)
zsh-doc - zsh documentation - info/HTML format
zsh-static - A shell with lots of features (static link)
Closes: 389795 389796 389799 389801 390048 390049
Changes:
zsh (4.3.2-18) unstable; urgency=low
.
* Completion for acpitool. closes: #389795.
* Add https protocol to url completion. closes: #389796.
* Fix typo in subversion completion. closes: #389799.
* Add R. Ramkumar's generic fuse completion support.
closes: #389801.
* Cleanup for bittorrent completion. closes: #390048.
* Change fusermount completion to use generic fuse
function. closes: #390049.
Files:
c320b6d6d3b8287926e2f3404814a3fd 739 shells optional zsh_4.3.2-18.dsc
0d9ad60411ba5ea9be06b560b2fd9e18 424385 shells optional zsh_4.3.2-18.diff.gz
8d4b7163158fda5a2ae3f6fb5aeb86d6 701120 shells optional
zsh-doc_4.3.2-18_all.deb
2f3fad383681b7003db62df9b340ed5d 2236476 shells optional zsh_4.3.2-18_sparc.deb
0b2976dc9c1627c5a31f3470028d5c50 759614 devel extra zsh-dbg_4.3.2-18_sparc.deb
13be4bf0e53d564d6a5c4a91943108f3 799850 shells optional
zsh-static_4.3.2-18_sparc.deb
50b9e2efeefdd96bf1c26bae06f752a5 63518 libdevel optional
zsh-dev_4.3.2-18_sparc.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Debian!
iD8DBQFFHvKJ5m0u66uWM3ARAv90AKCF703sKQuaW5KpNAYT0ce5d9u/awCcDUM1
zBqMEKl5P6qGtsP6jW8QRMs=
=8mSO
-----END PGP SIGNATURE-----
--- End Message ---