summaryrefslogtreecommitdiff
path: root/usr.bin/mg/ttyio.c
AgeCommit message (Expand)Author
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