Commit Graph

11 Commits

Author SHA1 Message Date
Ned T. Crigler 10e85a316b Update copyrights for 2008. 2008-01-29 22:27:53 +00:00
Ned T. Crigler 5dbd8fe920 Try to detect and remove stale sockets when dtach -A is used. Be
paranoid about this, and only remove the specified file if connect says
the connection was refused and stat says the file is a socket.

Also dtach -A now only tries to create the socket if the connection was
refused or the socket did not exist, instead of on any random error as
before.
2006-09-27 23:56:29 +00:00
Ned T. Crigler 5f6d552d2c Print an error message if we could not execute the desired command, instead of
exiting silently.

Also make sure the master process waits until the client attaches when using
the -A and -c modes, so that the error message has a chance of being seen.
2006-06-03 01:28:20 +00:00
Ned T. Crigler 21d386d004 Changed restore_term to remove the Linux-specific escape sequence to restore
the cursor size, which is handled incorrectly by some terminal emulators.
2004-08-25 23:31:06 +00:00
Ned T. Crigler 945e54166a Add an extra signal call to the win_change function to make sure the SIGWINCH
handler isn't reset on certain systems.
2004-07-01 23:31:39 +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 79b7d83ede Changed the attach code to be paranoid about checking the return value of
select when checking the file descriptors for activity.
2004-06-22 17:53:53 +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