> Whomever owns the TTY drivers, how do you turn the damn thing on to
> allow you to display characters above 127?
[SNIPPED]
#include <termios.h>
#include <ioctls.h>
struct termios term;
ioctl(1, TCGETS, &term);
term.c_cflag |= CS8;
ioctl(1, TCSETS, &term);
The terminal is now 8-bit clean.
Cheers,
Dick Johnson
Penguin : Linux version 2.3.13 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/