From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9332 invoked from network); 30 Jul 2003 06:10:48 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 30 Jul 2003 06:10:48 -0000 Received: (qmail 18324 invoked by alias); 30 Jul 2003 06:10:34 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6423 Received: (qmail 18314 invoked from network); 30 Jul 2003 06:10:33 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 30 Jul 2003 06:10:33 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [80.91.224.249] by sunsite.dk (MessageWall 1.0.8) with SMTP; 30 Jul 2003 6:10:33 -0000 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19hkAK-0007bt-00 for ; Wed, 30 Jul 2003 08:10:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19hjsw-0006jU-00 for ; Wed, 30 Jul 2003 07:52:26 +0200 From: Pol Subject: zsh function does dot get back in foreground Date: Wed, 30 Jul 2003 07:50:32 +0200 Organization: cstc Message-ID: Reply-To: xpol@interfree.it Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@main.gmane.org User-Agent: KNode/0.7.2 Sender: news 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