[comp.unix.questions] Need correct man page for termio on Sun OS 4.0.3

jerry@octel.UUCP (Jerry Burch) (03/02/91)

The man page for termio on our Suns is missing the names of the ioctls.
It describes the paramaters and function of each but does not give the 
name (a fairly important bit of information):

         TERMIO(4)         UNIX System V (22 March 1989)         TERMIO(4)
    
         NAME
              termio - general terminal interface
    
    (lines deleted)
    
    IOCTLS
              The ioctl() calls supported by devices and STREAMS modules
              providing the termios interface are listed below.  Some
              calls may not be supported by all devices or modules.
    
    (lines deleted)
    
              The argument is a pointer to a
                             termios structure.  The current terminal
                             parameters are fetched and stored into that
                             structure.  This call is allowed from a
                             background process; however, the information
                             may subsequently be changed by a foreground
                             process.
    
              The argument is a pointer to a
                             termios structure.  The current terminal
                             parameters are set from the values stored in
                             that structure.  The change is immediate.
    
              The argument is a pointer to a
                             termios structure.  The current terminal
    
   
Note the names of the ioctls are missing. Is this a generic problem with
Sun OS or do we have outdated man pages?

If someone would mail me either a copy of this portion of the man page from
a version of Sun OS which has the information or from a compatible system
I would greatly appreciate it.

In general I have noted a number of similar problems in other Sun man
pages. Has anyone else seen the same thing?

-
Jerry Burch    jerry@octelc.octel.com 
#include "signature.h"
cc: Can't find include file signature.h

jb@falstaff.mae.cwru.edu (Jim Berilla) (03/03/91)

In article <438@octelb.octel.UUCP> jerry@octel.UUCP (Jerry Burch) writes:
>The man page for termio on our Suns is missing the names of the ioctls.
>It describes the paramaters and function of each but does not give the 
>name (a fairly important bit of information):
[ ... ]

I tried emailing a reply, but it kept bouncing.  Perhaps this could help
others also, so I'm posting it.

I had this problem for a long time, and got around to fixing it a few
weeks ago.  In my case, I bought a sun with 4.0.3 installed, but not
the man pages.  I copied the man pages from a 4.1 system, and then man
would give me things like "For more information see.".  I looked at the
unformatted man pages, and the reference was in there, but not getting
printed out.

I you're in a hurry, then you can look at the unformatted man page.  In
your case, "more /usr/man/man4/termio.4" should work.  The information
is in there amidst all the formatting commands.

I finally fixed mine by copying the nroff man-page-formatting macro from
the 4.1 system.  It should be /usr/share/lib/tmac/tmac.an .  If you've
run catman, then you'll need to remove all the cat* directories and run
it again.

Good luck,
j.

-- 
      Jim Berilla / jb@falstaff.cwru.edu / 216-368-6776


-- 
      Jim Berilla / jb@falstaff.cwru.edu / 216-368-6776
"My opinions are my own, except on Wednesday mornings at 9 AM,
           when my opinions are those of my boss."