| Age | Commit message (Collapse) | Author |
|
|
|
dtach was assuming that writes with a small byte count could never fail,
and was not handling partial writes for larger byte counts in a few
places.
This should also suppress unused result warnings from gcc on systems
that define _FORTIFY_SOURCE by default.
|
|
This allows one to have executables starting with -; another side-effect
of this patch is that in case dtach is used in a script where we can't
trust the user input, now the user is not able to inject new options
that are interpreted by dtach; (for example it is used like dtach -c
socket -- ${@}
(cherry picked from commit ff35a7e791225f8d28a27033658070bbb4caa5ff)
|
|
Use http://www.gnu.org/licenses/ instead of a postal address as
suggested in PR #7.
|
|
|
|
|
|
dtach -p copies the contents of standard input to a session.
Based on an initial patch by @johnlane.
|
|
dtach -N is similar to dtach -n, except dtach will not daemonize.
Based on patches by Ciprian Dorin Craciun and Frank Hunleth.
|
|
|
|
|
|
printing an error message.
|
|
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.
|
|
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.
|
|
present when dtach is started, we now rely on whatever default terminal
settings the kernel uses.
|
|
|
|
character method again.
|
|
|
|
|
|
work on: FreeBSD, Debian/alpha, Debian/sparc, Debian/PPC, and Solaris.
Bump version.
|
|
|