summaryrefslogtreecommitdiff
path: root/usr.bin/mg/main.c
AgeCommit message (Expand)Author
2005-11-20#ifdef NO_DIR can go too. From Han Boetes.Kjell Wooding
2005-11-20toast NO_DIRED #ifdef; ok kjellTheo de Raadt
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo de Raadt
2005-10-13toast unused variableTheo de Raadt
2005-10-13use strtonum() correctlyTheo de Raadt
2005-10-13Fix dired mode. Make deletions work, and keystrokes match emacs.Kjell Wooding
2005-08-09Clean up eread handling in mg. (basically, fallout from the 'enter oftenKjell Wooding
2005-06-14Add explicit public domain notices to all public domain files.Kjell Wooding
2005-04-21correct strlcpy abuse, and always check for NULL return from find_bufferBob Beck
2005-04-03This is a no binary change which does:David Berghoff
2005-03-12sync usage() w/ synopsis;Jason McIntyre
2005-03-12spacingTheo de Raadt
2005-03-10add -n command line switch to disable backup file generation, handyHenning Brauer
2005-03-09fix mg's behaviour with regards to files on which we do not haveJean-Francois Brousseau
2004-07-19correct error checking for strtonum, from mjc@bitz.caVincent Labrecque
2004-07-11oopsVincent Labrecque
2004-07-11change lower bound to 0, row shouldn't be negative; suggested & ok vincentPeter Valchev
2004-07-11use strtonum instead of strtoul and don't abuse a long for intPeter Valchev
2004-02-02be just like gnu emacs when more than 2 files are specified on the commandVincent Labrecque
2004-01-27make mail-mode more intelligent on middle-of-line insertions, and add aVincent Labrecque
2003-12-04split the screen in multiple windows when more than one files are givenVincent Labrecque
2003-10-27fix crash on startup by using the good allocation routine in edinit()Vincent Labrecque
2003-06-26protosVincent Labrecque
2003-05-05add a mail-mode, to do automatic line-wrapping.Vincent Labrecque
2003-01-06support +number; rewritten from buggy code by mjc@bitz.ca, vincent okTheo de Raadt
2002-07-25 replace the ugly and buggy adjustname function by a simple one usingVincent Labrecque
2002-07-03 a few missing tests for malloc()'s return value.Vincent Labrecque
2002-07-01KNF + ansi; from zyrnix (only the easy part of his diffs)Vincent Labrecque
2002-03-18 Enter the new undo code. it is still disabled since it has bugs, but it'sVincent Labrecque
2002-02-21KNFTheo de Raadt
2002-02-21signal-safe window size changingTheo de Raadt
2002-02-20 Add undo code to mg.Vincent Labrecque
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-06-23Add "M-x theo". Just like "M-x doctor" in emacs... Well, almost.Artur Grabowski
2001-05-24Add a compile/grep/id-utils mode.Artur Grabowski
2001-05-24Make the keymap/mode table growable in runtime.Artur Grabowski
2001-05-24Break out function -> name mappings to an own file.Artur Grabowski
2001-05-24spacesMichael Shalayeff
2001-05-23cinfo is const, keyname() and findbind() take buffer size to use strlcpy vs c...Michael Shalayeff
2001-05-23Get rid of unnecessary casts of NULL.Artur Grabowski
2001-05-23remove VOID. We're way beyond the point where this could build with anArtur Grabowski
2001-01-29$OpenBSD$Niklas Hallqvist
2000-09-01More -Wall anmd KNF, from op2@tomahawk.SQUiSH.orgTodd C. Miller
2000-04-13The start of KNF + -Wall. The code has been run through indent butTodd C. Miller
2000-02-26change WINDOW -> MGWIN to avoid curses type conflictTodd C. Miller
2000-02-25make it minimally compile; millertTheo de Raadt
2000-02-25initial import of mg2aTheo de Raadt