Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2007 00:54:33 GMT
From:      David Sanderson <dsanderson@panasas.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/114058: "TIOSCTTY" typo in tty.4
Message-ID:  <200706270054.l5R0sXjk002521@www.freebsd.org>
Resent-Message-ID: <200706270100.l5R10BPH092198@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         114058
>Category:       docs
>Synopsis:       "TIOSCTTY" typo in tty.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 27 01:00:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     David Sanderson
>Release:        FreeBSD 6.2
>Organization:
Panasas, Inc.
>Environment:
FreeBSD perf-x4 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:43:30 UTC 2007     root@portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  amd64

>Description:
The tty(4) entry for TIOCNOTTY erroneously mentions "TIOSCTTY" instead of "TIOCSCTTY":

                 The current system does not allocate a controlling terminal
                 to a process on an open() call: there is a specific ioctl
                 called TIOSCTTY to make a terminal the controlling terminal.

>How-To-Repeat:
man 4 tty
>Fix:


Patch attached with submission follows:

==== //depot/branch/tango-bsd-dws/src/freebsd6/src/share/man/man4/tty.4#1 - /net/paneast/sb7/dsanderson/sb7-tango-bsd-dws3/src/freebsd6/src/share/man/man4/tty.4 ====
Index: branch/tango-bsd-dws/src/freebsd6/src/share/man/man4/tty.4
--- branch/tango-bsd-dws/src/freebsd6/src/share/man/man4/tty.4.~1~	Tue Jun 26 20:53:38 2007
+++ branch/tango-bsd-dws/src/freebsd6/src/share/man/man4/tty.4	Tue Jun 26 20:53:38 2007
@@ -280,7 +280,7 @@
 a process on an
 .Fn open
 call: there is a specific ioctl called
-.Dv TIOSCTTY
+.Dv TIOCSCTTY
 to make a terminal the controlling
 terminal.
 In addition, a program can
End of Patch.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706270054.l5R0sXjk002521>