I downloaded and built dtach from CVS. This fixes the issue when dtach is run with </dev/null as input, however it still does not work as intended when run at boot time from crontab.
~$ crontab -l | grep irssi @reboot /home/bb/bin/dtach -n ~/.dtach/irssi irssi 2>&1 > ~/.dtach/irssi.cron ~$ cat ~/.dtach/irssi.cron ~$ ls -l ~/.dtach/ total 0 -rw-r--r-- 1 bb bb 0 2007-08-28 21:19 irssi.cron ~$ /home/bb/bin/dtach -n ~/.dtach/irssi irssi < /dev/null ~$ ls -l ~/.dtach/ total 0 srw------- 1 bb bb 0 2007-08-28 21:42 irssi -rw-r--r-- 1 bb bb 0 2007-08-28 21:19 irssi.cron The line in crontab should create an instance of dtach running irssi but not attached to any terminal. Any output is saved to ~/.dtach/irssi.cron As you see, the file ~/.dtach/irssi.cron is created but is empty. The special file ~/.dtach/irssi has not been created. When the same command is run from an interactive shell, the special file is created. I think it should be easy to repeat this test, say with bash instead of irssi if preferred. Thanks. Cheers, -bernie. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]