On Wed, 11 Aug 1999, Stanislav Malyshev a.k.a Frodo wrote:
THANKS !
FInally a sane voice among the croud.
What I meant is that most Unix utils are designed to DO SOMETHING when
they look for the control terminal (waiting for input, or write output),
and they have a decision making clause when they don't find it anymore.
Most just exit when they don't find it.....
--Ariel
> AB>> In fact, most Unix utilities will exit when losing the control terminal.
>
> Depends on what do you mean on "losing". If you do the following:
>
> run ftp
> background it while it's busy (i.e., not reading from terminal, like in
> downloading)
> desintegrate parent shell process (like kill -9)
>
> then ftp will happily survive. You'll lose any communication ability to
> it, though, and it will exit as soon as it tries to read user input
> (like, on finishing download). So it's practical to use screen when
> available.
>
> The point is that the absence of the controlling terminal by itself won't
> kill ftp, it's the shell that is losing it would. If you prevent shell
> from touching ftp, it will happily proceed until it needs terminal by
> itself. Then it discovers that it's gone and will decide what to do.
> --
> [EMAIL PROTECTED] \/There shall be counsels taken
> Stanislav Malyshev /\Stronger than Morgul-spells
> phone +972-3-9316425 /\ JRRT LotR.
> http://sharat.co.il/frodo/ whois:!SM8333
>
>
>
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
--
Ariel Biener
e-mail: [EMAIL PROTECTED] Work phone: 03-640608
fingerprint = 07 D1 E5 3E EF 6D E5 82 0B E9 21 D4 3C 7D 8B BC
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]