Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: zfdir pager selection
- X-seq: zsh-workers 9121
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: zfdir pager selection
- Date: Mon, 20 Dec 1999 10:31:18 -0500
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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
# }
Messages sorted by:
Reverse Date,
Date,
Thread,
Author