From: Alister Waller (Awaller at domain Staffmail.wit.ie)
Date: Wed 05 May 1999 - 15:04:29 IST
I tried the fg %2 and it did not work for pine, fg %1 seemed to work
but when I tried cntrl-x to send the mail it didn't do anything. All I
could do was cntrl-c to quit.
has anyone tried it using pine?????
alister
Date sent: Wed, 5 May 1999 12:14:51 +0100
From: John Gaughan <elric at domain csn.ul.ie>
To: ilug at domain linux.ie
Subject: [ILUG] Re: restart process
> On Wed, 05 May 1999, Raymond Kelly wrote:
> [...]
> >
> > fg #2 will bring back pine
> > fg #1 would do the same for tin etc etc
> > This may well be very shell dependant but I'm not sure (I'm a tcsh user
> > & it's Dave Airlie's fault)
>
> Yup, bash and zsh (at least as I have them set-up) treat everything after
> the '#' character as a comment, so the number of the job you want to bring
> to the foreground doesn't get passed to fg. You should use the '%'
> character instead, and this will work with all three shelss mentioned here.
>
> So, changing Ray's example here, 'fg %2' would bring back pine, and 'fg %1'
> would do bring tin to the foreground.
>
> J.
>
> --
> John Gaughan http://www.csn.ul.ie/~elric
> Skynet FTP Administrator http://skynet.csn.ul.ie
>
> --
> Irish Linux Users' Group: ilug at domain linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at domain linux.ie
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:11 GMT