Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: misc compctl
- X-seq: zsh-users 1274
- From: Mirar <mirar@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: misc compctl
- Date: 24 Jan 1998 12:57:12 +0100
- In-reply-to: Mirar's message of "24 Jan 1998 12:37:54 +0100"
- References: <E0xucM7-00074S-00@xxxxxxxxxxxxxxxxxx> <82hg6zowz8.fsf@xxxxxxxxxxx> <19980123222236.60814@xxxxxxxxxxxxxxxxx> <82n2gmt84t.fsf@xxxxxxxxxxxxxxx>
And here is ssh, nslookup, other network stuff and gdb:
hosts=(fixed list of my computers)
or
hosts=($(echo ls $(echo | nslookup | sed -n '1s/^[^.]*\.\(.*\)$/\1/p') | nslookup 2>&1 | sed '1,4d' | awk '{print $1}' | grep -v '\.$' | grep -v '>' | sort))
or something...
compctl -k "($hosts -l -n -a -x -i -t -v -q -f -e -c -p -L -R -C -o)" \
-x "c[-1,-l]" -u \
- "c[-1,-i]" -f \
- "c[-1,-e]" -k "(~ none)" \
- "c[-1,-c]" -k "(idea des 3des tss arcfour none)" \
- "c[-1,-p]" -k ports \
- "c[-1,-L] c[-1,-R] c[-1,-o]" -k "()" \
-- ssh
compctl -k hosts \
-x "n[1,-class=]" -k "(any in chaos hesiod)" \
- "n[1,-query=]" -k "(a cname hinfo md mx mb mg minfo ns ptr soa txt uinfo wks any)" \
-- + -k "(-query= -all\ -class= -d2\ -nod2\ -debug\ -nodebug\ -defname\ -nodefname\ -domain= -ignoretc\ -noignoretc\ )" -Q -S '' \
nslookup
compctl -k hosts \
-x "C[-1,[^-]*] p[2,-1]" -k ports \
-- + -k "(-8 -E -L -a -d -e -l -n -r)" \
telnet
compctl -k "($hosts -s -d -l -L -n -r -R -v -i -I -t)" ping
compctl -x 'N[-1,@]' -k hosts - 's[]' -u -S '' -- finger talk
compctl -g "*(*)" -k "(-help -nx -q -batch -cd -f -b -tty -exec -se -core -symbols -c -x -d)" \
-x "p[1],C[-2,(-cd|-directory|-core|-c|-se|-exec|-symbols|-command|-x)]" -g "*(*)" -k "(-help -nx -q -batch -cd -f -b -tty -exec -se -core -symbols -c -x -d)" \
- "C[-1,(-cd|-directory)]" -g '*(-/)' \
- "C[-1,(-core|-c)]" -g 'core*' \
- "C[-1,(-se|-exec)]" -g '*(*)' \
- "C[-1,(-symbols|-command|-x)]" -g '*' \
- "C[-1,[^-]*]" -g "core*" \
-- gdb
Messages sorted by:
Reverse Date,
Date,
Thread,
Author