From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14836 invoked from network); 30 Jul 2003 09:34:11 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 30 Jul 2003 09:34:11 -0000 Received: (qmail 24720 invoked by alias); 30 Jul 2003 09:33:54 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6424 Received: (qmail 24711 invoked from network); 30 Jul 2003 09:33:54 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 30 Jul 2003 09:33:54 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.183.235] by sunsite.dk (MessageWall 1.0.8) with SMTP; 30 Jul 2003 9:33:54 -0000 Received: from EXCHANGE02.csr.com (unverified) by MAILSWEEPER01.cambridgesiliconradio.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Wed, 30 Jul 2003 10:33:07 +0100 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 30 Jul 2003 10:34:13 +0100 To: zsh-users@sunsite.dk Subject: Re: zsh function does dot get back in foreground In-reply-to: "Pol"'s message of "Wed, 30 Jul 2003 07:50:32 +0200." Date: Wed, 30 Jul 2003 10:33:47 +0100 Message-ID: <23822.1059557627@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 30 Jul 2003 09:34:13.0743 (UTC) FILETIME=[BCF2B7F0:01C3567D] Pol wrote: > 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. Hmm... putting a function into the background does require some tricky code inside the shell, but your function seems to work for me on pipelines on zsh 4.1.1-dev-1. What version are you using? Do you have any even marginally relevant options set? -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************