Commit Graph

8 Commits

Author SHA1 Message Date
Ned T. Crigler 76b04f84f0 Use non-blocking mode a little better by repeatedly trying to send data out to
the clients until at least one write worked and no error (other than EAGAIN)
occurred when writing to any of the clients. This way, complete data loss can
be avoided since at least one client must get all of the data.

Also make sure that stdin/stdout/stderr point to /dev/null instead of just
closing them, to avoid confusion.
2004-11-03 20:00:18 +00:00
Ned T. Crigler 05a6e1678e Try to set non-blocking mode when accepting new clients. 2004-10-04 20:19:08 +00:00
Ned T. Crigler a5599b4610 Allow the redraw method to be chosen by the user, and include the old Ctrl L
character method again.
2004-06-24 01:57:02 +00:00
Ned T. Crigler 302917ca33 First attempt at proper process group handling. 2004-06-23 04:48:07 +00:00
Ned T. Crigler abf2db3509 dtach 0.6 2004-05-26 17:30:44 +00:00
Ned T. Crigler 3653366fd8 Fix fd leakage.
Prevent atexit from being called twice on dtach -A.
2001-11-28 22:56:40 +00:00
Ned T. Crigler 203193838d Portability updates thanks to sourceforge's compile farm. dtach should now
work on: FreeBSD, Debian/alpha, Debian/sparc, Debian/PPC, and Solaris.
Bump version.
2001-11-05 20:02:58 +00:00
Ned T. Crigler 6ffbd82a64 initial import to sourceforge 2001-09-28 00:50:56 +00:00