zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: zfdir pager selection
@ 1999-12-20 15:31 Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 1999-12-20 15:31 UTC (permalink / raw)
  To: zsh-workers

Trying to use :more as a pager doesn't work too well here.

Index: Functions/Zftp/zfdir
===================================================================
RCS file: /cvs/zsh/zsh/Functions/Zftp/zfdir,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 zfdir
--- Functions/Zftp/zfdir	1999/12/15 21:33:38	1.1.1.3
+++ Functions/Zftp/zfdir	1999/12/20 15:28:30
@@ -98,11 +98,11 @@
 else
   if (zftp test); then
     # Works OK in subshells
-    zftp dir $* | tee $file | eval ${PAGER-:more}
+    zftp dir $* | tee $file | eval ${PAGER:-more}
   else
     # Doesn't work in subshells (IRIX 6.2 --- why?)
     zftp dir $* >$file
-    eval ${PAGER-:more} $file
+    eval ${PAGER:-more} $file
   fi
 fi
 # }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-12-20 15:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-20 15:31 PATCH: zfdir pager selection Clint Adams

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).