summaryrefslogtreecommitdiff
path: root/usr.bin/mg/ttyio.c
AgeCommit message (Expand)Author
2001-05-24spacesMichael Shalayeff
2001-05-23remove VOID. We're way beyond the point where this could build with anArtur Grabowski
2001-05-03Add a delay (in miliseconds) argument to ttwait.Artur Grabowski
2001-01-29$OpenBSD$Niklas Hallqvist
2000-07-25o check that we are on a tty (and bail if not)Todd C. Miller
2000-04-13The start of KNF + -Wall. The code has been run through indent butTodd C. Miller
2000-03-02add missing return valueTodd C. Miller
2000-03-02Use a char, not a char[1] in ttgetc and cast the return value to int.Todd C. Miller
2000-03-02Reorganize to be more like the BSD version + KNFTodd C. Miller
2000-02-27make this compile on systems w/o TCSASOFTTodd C. Miller
2000-02-27Better setting of terminal 'raw' mode, cribbed from BSD curses.Todd C. Miller
2000-02-27Call setttysize() from ttinit() not ttopen() since we haven'tTodd C. Miller
2000-02-26change WINDOW -> MGWIN to avoid curses type conflictTodd C. Miller
2000-02-25further pruningTheo de Raadt
2000-02-25make it minimally compile; millertTheo de Raadt
2000-02-25initial import of mg2aTheo de Raadt