dtach 0.7
This commit is contained in:
parent
945e54166a
commit
5c668a88cb
|
|
@ -9,8 +9,9 @@ VPATH = $(srcdir)
|
||||||
OBJ = attach.o master.o main.o
|
OBJ = attach.o master.o main.o
|
||||||
SRC = $(srcdir)/attach.c $(srcdir)/master.c $(srcdir)/main.c
|
SRC = $(srcdir)/attach.c $(srcdir)/master.c $(srcdir)/main.c
|
||||||
|
|
||||||
TARFILES = $(srcdir)/README $(srcdir)/COPYING $(srcdir)/*.in $(srcdir)/*.c \
|
TARFILES = $(srcdir)/README $(srcdir)/COPYING $(srcdir)/Makefile.in \
|
||||||
$(srcdir)/*.h $(srcdir)/dtach.spec $(srcdir)/configure \
|
$(srcdir)/config.h.in $(SRC) \
|
||||||
|
$(srcdir)/dtach.h $(srcdir)/dtach.spec $(srcdir)/configure \
|
||||||
$(srcdir)/configure.ac $(srcdir)/dtach.1
|
$(srcdir)/configure.ac $(srcdir)/dtach.1
|
||||||
|
|
||||||
dtach: $(OBJ)
|
dtach: $(OBJ)
|
||||||
|
|
|
||||||
38
README
38
README
|
|
@ -56,9 +56,10 @@ program will be executed. If it does exist, then dtach will attach to
|
||||||
the existing session.
|
the existing session.
|
||||||
|
|
||||||
dtach has another attach mode, which is specified by using -a. The -a
|
dtach has another attach mode, which is specified by using -a. The -a
|
||||||
mode attaches to an already existing session, but will not create a
|
mode attaches to an already existing session, but will not create a new
|
||||||
new session. Each attaching process can have a separate detach character
|
session. Each attaching process can have a separate detach character,
|
||||||
and suspend behavior, which are explained in the following sections.
|
suspend behavior, and redraw method, which are explained in the
|
||||||
|
following sections.
|
||||||
|
|
||||||
dtach is able to attach to the same session multiple times, though you
|
dtach is able to attach to the same session multiple times, though you
|
||||||
will likely encounter problems if your terminals have different window
|
will likely encounter problems if your terminals have different window
|
||||||
|
|
@ -94,7 +95,34 @@ the program to be suspended.
|
||||||
Processing of the suspend key can be disabled by supplying the -z option
|
Processing of the suspend key can be disabled by supplying the -z option
|
||||||
to dtach when attaching.
|
to dtach when attaching.
|
||||||
|
|
||||||
5. CHANGES
|
5. REDRAW METHOD
|
||||||
|
|
||||||
|
When attaching, dtach can use one of three methods to redraw the screen
|
||||||
|
(none, ctrl_l, or winch). By default, dtach uses the ctrl_l method,
|
||||||
|
which simply sends a ^L (Ctrl-L) character to the program if the
|
||||||
|
terminal is in character-at-a-time and no-echo mode. The winch method
|
||||||
|
forces a WINCH signal to be sent to the program, and the none method
|
||||||
|
disables redrawing completely.
|
||||||
|
|
||||||
|
For example, this command tells dtach to attach to a session at
|
||||||
|
/tmp/foozle and use the winch redraw method:
|
||||||
|
|
||||||
|
$ dtach -a /tmp/foozle -r winch
|
||||||
|
|
||||||
|
When creating a new session (with the -c or -A modes), the specified
|
||||||
|
method is used as the default redraw method for the session.
|
||||||
|
|
||||||
|
6. CHANGES
|
||||||
|
|
||||||
|
The changes in version 0.7 are:
|
||||||
|
- The redraw method can now be explicitly specified on the command line
|
||||||
|
(either no redraw at all, the old ^L character method, and the new WINCH
|
||||||
|
signal method), since many programs only handle one or the other properly.
|
||||||
|
- Changed the default redraw method back to the old ^L character method.
|
||||||
|
- Changed the attach code to check the return value of select more carefully.
|
||||||
|
- Changed the SIGWINCH handler to reinstall itself, to handle systems that
|
||||||
|
always reset the handler.
|
||||||
|
- Added more proper process group handling.
|
||||||
|
|
||||||
The changes in version 0.6 are:
|
The changes in version 0.6 are:
|
||||||
- Redraws are now handled by sending the child process a WINCH signal instead
|
- Redraws are now handled by sending the child process a WINCH signal instead
|
||||||
|
|
@ -127,7 +155,7 @@ The changes in version 0.3 are:
|
||||||
- Added some more autoconf checks.
|
- Added some more autoconf checks.
|
||||||
- Initial sourceforge release.
|
- Initial sourceforge release.
|
||||||
|
|
||||||
6. AUTHOR
|
7. AUTHOR
|
||||||
|
|
||||||
dtach is (C)Copyright 2004 Ned T. Crigler, and is under the GNU General
|
dtach is (C)Copyright 2004 Ned T. Crigler, and is under the GNU General
|
||||||
Public License.
|
Public License.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.59 for dtach 0.6.
|
# Generated by GNU Autoconf 2.59 for dtach 0.7.
|
||||||
#
|
#
|
||||||
# Report bugs to <crigler@users.sourceforge.net>.
|
# Report bugs to <crigler@users.sourceforge.net>.
|
||||||
#
|
#
|
||||||
|
|
@ -269,8 +269,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
|
||||||
# Identity of this package.
|
# Identity of this package.
|
||||||
PACKAGE_NAME='dtach'
|
PACKAGE_NAME='dtach'
|
||||||
PACKAGE_TARNAME='dtach'
|
PACKAGE_TARNAME='dtach'
|
||||||
PACKAGE_VERSION='0.6'
|
PACKAGE_VERSION='0.7'
|
||||||
PACKAGE_STRING='dtach 0.6'
|
PACKAGE_STRING='dtach 0.7'
|
||||||
PACKAGE_BUGREPORT='crigler@users.sourceforge.net'
|
PACKAGE_BUGREPORT='crigler@users.sourceforge.net'
|
||||||
|
|
||||||
ac_unique_file="main.c"
|
ac_unique_file="main.c"
|
||||||
|
|
@ -780,7 +780,7 @@ if test "$ac_init_help" = "long"; then
|
||||||
# Omit some internal or obsolete options to make the list less imposing.
|
# Omit some internal or obsolete options to make the list less imposing.
|
||||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||||
cat <<_ACEOF
|
cat <<_ACEOF
|
||||||
\`configure' configures dtach 0.6 to adapt to many kinds of systems.
|
\`configure' configures dtach 0.7 to adapt to many kinds of systems.
|
||||||
|
|
||||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||||
|
|
||||||
|
|
@ -837,7 +837,7 @@ fi
|
||||||
|
|
||||||
if test -n "$ac_init_help"; then
|
if test -n "$ac_init_help"; then
|
||||||
case $ac_init_help in
|
case $ac_init_help in
|
||||||
short | recursive ) echo "Configuration of dtach 0.6:";;
|
short | recursive ) echo "Configuration of dtach 0.7:";;
|
||||||
esac
|
esac
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
|
|
||||||
|
|
@ -949,7 +949,7 @@ fi
|
||||||
test -n "$ac_init_help" && exit 0
|
test -n "$ac_init_help" && exit 0
|
||||||
if $ac_init_version; then
|
if $ac_init_version; then
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
dtach configure 0.6
|
dtach configure 0.7
|
||||||
generated by GNU Autoconf 2.59
|
generated by GNU Autoconf 2.59
|
||||||
|
|
||||||
Copyright (C) 2003 Free Software Foundation, Inc.
|
Copyright (C) 2003 Free Software Foundation, Inc.
|
||||||
|
|
@ -963,7 +963,7 @@ cat >&5 <<_ACEOF
|
||||||
This file contains any messages produced by compilers while
|
This file contains any messages produced by compilers while
|
||||||
running configure, to aid debugging if configure makes a mistake.
|
running configure, to aid debugging if configure makes a mistake.
|
||||||
|
|
||||||
It was created by dtach $as_me 0.6, which was
|
It was created by dtach $as_me 0.7, which was
|
||||||
generated by GNU Autoconf 2.59. Invocation command line was
|
generated by GNU Autoconf 2.59. Invocation command line was
|
||||||
|
|
||||||
$ $0 $@
|
$ $0 $@
|
||||||
|
|
@ -4358,7 +4358,7 @@ _ASBOX
|
||||||
} >&5
|
} >&5
|
||||||
cat >&5 <<_CSEOF
|
cat >&5 <<_CSEOF
|
||||||
|
|
||||||
This file was extended by dtach $as_me 0.6, which was
|
This file was extended by dtach $as_me 0.7, which was
|
||||||
generated by GNU Autoconf 2.59. Invocation command line was
|
generated by GNU Autoconf 2.59. Invocation command line was
|
||||||
|
|
||||||
CONFIG_FILES = $CONFIG_FILES
|
CONFIG_FILES = $CONFIG_FILES
|
||||||
|
|
@ -4418,7 +4418,7 @@ _ACEOF
|
||||||
|
|
||||||
cat >>$CONFIG_STATUS <<_ACEOF
|
cat >>$CONFIG_STATUS <<_ACEOF
|
||||||
ac_cs_version="\\
|
ac_cs_version="\\
|
||||||
dtach config.status 0.6
|
dtach config.status 0.7
|
||||||
configured by $0, generated by GNU Autoconf 2.59,
|
configured by $0, generated by GNU Autoconf 2.59,
|
||||||
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
AC_INIT(dtach, 0.6, crigler@users.sourceforge.net)
|
AC_INIT(dtach, 0.7, crigler@users.sourceforge.net)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_CONFIG_SRCDIR(main.c)
|
AC_CONFIG_SRCDIR(main.c)
|
||||||
AC_CONFIG_HEADER(config.h)
|
AC_CONFIG_HEADER(config.h)
|
||||||
|
|
|
||||||
2
dtach.1
2
dtach.1
|
|
@ -1,4 +1,4 @@
|
||||||
.TH dtach 1 "May 2004" "dtach 0.6"
|
.TH dtach 1 "Jul 2004" "dtach 0.7"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
dtach \- simple program that emulates the detach feature of screen.
|
dtach \- simple program that emulates the detach feature of screen.
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
Summary: A simple program that emulates the detach feature of screen.
|
Summary: A simple program that emulates the detach feature of screen.
|
||||||
Name: dtach
|
Name: dtach
|
||||||
Version: 0.6
|
Version: 0.7
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://dtach.sourceforge.net
|
URL: http://dtach.sourceforge.net
|
||||||
|
|
@ -43,6 +43,9 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version}
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 3 2004 Ned T. Crigler <crigler@users.sourceforge.net> 0.7
|
||||||
|
- New release
|
||||||
|
|
||||||
* Fri Nov 30 2001 Ned T. Crigler <crigler@hell-city.org> 0.5
|
* Fri Nov 30 2001 Ned T. Crigler <crigler@hell-city.org> 0.5
|
||||||
- Fix fd leakage.
|
- Fix fd leakage.
|
||||||
- Prevent atexit from being called twice on dtach -A.
|
- Prevent atexit from being called twice on dtach -A.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue