From: Simon Patrick Janes (spj@ukelele.GCR.COM)
Date: 04/18/93


From: spj@ukelele.GCR.COM (Simon Patrick Janes)
Subject: Re: TIOCGETP & TIOCSETP
Date: Sun, 18 Apr 1993 14:00:55 GMT

nmp08@rz.uni-kiel.dbp.de (17-APR-1993 19:20:43.85) writes:

>Hi Linuxers!

>I have a little problem with a program i wish to compile:
>in
> ioctl(0, TIOCGETP, &tty);
>and
> ioctl(0, TIOCSETP, &tty);
>TIOCGETP and TIOCSETP are undefined.
>What is the Linux-aequivalent for these expressions to set RAW and ~ECHO mode
>of a terminal?

I ran into the same wall the other day trying to compile pcomm2.2; I
looked everywhere for them in the include files and the closest I found
was TIOCSERIAL and TIOCGSERIAL but I have no idea if they are equivalent
to TIOC?ETP.

Why have the "old" ioctl commands been "omitted" from termios.h, everybody?
Just to get everyone to stop using them?

>Any help would be appreciated.
>Klaus Hoppe

>Please reply directly to nmp08@rz.uni-kiel.dbp.de as i have no news access.

-- 
=========================================================================
Simon "Guru Aleph-Null" Janes          |Taco Bell Otaku-zoku...
<spj@ukelele.gcr.com>                  |
<Simon.Janes@f305.n109.z1.Fidonet.Org> |      do they exist? Huh? Huh?