summaryrefslogtreecommitdiff
path: root/usr.bin/mg/main.c
AgeCommit message (Expand)Author
2009-06-04Rename w_flag to w_rflag. This is not a general purposeKjell Wooding
2008-06-13Remove mail-mode. It was a buggy reimplementation of auto-fill-mode.Kjell Wooding
2008-06-13Fix autoexec file handling.Kjell Wooding
2008-06-12Introduce a basic c-mode to mg.Kjell Wooding
2008-05-29add a detailed synopsis to mg(1); synchronize with usage.Igor Sobrado
2007-02-20Remove useless -h option (if you don't know the synopsis, how do you knowChad Loder
2006-11-19spacingTheo de Raadt
2006-07-25Rename the header line of a buffer to b_headp, from the remarkablyKjell Wooding
2006-07-17Better usage() wording. Add -h to mean same. Some whitespace cleanKjell Wooding
2006-06-01make // /~ path rewriting optional in adjustname() and use it everywhereJason Wright
2006-05-28Make Window Flags more mnemonic (and less dumb); i.e.Kjell Wooding
2006-04-03fixed "text in message line would get stuck there" issue.Kjell Wooding
2006-02-25Fix a coredump occurring when the terminal is resized while mg isOtto Moerbeek
2005-12-13More name-clash delintingKjell Wooding
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