From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3746 invoked from network); 5 May 2000 08:24:12 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 5 May 2000 08:24:12 -0000 Received: (qmail 4428 invoked by alias); 5 May 2000 08:24:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11174 Received: (qmail 4416 invoked from network); 5 May 2000 08:24:04 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "Sven Wischnowsky" , Subject: RE: nslookup (function) problem Date: Fri, 5 May 2000 12:23:59 +0400 Message-ID: <000001bfb66b$437e74a0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <200005041449.QAA11775@beta.informatik.hu-berlin.de> > > - Does it use other environment variables? If so, which. In which > order? I.e. which one overrides all others? > - If $PAGER is not set, does it use a default pager or does it just > dump the help to the output? I.e. is it enough to locally unset > PAGER in nslookup() or should we locally export PAGER=cat? > Unsetting PAGER runs it through `more' (obviously, default - but this PAGER story is not documented anywhere). Setting PAGER=cat does the trick ... almost. The problem is, now the ability to page output is lost. Hmm ... may be extend nslookup function in the same way (probably, using style to turn it on/off)? If output has more lines than fit on screen, run it through PAGER? -andrej