Since I ran into this bug again today, and since it hasn't been touched in the 5 years since I reported it, I thought I would just add the code to program around it, for those people who come here with the same problem (if there are such people).
replace #include <termio.h> struct termio sgbuf; ioctl(f, TCGETA, (char*)&sgbuf) with #include <termios.h> struct termios sgbuf; tcgetattr(f, &sgbuf) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1428651 Title: termio ioctl returns incorrect value for suspend character To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1428651/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
