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?
Any help would be appreciated.
Klaus Hoppe
Please reply directly to nm...@rz.uni-kiel.dbp.de as i have no news access.
>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 nm...@rz.uni-kiel.dbp.de as i have no news access.
--
-------------------------------------------------------------------------
Simon "Guru Aleph-Null" Janes |Taco Bell Otaku-zoku...
<s...@ukelele.gcr.com> |
<Simon...@f305.n109.z1.Fidonet.Org> | do they exist? Huh? Huh?
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. |
| ka...@BofA.COM uunet!odinba!karl | *** BofA is not me, I am not BofA *** |
+---------------------------------------------------------------------------+