zsh-users
 help / color / mirror / code / Atom feed
From: Pol <xpol@interfree.it>
To: zsh-users@sunsite.dk
Subject: zsh function does dot get back in foreground
Date: Wed, 30 Jul 2003 07:50:32 +0200	[thread overview]
Message-ID: <bg7mep$ouf$1@main.gmane.org> (raw)

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




             reply	other threads:[~2003-07-30  6:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-30  5:50 Pol [this message]
2003-07-30  9:33 ` Peter Stephenson
2003-07-30  9:40   ` Geoff Wing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='bg7mep$ouf$1@main.gmane.org' \
    --to=xpol@interfree.it \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).