summaryrefslogtreecommitdiff
path: root/usr.bin/mg/display.c
AgeCommit message (Collapse)Author
2005-06-14Add explicit public domain notices to all public domain files.Kjell Wooding
ok millert@, deraadt@
2005-04-03This is a no binary change which does:David Berghoff
- spelling, punctuation fixes - variable declaration lineup - use parentheses for return and sizeof - K&R function declarations -> ANSI - other minor code beautification ok henning@
2003-08-15make dired work more like emacs. (well, make it _work_, and then add aVincent Labrecque
bunch of missing commands)
2002-09-15typo in comment.Vincent Labrecque
2002-08-29fix a little display bug when editing a file with binary characters, columnsVincent Labrecque
weren't calculated correctly. ok deraadt@
2002-08-22knfTheo de Raadt
2002-08-22print hex codes instead of non-printing characters. fixes some displayVincent Labrecque
problems when editing binary files. ok deraadt@
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