From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: RE: nslookup (function) problem
Date: Fri, 5 May 2000 13:08:43 +0200 (MET DST) [thread overview]
Message-ID: <200005051108.NAA32332@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Andrej Borsenkow"'s message of Fri, 5 May 2000 14:01:19 +0400
Andrej Borsenkow wrote:
> > + if [[ -n "$pager" && ${#${(f)line}} -gt LINES ]]; then
> > + print -nr "$line" | "$pager"
>
> :-)))
>
> bor@itsrm2% export PAGER='less -c'
> bor@itsrm2% nslookup
> Default Server: mowd017a.mow.siemens.ru
> Address: 139.24.18.1
>
> > ?
> nslookup:37: command not found: less -c
> >
Ok, ok... ;-)
Bye
Sven
Index: Functions/Misc/nslookup
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Misc/nslookup,v
retrieving revision 1.2
diff -u -r1.2 nslookup
--- Functions/Misc/nslookup 2000/05/05 08:52:41 1.2
+++ Functions/Misc/nslookup 2000/05/05 11:07:54
@@ -34,7 +34,7 @@
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
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
reply other threads:[~2000-05-05 11:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200005051108.NAA32332@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/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).