about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Functions/Misc/nslookup2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 73c92ce9b..0e80d7461 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-05  Sven Wischnowsky  <wischnow@informatik.hu-berlin.de>
+
+	* 11186: Functions/Misc/nslookup: use `eval' in nslookup for
+ 	pager, in case someone has PAGER='less -foo' or some such
+	
 2000-05-05  Oliver Kiddle  <opk@zsh.org>
 
 	* 11184: Completion/User/.distfiles, Completion/User/_bzip2,
diff --git a/Functions/Misc/nslookup b/Functions/Misc/nslookup
index e03e55cd5..79d76dbe5 100644
--- a/Functions/Misc/nslookup
+++ b/Functions/Misc/nslookup
@@ -34,7 +34,7 @@ while line=''; vared -he "$pmpt[@]" line; do
   zpty -r nslookup line '*
 > '
   if [[ -n "$pager" && ${#${(f)line}} -gt LINES ]]; then
-    print -nr "$line" | "$pager"
+    print -nr "$line" | eval "$pager"
   else
     print -nr "$line"
   fi