From: karl@BofA.com (Karl Nicholas) Subject: Re: TIOCGETP & TIOCSETP Date: Thu, 22 Apr 1993 20:57:48 GMT
In article <C5oMxJ.I6I@ukelele.GCR.COM> spj@ukelele.GCR.COM (Simon Patrick Janes) writes:
>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.
Pcomm, has both ucb serial drivers and att (sysV) style serial
routines. Did you try both?
I would expect the Sysv version to be more successfull on a linux
machine, but this is not a very educated opinion.
-- +---------------------------------------------------------------------------+ | Karl Nicholas (415) 953-0409 | Beer is good food. Food is not beer. | | karl@BofA.COM uunet!odinba!karl | *** BofA is not me, I am not BofA *** | +---------------------------------------------------------------------------+