zsh function does not get in foreground
From: pol (xpol_at_interfree.it)
Date: 07/30/03
- Next message: Alf: "scp strange behavior"
- Previous message: Chris F.A. Johnson: "Re: how to text edit from html format page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Jul 2003 05:46:48 GMT
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
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
- Next message: Alf: "scp strange behavior"
- Previous message: Chris F.A. Johnson: "Re: how to text edit from html format page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]