in reply to How do you simulate the use of the keyboard ?
Of course, it also says thatrequire 'sys/ioctl.ph'; die "no TIOCSTI" unless defined &TIOCSTI;
Since sys/ioctl.h translation is so dodgy, you'll probably have to run this C program to get your TIOCSTI value. % cat > tio.c <<EOF && cc tio.c && a.out main() { printf("%#08x\n", TIOCSTI); } EOF
|
|---|