Commit Graph

16 Commits

Author SHA1 Message Date
Ned T. Crigler 3e2834966f Update copyrights for 2016. 2016-05-08 17:55:34 -07:00
Ned T. Crigler c794d0615c Update copyrights for 2015. 2015-07-18 13:13:18 -07:00
Ned T. Crigler 087e89f7a8 Add dtach -p.
dtach -p copies the contents of standard input to a session.

Based on an initial patch by @johnlane.
2015-07-18 13:13:09 -07:00
Ned T. Crigler c7b68ae3fa Add dtach -N.
dtach -N is similar to dtach -n, except dtach will not daemonize.

Based on patches by Ciprian Dorin Craciun and Frank Hunleth.
2014-08-04 12:46:30 -07:00
Ned T. Crigler 4e2a059044 Fix -e ^<char> to work with lowercase characters. 2008-01-31 04:56:30 +00:00
Ned T. Crigler 10e85a316b Update copyrights for 2008. 2008-01-29 22:27:53 +00:00
Ned T. Crigler 0b9fe28288 Always assume that stdin is not a terminal when tcgetattr fails, instead of
printing an error message.
2007-04-23 18:12:31 +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 3b070abf7a Allow the dtach -n mode to be used without a terminal. If a terminal is not
present when dtach is started, we now rely on whatever default terminal
settings the kernel uses.
2005-04-10 19:38:43 +00:00
Ned T. Crigler c869233b97 Add documentation for the new redraw option. 2004-07-01 17:17:29 +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 abf2db3509 dtach 0.6 2004-05-26 17:30:44 +00:00
Ned T. Crigler b87318d1f3 Bump version. 2001-11-30 23:25:21 +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