Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Newbie zsh setup warts (history, pipes, export, ...).
- X-seq: zsh-users 8116
- From: Jason Price <jprice@xxxxxxxxxxxxxxxxxxxx>
- To: mailing list zsh-users <zsh-users@xxxxxxxxxx>
- Subject: Re: Newbie zsh setup warts (history, pipes, export, ...).
- Date: Mon, 25 Oct 2004 15:16:33 -0400
- In-reply-to: <20041025162529.GA10681@xxxxxxxxxxxxxxxxxxx>; from keeling@xxxxxxxxxxx on Mon, Oct 25, 2004 at 10:25:29AM -0600
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20041024230623.GA3675@xxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.61.0410241803320.23496@xxxxxxxxxxxxxxxxxx> <20041025060804.GA20740@xxxxxxxxx> <20041025162529.GA10681@xxxxxxxxxxxxxxxxxxx>
> Now, I'm hoping to sort out the difference in backgrounded jobs.
> Specifically I can't say "sync & exit" anymore, or "startx & exit"
> either. Is this what "&!" is for? I tried "nohup startx & exit"
> yesterday and that seemed to just instantly kill the startx process.
&! stands for (roughly) 'background and disown'. You've always been able
to background jobs. And if you started them correctly (aka with nohup) you
could log out, and the job wouldn't care (the 'hup' signal handler was
set).
zsh still allows nohup, but there's also a 'disown' builtin. You can
disown a job, and it won't die when you log out either. You can do this
post run time with 'disown %3' or the like (where %3 is the job number
gleaned from 'jobs').
The way to do this at runtime is to say 'your command and args &!'.
So, theoretically, 'startx &! ; exit' will work if you don't mind loosing
the short circuit. Though I havn't needed to run startx in years...
### PROCMAIL STUFF
This works fairly well for me:
:0
* (^TO_|^Sender:[ ]+owner-)zsh
zsh-list.spool
:0
* ^From:.*schaefer@xxxxxxxxxxxxxxxx
* ^From:.*pws@xxxxxxx
zsh-list.spool
I have no idea what PWS or Bart are/were doing with their mail to break
that procmail recipe, but once I did the hack below, the problem went away.
--Jason
- References:
- Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author