Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2002 14:20:38 -0400
From:      parv <parv@pair.com>
To:        Paul Everlund <tdv94ped@cs.umu.se>
Cc:        uwi mAn <uwiman3k@hotmail.com>, questions@freebsd.org
Subject:   Re: ctrl-z
Message-ID:  <20020606182037.GA1920@moo.holy.cow>
In-Reply-To: <3CFF9F23.270F4672@cs.umu.se>
References:  <F9MP8s0e7VlcMU1eiiO00013381@hotmail.com> <3CFF9F23.270F4672@cs.umu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020606182037.GA1920>