[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: process w/o attached tty?



On Thu, Jun 28, 2001 at 01:35:04AM -0700, Geoff Ludwiczak wrote:
> Hey, I have a question for you guys.  Can you run a program and 
> make it detach itself from the tty you run it from?  Like say I 
> open up an eterm, run xmms from it and then decide to close down
> eterm, but it'll close xmms with it.  Any way to get it so it
> doesn't close xmms as well?

A tty isn't really the same thing as an Eterm, but anyway to do
what you want the simplest way is to run xmms in the background
before closing the Eterm. You can do this by running xmms with:

xmms &

(goes straight away into the background, you can do what you like
with the Eterm)

or, if you've already run xmms and later want to get rid of the
Eterm:

Click somewhere in the Eterm to get it's attention.
Hit <Ctrl-Z> to temporarily stop xmms - it'll give
you a message something like [1]+ Stopped  xmms, and
a prompt. Type bg, to background xmms, and then do
what you like with the Eterm. 



Reply to: