summaryrefslogtreecommitdiff
path: root/usr.bin/mg
AgeCommit message (Collapse)Author
2000-02-28Lots of obvious clean-up, but needs more work.Aaron Campbell
2000-02-27make this compile on systems w/o TCSASOFTTodd C. Miller
2000-02-27Don't define -DDO_METAKEY twiceTodd C. Miller
2000-02-27Better setting of terminal 'raw' mode, cribbed from BSD curses.Todd C. Miller
We no longer try to put the terminal into 8bit, no parity mode and instead use the TCSASOFT flag to tcsetattr() as per the discussion of this in lib/libocurses/tty.c.
2000-02-27Move dobindkey() into extend.c where it belongs.Todd C. Miller
2000-02-27Remove a now-bogus commentTodd C. Miller
Use pid_t Use vfork(), not fork() when sensible
2000-02-27use rmdir, not unlinkdir hackTodd C. Miller
2000-02-27Call setttysize() from ttinit() not ttopen() since we haven'tTodd C. Miller
run setupterm() until ttinit() is called. Remove a tgetnum() I missed in the termcap -> terminfo cleanup. Merge parts of the BSD ttyio.c. The termios stuff here could use a cleanup, possibly including the flow control hack from the BSD ttyio.c.
2000-02-27We don't have silly SYSV 14-character file name limits. Taken fromTodd C. Miller
the BSD fileio.c. Note that this module is rife with PATH_MAX overflow possibilities.
2000-02-26Use uid_t, gid_t and mode_t where applicable.Todd C. Miller
Pull in changes from the BSD-specific sysdef.h and fileio.c: kill bogus unlinkdir() and rename() kludges since we have rmdir(2) and rename(2) define SYMBLINK since we have symlinks TODO: merge BSD spawn.c and ttyio.c
2000-02-26change WINDOW -> MGWIN to avoid curses type conflictTodd C. Miller
convert to terminfo in tty*.c add support for some keypad function keys (arrows, pgup, pgdown)
2000-02-25more pruningTheo de Raadt
2000-02-25further pruningTheo de Raadt
2000-02-25mandoc, but needs much more fleshing outTheo de Raadt
2000-02-25make it minimally compile; millertTheo de Raadt
2000-02-25initial import of mg2aTheo de Raadt