summaryrefslogtreecommitdiff
path: root/usr.bin/mg/ttyio.c
AgeCommit message (Expand)Author
2015-03-23DIFFTOOL has to be defined for mg to build. TCSASOFT is defined viaBrian Callahan
2015-03-19Clean up the includes in mg.Brian Callahan
2014-03-20Add some missing dobeeps.Mark Lumsden
2013-04-20use poll() instead of select() [with a fixed size fd_set]Theo de Raadt
2013-01-19Don't spin in ttgetc when stdin is lost (found by benno@).Florian Obser
2008-02-05prevent the "ttflush write failed" panic when resizing using a windowReyk Floeter
2006-04-03few more int that can become a size_tTheo de Raadt
2006-04-03lint love; ok kjellTheo de Raadt
2005-12-13More name-clash delintingKjell Wooding
2005-06-14Add explicit public domain notices to all public domain files.Kjell Wooding
2005-04-13use STD{IN,OUT,ERR}_FILENOTheo de Raadt
2005-04-03This is a no binary change which does:David Berghoff
2003-12-04fix sign extension bug that broke meta key supportVincent Labrecque
2003-11-09fix up terminal correctly on panic (keeps terminal state correct whenVincent Labrecque
2002-09-15KNFVincent Labrecque
2002-08-22knfTheo de Raadt
2002-03-28Fix bug I introduced in previous commit.Todd C. Miller
2002-03-27Fix write() loop in ttflush(). Pointed out by vincent@Todd C. Miller
2002-03-27Fixes the the following problems (from zyrnix)Todd C. Miller
2002-02-21signal-safe window size changingTheo de Raadt
2002-01-10Clean up tty resizing code.Artur Grabowski
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