about summary refs log tree commit diff
path: root/Functions/Misc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-06 11:30:40 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-06 11:30:40 +0000
commitcc00ded216aac911c6fbb40f6d99273bec1c56f4 (patch)
tree16c31d9b5e967682815f4a22b4279f05085be32d /Functions/Misc
parentd69f5ffbc9aa67279f54f9353c94da7161e1164d (diff)
downloadzsh-cc00ded216aac911c6fbb40f6d99273bec1c56f4.tar.gz
zsh-cc00ded216aac911c6fbb40f6d99273bec1c56f4.tar.xz
zsh-cc00ded216aac911c6fbb40f6d99273bec1c56f4.zip
revert 7652-for-pws-3
Diffstat (limited to 'Functions/Misc')
-rw-r--r--Functions/Misc/nslookup34
1 files changed, 0 insertions, 34 deletions
diff --git a/Functions/Misc/nslookup b/Functions/Misc/nslookup
index 775e01e85..15afb2ff1 100644
--- a/Functions/Misc/nslookup
+++ b/Functions/Misc/nslookup
@@ -32,37 +32,3 @@ done
 
 print -p exit
 wait $pid
-# Simple wrapper function for `nslookup'. With completion if you are using
-# the function based completion system.
-
-setopt localoptions completealiases
-
-local char line compcontext=nslookup pid
-
-trap 'print -p exit;return' INT
-
-coproc command nslookup
-pid=$!
-
-while read -pk1 char; do
-  line="$line$char"
-  [[ "$line" = *'
-> ' ]] && break
-done
-print -nr - "$line"
-
-line=''
-while vared -p '> ' line; do
-  print -p "$line"
-  line=''
-  while read -pk1 char; do
-    line="$line$char"
-    [[ "$line" = *'
-> ' ]] && break
-  done
-  print -nr - "$line"
-  line=''
-done
-
-print -p exit
-wait $pid