summaryrefslogtreecommitdiff
path: root/usr.bin/mg/display.c
AgeCommit message (Collapse)Author
2002-07-01 just make vtresize return TRUE/FALSE instead of 0/-1, for consistency withVincent Labrecque
the rest of the mg code. + some KNF. adapted from diff by zyrnix.
2002-06-25display readonly/modified combination just like emacs.Vincent Labrecque
ok deraadt@
2002-03-27Fixes the the following problems (from zyrnix)Todd C. Miller
1) Mg crashes with column width of 1, rows > 2 2) Mg panics on resizing due to incomplete write 3) Mg doesn't compile with STARTUPFILE defined deraadt@ OK
2002-03-16 add readonly buffer supportVincent Labrecque
plus some KNF ok art@
2002-03-11 * Move to ANSI function definitions.Vincent Labrecque
* Add a whole lot of consts where I thought it made sense no ok, but no objections either...
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-14some KNFTheo de Raadt
2002-02-14 simplify a loop and add some comments.Vincent Labrecque
ok deraadt@
2002-01-18Remove the NROW and NCOL limits. The static arrays are now replaced withArtur Grabowski
dynamically allocated memory. Code written by Vincent Labrecque <limitln@Psyfreaks.CA> with some minor tweaks by me.
2001-05-24spacesMichael Shalayeff
2001-05-23remove VOID. We're way beyond the point where this could build with anArtur Grabowski
ancient compiler.
2001-01-29$OpenBSD$Niklas Hallqvist
2000-04-13The start of KNF + -Wall. The code has been run through indent butTodd C. Miller
needs hand fixup. I stopped at keymap.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-25initial import of mg2aTheo de Raadt