summaryrefslogtreecommitdiff
path: root/usr.bin/mg/main.c
AgeCommit message (Expand)Author
2021-05-03When parsing a variable value within double quotes, allow an escapedMark Lumsden
2021-03-20Add a 'batch' mode to mg via the '-b' command line option which willMark Lumsden
2021-02-23Allow the user to specify a path to the mg startup file on the command line.Mark Lumsden
2019-06-22Tidy up the comments:Mark Lumsden
2019-06-10Allow mg to log its internal status to a file. At the moment it onlyMark Lumsden
2018-12-13Allow all non-ephemeral buffers to be toggled writable or read-onlyMark Lumsden
2016-09-16like the sparc port, ancient wisdom is ancient. consign to the archives.Ted Unangst
2016-07-14make several program to use "chown" promise.Sebastien Marie
2016-04-14Add 'sentence-end-double-space'.Mark Lumsden
2015-12-24Add -R option to allow files specified on the command line to beMark Lumsden
2015-11-19"tty proc exec", not "proc exec tty"Anthony J. Bentley
2015-11-11needs pledge "getpw" alsoTheo de Raadt
2015-11-11pledge "stdio rpath wpath cpath fattr proc exec tty" seems to work.Theo de Raadt
2015-11-08whitespaceJasper Lievisse Adriaanse
2015-10-29Fix opening dired from the command line. Incorrect cursor placementMark Lumsden
2015-03-19Clean up the includes in mg.Brian Callahan
2014-11-16Stop using <sys/param.h>; replace MAXPATHLEN with PATH_MAX, stop using MAX(),Philip Guenther
2014-11-13Nuke GOOD define and just exit(0) on success. While there removeFlorian Obser
2014-03-22donebell is no longer required.Mark Lumsden
2013-05-31Make the system bell toggleable via 'audible-bell', and if switchedlum
2012-12-28Respect locale for ctype purposes, e.g. display ISO Latin 1 characters;Christian Weisgerber
2012-08-31Allow an error message for a filename that is too long to be seen andlum
2012-08-30This diff allows the user to decide what to do with buffers thatlum
2012-05-29There is no other reference to SYSCLEANUP in the src tree. Remove.lum
2012-05-29There is no need to use an *init* buffer if we go back and updatelum
2012-05-25Prepare mg buffers before startup file is parsed so multiple files canlum
2012-04-12Remove the conditional directives NO_MACRO and NO_STARTUP.lum
2012-01-26Tidy window and buffer NULL checks.lum
2011-11-28Add some ctags support to mg. From Sunil Nimmagadda.lum
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