1 diff -ruN zsh-4.0.6./Completion/Unix/Command/.distfiles zsh-4.0.6/Completion/Unix/Command/.distfiles
2 --- zsh-4.0.6./Completion/Unix/Command/.distfiles Fri Aug 9 15:30:12 2002
3 +++ zsh-4.0.6/Completion/Unix/Command/.distfiles Mon Apr 21 17:46:39 2003
5 _user_admin _rsync _arping _spamassassin _mtools _fsh
6 _chkconfig _cdcd _irssi _sccs
7 _global _global_tags _figlet _ifconfig _last
8 +_gqview _mplayer _pdf _ps _sms
10 diff -ruN zsh-4.0.6./Completion/Unix/Command/_gqview zsh-4.0.6/Completion/Unix/Command/_gqview
11 --- zsh-4.0.6./Completion/Unix/Command/_gqview Thu Jan 1 01:00:00 1970
12 +++ zsh-4.0.6/Completion/Unix/Command/_gqview Wed Oct 30 13:39:52 2002
17 + '(--with-tools -t --without-tools)+t[force show of tools]' \
18 + '(+t -t --without-tools)--with-tools' \
19 + '(+t --with-tools --without-tools)-t[force hide of tools]' \
20 + '(+t --with-tools -t)--without-tools' \
21 + '(--fullscreen)-f[start in full screen mode]' \
22 + '(-f)--fullscreen' \
23 + '(--slideshow)-s[start in slideshow mode]' \
25 + '(--list)-l[open collection window for command line]' \
27 + '--debug[turn on debug output]' \
28 + '(--version)-v[print version info]' \
30 + '(--help)-h[show help]' \
32 + '*:picture file:_files -/ -g \*.\(\#i\)\(jpg\|jpe\|jpeg\|png\|gif\|tif\|tiff\|bmp\)'
33 diff -ruN zsh-4.0.6./Completion/Unix/Command/_mplayer zsh-4.0.6/Completion/Unix/Command/_mplayer
34 --- zsh-4.0.6./Completion/Unix/Command/_mplayer Thu Jan 1 01:00:00 1970
35 +++ zsh-4.0.6/Completion/Unix/Command/_mplayer Fri Apr 4 19:28:32 2003
39 +# Copyright (c) 2002 GoTaR <gotar@priv0.onet.pl>
44 +# compadd "$@" $(print ${(f)"$(mplayer -vo help 2>/dev/null | cut -f2 -d' ')"})
46 +# vo=(`mplayer -vo help 2>/dev/null | perl -ne 's/^ //; s/ /:/; s/ /ÿ/g; print'`)
47 + vo=(`mplayer -vo help | perl -ne 's/ /ÿ/g; print if s/^ (\w+) (.+)$/$1:$2/'`)
49 + _describe "Video output" vo
53 +# compadd "$@" $(print ${(f)"$(mplayer -ao help 2>/dev/null | cut -f2 -d' ')"})
55 +# ao=(`mplayer -ao help 2>/dev/null | perl -ne 's/^ //; s/ /:/; s/ /ÿ/g; print'`)
56 + ao=(`mplayer -ao help | perl -ne 's/ /ÿ/g; print if s/^ (\w+) (.+)$/$1:$2/'`)
58 + _describe "Audio output" ao
61 +# TODO comment to the right
65 + vc=(`mplayer -vc help | perl -ne 'unless (/:/) {s/ +/ÿ/g; s/(\w+?)ÿ(\w+?)ÿ(\w+?)ÿ(.*)/$1:$4ÿ($2,ÿ$3)/; print}'`)
67 + _describe "Video codecs" vc
72 + ac=(`mplayer -ac help | perl -ne 'unless (/:/) {s/ +/ÿ/g; s/(\w+?)ÿ(\w+?)ÿ(\w+?)ÿ(.*)/$1:$4ÿ($2,ÿ$3)/; print}'`)
74 + _describe "Audio codecs" ac
79 + vop=(`mplayer -vf help | perl -ne 's/ +: /:/g; s/ /_/g; print if s/^__(\w+):(.+)$/$1\[$2\]/'`)
81 + _values -s , "Video filters" "$vop[@]"
85 + _values -s , "Audio output plugins" resample surround format volume extrastereo volnorm delay
88 +_mul_coefficient () {
89 + _values -s : "coefficient" "-1[swap channels]" "0[mono]" "1[normal]" "2.5[default]" "4[high]"
94 + opts=("fout[output frequency (Hz) - resample plugin]:frequency [Hz]:(21000 44100 48000)"
95 + "format[output format - format plugin]:format:_guard"
96 + "volume[volume level - volume plugin]:volume:(0 050 100 150 200 255)"
97 + "softclip[compressor - volume plugin]"
98 + "mul[coefficient - extrastereo plugin]:coefficient:_mul_coefficient"
99 + "delay[delay sound - delay plugin]:delay:(1 3 5)"
101 + _values -s : "Audio output plugins options" "list[list of plugins]:::_plugins" "$opts[@]"
106 + osds=(0:none 1:volume+seek 2:volume+seek+timer+percentage 3:volume+seek+timer+percentage+total)
107 + _describe "OSD level" osds
112 + icelays=(0:Desktop 2:Below 4:Normal 6:OnTop 8:Dock 10:AboveDock 12:Menu)
113 + _describe "IceWM layer" icelays
118 + '-osdlevel[OSD startpoint]:OSD level:_osdlevel' \
119 + '(-rootwin)-icelayer:icelayer:_icelayer' \
120 + '(-icelayer)-rootwin[play in root window]' \
121 + '(-ao -aop)-nosound[disable sound]' \
122 + '(-nosound)-ao[audio output]:audio output:_ao' \
123 + '(-nosound)*-aop[audio output filter]:audio output filter:_aop' \
124 + '-vo[video output]:video output:_vo' \
125 + '*-vf[video output filters]:video output filters:_vop' \
126 + '-vc[video codecs]:video codec:_vc' \
127 + '-ac[audio codecs]:audio codec:_ac' \
128 + '-flip[flip image]' \
129 + '-fs[enable fullscreen]' \
130 + '-zoom[enable software zoom]' \
131 + '-framedrop[enable frame dropping]' \
132 + '-hardframedrop[enable more intense frame dropping]' \
133 + '-double[enable doublebuffering]' \
134 + '-nobps[use interleave sync]' \
135 + '-ni[non-interleaved]' \
136 + '-idx[rebuild index]' \
137 + '-forceidx[force rebuilding of index]' \
138 + '(-nocache)-cache[cache size]:cache size:(1024 2048 4096 8192)' \
139 + '(-cache)-nocache[don'\''t use cache]' \
140 + '-noautosub[disable automatic subtitles]' \
141 + '*-sub[subtitles]:subtitles:_files -/ -g \*.\(\#i\)txt' \
142 + '*:mfiles:->mfiles' && return 0
145 + mfiles) _arguments \
146 + '*:multimedia file:_files -/ -g \*.\(\#i\)\(mp3\|mpg\|mpe\|mpeg\|m1v\|avi\|asf\|wma\|wmv\|asx\|mov\|qt\|rm\)'
149 \ No newline at end of file
150 diff -ruN zsh-4.0.6./Completion/Unix/Command/_pdf zsh-4.0.6/Completion/Unix/Command/_pdf
151 --- zsh-4.0.6./Completion/Unix/Command/_pdf Thu Jan 1 01:00:00 1970
152 +++ zsh-4.0.6/Completion/Unix/Command/_pdf Sat Nov 30 16:41:23 2002
154 +#compdef acroread pdf2dsc pdf2ps pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf pdfopt pdffonts
159 +# pdf2dsc pdf2ps pdfopt
161 +# pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf pdffonts
163 +if [[ "$1" == '-z' ]]; then
168 +_description files expl 'PDF file'
169 +_files "$@" "$expl[@]" -g "*.(#i)pdf$ext"
170 diff -ruN zsh-4.0.6./Completion/Unix/Command/_ps zsh-4.0.6/Completion/Unix/Command/_ps
171 --- zsh-4.0.6./Completion/Unix/Command/_ps Thu Jan 1 01:00:00 1970
172 +++ zsh-4.0.6/Completion/Unix/Command/_ps Sat Nov 30 17:02:30 2002
174 +#compdef ps2epsi ps2pdf psmulti pswrap ps2pdf12 ps2pdf13 ps2pdf14 ps2pdfwr ps2ps
179 +# ps2epsi ps2pdf ps2pdf12 ps2pdf13 ps2pdf14 ps2pdfwr ps2ps
181 +if [[ "$1" == '-z' ]]; then
186 +_description files expl 'PostScript file'
187 +_files "$@" "$expl[@]" -g "*.(#i)(ps|eps)$ext"
188 diff -ruN zsh-4.0.6./Completion/Unix/Command/_sms zsh-4.0.6/Completion/Unix/Command/_sms
189 --- zsh-4.0.6./Completion/Unix/Command/_sms Thu Jan 1 01:00:00 1970
190 +++ zsh-4.0.6/Completion/Unix/Command/_sms Fri Apr 4 20:17:13 2003
192 +#compdef sms smsaddr
194 +# Copyright (c) 2002 GoTaR <gotar@priv0.onet.pl>
197 +## compadd "$@" $(print ${(f)"$(smsaddr -l | cut -f1)"})
199 +# smsas=(`smsaddr -l | perl -ne 's/ +/:/; if (/^'$PREFIX'/) {print} else {if (/:'$PREFIX'/) {/^(.*):(.*)$/; print "$2:$1 "}}'`)
200 +# _describe "SMS alias" "smsas"
205 + smsas=(${(f)"$(smsaddr -l)"})
206 + smsas=(${smsas/ ##/:})
207 +#if [[ -n "$PREFIX$SUFFIX" ]]; then
208 + smsas=($smsas ${smsas/(#s)(#b)(^($PREFIX)*):(*)(#e)/$match[3]:$match[1]})
210 +# smsas=(${(M)smsas:#$PREFIX*})
211 + _describe "SMS alias" smsas
216 + smsas=(${(f)"$(smsaddr -l)"})
217 + smsas=(${smsas/ ##/:})
218 + _describe "SMS alias" smsas
222 +#smsaddr -l | while read alias number; do
223 +# if [[ $alias == $PREFIX*$SUFFIX || $number == $PREFIX*$SUFFIX ]]; then
224 +# compadd -U -- $alias
232 + '1:SMS alias or number:_sms_aliases' \
233 + ':message:_guard' \
234 + '--split[split to max n messages]:number of messages:(2 5 9)' \
235 + '--supersms[send via SuperSMS.pl gateway]' \
236 + '--czat[send via Idea.czat gateway]' \
237 + '--dlogin[login for Idea.czat]:login:_guard' \
238 + '--pf[send via Panorama Firm gateway]' \
239 + '--plusmail[send message to PlusGSM network via e-mail gateway, not www]' \
240 + '--cfg[config file]:config file:_files' \
241 + '--check[check for the new version of this program]' \
242 + '--from[sender e-mail adress for PlusGSM and Idea gateways]:e-mail:_guard' \
243 + '--ip[sender IP]:IP:_guard' \
244 + '--sign[set signature]:signature:_guard' \
249 + '(-r -l)-a[add new entry]:New entry name:_guard:Phone number:_guard' \
250 + '(-a -l)-r[remove existing entry]:SMS alias:_sms_alias' \
251 + '(-a -r)-l[list entry]:SMS alias:_sms_alias'