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

Re: how to attach a daemon process to a terminal



Vijaymahantesh Kalakoti (vijayck@sasken.com) said:
> I want to attach a daemon process back to a terminal & also detach from 
> the terminal whenever I want( to read & write from the stdin & stdout 
> respectively ).  Is there any way of doing this?

Look into GNU screen (http://gnu.org/software/screen/) or detachtty
(ftp://ftp.linux.org.uk/pub/lisp/detachtty/).

-- 
Adam Lazur, Cluster Monkey

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/