summaryrefslogtreecommitdiff
path: root/usr.bin/tip/tip.1
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2004-11-07 09:48:09 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2004-11-07 09:48:09 +0000
commit221b664a9d19de48b68cbc473c347f139d548dfd (patch)
tree77cfcd2e8fd32f04afd33a094a2ce59c7e75946f /usr.bin/tip/tip.1
parent7503b54474a4b5087082e65fa2b496ebcfccab48 (diff)
Do not ignore SIGCHLD, repairing hangs after a subshell is executed
via ~! or ~C. While there, fix description of fd's available to the command executed by ~C in man page and comments. This has been wrong since at least 4.4BSD... Spotted by Hugo Villeneuve. PR 3971. ok and help millert@; ok deraadt@
Diffstat (limited to 'usr.bin/tip/tip.1')
-rw-r--r--usr.bin/tip/tip.114
1 files changed, 6 insertions, 8 deletions
diff --git a/usr.bin/tip/tip.1 b/usr.bin/tip/tip.1
index 8a675d673cd..4d86b62e9d7 100644
--- a/usr.bin/tip/tip.1
+++ b/usr.bin/tip/tip.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tip.1,v 1.29 2003/09/20 18:15:32 millert Exp $
+.\" $OpenBSD: tip.1,v 1.30 2004/11/07 09:48:08 otto Exp $
.\" $NetBSD: tip.1,v 1.7 1994/12/08 09:31:05 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -228,14 +228,12 @@ system is processed by the shell.
.It Ic \&~C
Fork a child process on the local system to perform special protocols
such as \s-1XMODEM\s+1.
-The child program will be run with the following somewhat unusual
-arrangement of file descriptors:
+The child program will be run with the following arrangement of
+file descriptors:
.Bd -literal -offset indent
-0 <-> local tty in
-1 <-> local tty out
-2 <-> local tty out
-3 <-> remote tty in
-4 <-> remote tty out
+0 <-> remote tty in
+1 <-> remote tty out
+2 <-> local tty stderr
.Ed
.It Ic \&~#
Send a