From owner-freebsd-doc@FreeBSD.ORG Wed Jun 27 01:00:11 2007 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B0C8E16A4E8 for ; Wed, 27 Jun 2007 01:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7890813C4CE for ; Wed, 27 Jun 2007 01:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5R10BRi092199 for ; Wed, 27 Jun 2007 01:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5R10BPH092198; Wed, 27 Jun 2007 01:00:11 GMT (envelope-from gnats) Resent-Date: Wed, 27 Jun 2007 01:00:11 GMT Resent-Message-Id: <200706270100.l5R10BPH092198@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Sanderson Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7908A16A46C for ; Wed, 27 Jun 2007 00:54:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 6B49D13C484 for ; Wed, 27 Jun 2007 00:54:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l5R0sXLB002522 for ; Wed, 27 Jun 2007 00:54:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l5R0sXjk002521; Wed, 27 Jun 2007 00:54:33 GMT (envelope-from nobody) Message-Id: <200706270054.l5R0sXjk002521@www.freebsd.org> Date: Wed, 27 Jun 2007 00:54:33 GMT From: David Sanderson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: docs/114058: "TIOSCTTY" typo in tty.4 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2007 01:00:11 -0000 >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: