From owner-freebsd-questions Thu Jun 6 11:18:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 1240237B407 for ; Thu, 6 Jun 2002 11:18:18 -0700 (PDT) Received: from sdn-ar-003dcwashp260.dialsprint.net ([206.133.15.150] helo=moo.holy.cow) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 17G1pj-0004Ej-00; Thu, 06 Jun 2002 11:18:04 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id 2ECFF50CB8; Thu, 6 Jun 2002 14:20:38 -0400 (EDT) Date: Thu, 6 Jun 2002 14:20:38 -0400 From: parv To: Paul Everlund Cc: uwi mAn , questions@freebsd.org Subject: Re: ctrl-z Message-ID: <20020606182037.GA1920@moo.holy.cow> Mail-Followup-To: parv , Paul Everlund , uwi mAn , questions@freebsd.org References: <3CFF9F23.270F4672@cs.umu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CFF9F23.270F4672@cs.umu.se> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message <3CFF9F23.270F4672@cs.umu.se>, wrote Paul Everlund thusly... > > An example: > > # ls | more > > ...pressed ctrl-Z as more "paused" output... > > Suspended > [1] 18566 18567 > # jobs > [1] + Done ls | > Suspended more > # fg 1 > > Now job 1 is continuing, and 'more' are showing outout again. syntax "fg 1" works only in bash, doesn't work in (freebsd) sh, ksh93, and zsh 4.0.4; didn't try any other shell. otoh, as stated in another message, "fg %1" -- note the % -- works in all the shells. -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message