From nobody@FreeBSD.ORG  Tue Jul 25 15:57:46 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 9AA0537B712; Tue, 25 Jul 2000 15:57:46 -0700 (PDT)
Message-Id: <20000725225746.9AA0537B712@hub.freebsd.org>
Date: Tue, 25 Jul 2000 15:57:46 -0700 (PDT)
From: renaud@waldura.org
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: Wrong reference to include file in tty(4)
X-Send-Pr-Version: www-1.0

>Number:         20185
>Category:       docs
>Synopsis:       Wrong reference to include file in tty(4)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 25 16:00:00 PDT 2000
>Closed-Date:    Wed Jul 26 01:55:56 PDT 2000
>Last-Modified:  Wed Jul 26 01:56:25 PDT 2000
>Originator:     Renaud Waldura
>Release:        4.0
>Organization:
>Environment:
FreeBSD ebola.biohz.net 4.0-RELEASE FreeBSD 4.0-RELEASE #11: Wed Jun 14 13:46:15 PDT 2000     root@ebola.biohz.net:/usr/src/sys/compile/LOCAL  i386
>Description:
A little mistake in tty(4): it says the struct winsize is defined
in <sys/ioctl.h>. It is actually defined in <sys/ttycom.h>.
>How-To-Repeat:
Read tty(4), looking for WINSZ. 
Grep for winsize in /usr/include/sys/ioctl.h => nothing.
>Fix:
*** tty.4.orig  Tue Jul 25 15:47:13 2000
--- tty.4       Tue Jul 25 15:48:16 2000
***************
*** 324,330 ****
  screen size.  The
  .Va winsize
  structure is defined in
! .Pa Aq sys/ioctl.h .
  .It Dv TIOCSWINSZ Fa struct winsize *ws
  Set the window size associated with the terminal to be the value in
  the
--- 324,330 ----
  screen size.  The
  .Va winsize
  structure is defined in
! .Pa Aq sys/ttycom.h .
  .It Dv TIOCSWINSZ Fa struct winsize *ws
  Set the window size associated with the terminal to be the value in
  the


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Wed Jul 26 01:55:56 PDT 2000 
State-Changed-Why:  
<sys/ioctl.h> includes <sys/ttycom.h>. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20185 
>Unformatted:
