河野真治 @ 琉球大学情報工学です。

In article <ul87jkbx9j9.fsf@pine.yorie.netside.co.jp>, MOCHIDA Shuji <mochid@netside.co.jp> writes
> > これでも問題ないんじゃないかなぁ。nohup しなくても入出力しな
> > ければ落ちないはずです。
>  シェルが bash や zsh なら disown が使えます。でも端末への出力は
> 消えちゃいますね。

(やっぱり zsh に乗り換えないと....)

Terminal を外すのは、redirect が簡単なので、nohup は使ったことない
です。

man termios すると、

   Modem Disconnect
     If a modem disconnect is detected by the terminal interface for a con-
     trolling terminal, and if CLOCAL is not set in the c_cflag field for the
     terminal, the SIGHUP signal is sent to the controlling process associated
     with the terminal.  

なわけで、SIGHUPを止めないと落ちちゃうはずなわけですが...

---
Shinji KONO @ Information Engineering, University of the Ryukyus
河野真治 @ 琉球大学工学部情報工学科