Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh function does dot get back in foreground
- X-seq: zsh-users 6423
- From: Pol <xpol@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: zsh function does dot get back in foreground
- Date: Wed, 30 Jul 2003 07:50:32 +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: cstc
- Reply-to: xpol@xxxxxxxxxxxx
- Sender: news <news@xxxxxxxxxxxxxx>
I am using the function
m () {
$PAGER $PAGEROPTS $*
}
to view files.
As i view single files, it is ok, but as i use that fuction to view the
'diff' command out put, e.g.:
% diff file1 file2 |m
i cannot recover the output after the 'm' function has been put in the
beckground.
Entering
% fg
seems to reget 'm' in foreground, but 'diff' out is not displayed on
terminal any more.
The only way out is to kill 'm'.
If 'more' or 'less' is used instead, everything is ok.
What is wrong?
thank you
--
Pol
Messages sorted by:
Reverse Date,
Date,
Thread,
Author