zsh-users
 help / color / mirror / code / Atom feed
From: Mirar <mirar@idonex.se>
To: zsh-users@math.gatech.edu
Subject: Re: misc compctl
Date: 24 Jan 1998 12:57:12 +0100	[thread overview]
Message-ID: <82lnw6t78n.fsf_-_@skuld.idonex.se> (raw)
In-Reply-To: Mirar's message of "24 Jan 1998 12:37:54 +0100"

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


  reply	other threads:[~1998-01-24 12:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-20 12:00 tar compctl Niall Smart
1998-01-20 17:51 ` CVS compctl Mirar
1998-01-23 21:22   ` man compctl Thomas Köhler
1998-01-24 11:37     ` Mirar
1998-01-24 11:57       ` Mirar [this message]
1998-01-29  2:33 misc compctl Alexius Ludeman

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=82lnw6t78n.fsf_-_@skuld.idonex.se \
    --to=mirar@idonex.se \
    --cc=zsh-users@math.gatech.edu \
    /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).