Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jun 2002 22:44:01 +0200
From:      Paul Everlund <tdv94ped@cs.umu.se>
To:        parv <parv@pair.com>
Cc:        uwi mAn <uwiman3k@hotmail.com>, questions@freebsd.org
Subject:   Re: ctrl-z
Message-ID:  <3CFFC991.836BCE8F@cs.umu.se>
References:  <F9MP8s0e7VlcMU1eiiO00013381@hotmail.com> <3CFF9F23.270F4672@cs.umu.se> <20020606182037.GA1920@moo.holy.cow>

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

You are most certainly correct, but with tcsh, which I'm using,
it seems to work ok with 'fg 1'. At least it has done so up to
this very moment.

Should probably write which shell I'm using next time I'm ans-
wering a shell-question. :-)

Best regards,
Paul

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?3CFFC991.836BCE8F>