zsh-users
 help / color / mirror / code / Atom feed
From: Jason Price <jprice@cyberbuzz.gatech.edu>
To: mailing list zsh-users <zsh-users@sunsite.dk>
Subject: Re: Newbie zsh setup warts (history, pipes, export, ...).
Date: Mon, 25 Oct 2004 15:16:33 -0400	[thread overview]
Message-ID: <20041025151633.A27126@redfish.gatech.edu> (raw)
In-Reply-To: <20041025162529.GA10681@infidel.spots.ab.ca>; from keeling@spots.ab.ca on Mon, Oct 25, 2004 at 10:25:29AM -0600

> 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@brasslantern.com
* ^From:.*pws@csr.com
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


  parent reply	other threads:[~2004-10-25 19:26 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-24 23:06 s. keeling
2004-10-25  0:05 ` Clint Adams
     [not found]   ` <20041024232633.GB9382@lorien.comfychair.org>
2004-10-25  1:35     ` s. keeling
2004-10-25 10:19   ` Oliver Kiddle
2004-10-25  1:11 ` Bart Schaefer
2004-10-25  6:08   ` Wayne Davison
2004-10-25 16:25     ` s. keeling
2004-10-25 18:52       ` Juhapekka Tolvanen
2004-10-25 19:16       ` Jason Price [this message]
2004-10-26  3:57         ` s. keeling
2004-10-26  4:15           ` [ION Info #SZW-77636-264]: " s. keeling
2004-10-26  8:46           ` Olivier Tharan
2004-10-26 11:48           ` Nikolai Weibull
2004-10-26 15:16             ` s. keeling
2004-10-26 15:54               ` Nikolai Weibull
2004-10-26 16:27                 ` Bart Schaefer
2004-10-26 17:45                   ` Nikolai Weibull
2004-10-26 18:00                   ` s. keeling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041025151633.A27126@redfish.gatech.edu \
    --to=jprice@cyberbuzz.gatech.edu \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).