From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7332 invoked from network); 30 Jul 2003 09:47:12 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 30 Jul 2003 09:47:12 -0000 Received: (qmail 27222 invoked by alias); 30 Jul 2003 09:47:00 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6425 Received: (qmail 26201 invoked from network); 30 Jul 2003 09:40:19 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 30 Jul 2003 09:40:19 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [203.24.36.2] by sunsite.dk (MessageWall 1.0.8) with SMTP; 30 Jul 2003 9:40:18 -0000 Received: (qmail 24803 invoked by uid 8); 30 Jul 2003 09:40:16 -0000 To: zsh-users@sunsite.dk Path: not-for-mail From: Geoff Wing X-Newsgroups: lists.zsh.users Subject: Re: zsh function does dot get back in foreground Date: Wed, 30 Jul 2003 09:40:16 +0000 (UTC) Organization: PrimeNet Computer Consultants Message-ID: References: <23822.1059557627@csr.com> Reply-To: mason@primenet.com.au NNTP-Posting-Host: sparkles.primenet.com.au X-Trace: coral.primenet.com.au 1059558016 25361 203.43.15.10 (30 Jul 2003 09:40:16 GMT) X-Complaints-To: usenet@coral.primenet.com.au NNTP-Posting-Date: Wed, 30 Jul 2003 09:40:16 +0000 (UTC) User-Agent: slrn/0.9.7.4 (NetBSD) Peter Stephenson typed: :> 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? For me, the pager gets a TTIN or TTOU or similar. So fg'ing it puts a stopped task in the foreground. A simple CONT gets everything going. Don't know whether that's necessarily appropriate for all backgrounded tasks put into the foreground. Regards, Geoff