summaryrefslogtreecommitdiff
path: root/usr.bin/mg
AgeCommit message (Collapse)Author
2002-07-11oppose abort()ion and urinetherapyMichael Shalayeff
2002-07-03remove a useless {} that was there for "historical reasons" and only servedVincent Labrecque
to make the code go too far to the right.
2002-07-03 a few missing tests for malloc()'s return value.Vincent Labrecque
ok art@
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-07-01KNFVincent Labrecque
2002-07-01KNF + ansi; from zyrnix (only the easy part of his diffs)Vincent Labrecque
2002-06-27seems c-x c-q is for the vc- mode. remove it.Vincent Labrecque
2002-06-27 bind C-x C-q to toggle-read-only, just like emacs.Vincent Labrecque
ok deraadt@
2002-06-26Another great quote.Miod Vallat
2002-06-25display readonly/modified combination just like emacs.Vincent Labrecque
ok deraadt@
2002-06-21fix bad usage of strlcpy()'s return value. (made pointers pointVincent Labrecque
beyond the boundaries of buffers) ok deraadt@
2002-06-21remove the "extern" for a variable that does not exist anymore.Vincent Labrecque
2002-06-20KNFify the return (return x -> return (x))Vincent Labrecque
remove an "else" from last commit, it didn't make a lot of sense.
2002-06-20 some KNFVincent Labrecque
2002-06-19initialize some undo-related variables.Vincent Labrecque
ok deraadt@
2002-06-19add an undo insert record on insert-file. this makes insert-file undoable.Vincent Labrecque
ok deraadt@
2002-06-10I do not care about commit countKjell Wooding
2002-06-10I love to fightKjell Wooding
2002-06-10Theo's comments about airport securityBob Beck
2002-06-09<deraadt> i admit you are better than i am...Aaron Campbell
2002-06-08Free commits from theo's drunken state.Kjell Wooding
2002-06-08It had to go in.Bob Beck
2002-05-30fix segfault when using just-one-space on an empty line; fromVincent Labrecque
dkm_holdings@hotmail.com ok art@
2002-05-29 zap the ctrl-x ctrl-v keybinding for find-file-read-only. looks likeVincent Labrecque
i need more studying of emacs' keybindings :-) ok art@ (i guess that's what "vincent, zap out the keybinding" meant)
2002-05-29Add a few missing tests for BFREADONLY.Vincent Labrecque
ok art@
2002-05-29 add an "auto-execute" feature, that allows binding function calls toVincent Labrecque
certain patterns. for example, `auto-execute "*.c" auto-indent-mode'. ok art@
2002-05-29 add an entry for "find-file-read-only" and one for toggle-read-only,Vincent Labrecque
which was missing for an unknown reason. ok art@
2002-05-29 add a function to visit a file read-only mapped to C-x C-vVincent Labrecque
ok art@
2002-05-29 show the line number in the config file when we find an error.Vincent Labrecque
ok art@
2002-05-10doc error; soeren@thing.dkTheo de Raadt
2002-05-06different fix; reported by zyrnix@users.sourceforge.netTheo de Raadt
2002-04-22 don't use /bin/cp to copy files.Vincent Labrecque
ok deraadt@
2002-04-22 fix mem leakVincent Labrecque
ok deraadt@
2002-04-15use fchmod and fchown instead; vincentTheo de Raadt
2002-04-01Add some frightening quote.Miod Vallat
2002-03-28Fix bug I introduced in previous commit.Todd C. Miller
2002-03-27Fix write() loop in ttflush(). Pointed out by vincent@Todd C. Miller
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-26Add a new vax reference. (after prompting by miod)Hugh Graham
2002-03-18 Enter the new undo code. it is still disabled since it has bugs, but it'sVincent Labrecque
somewhat more useful.... ok millert@ + no objections on ICB
2002-03-18 grep/compile mode shouldn't be readonly by default.Vincent Labrecque
ok art@
2002-03-16 This should've been commited yesterday, before the funmap change.Vincent Labrecque
ok millert@
2002-03-16 Make these special buffers readonly by default. ok art@Vincent Labrecque
2002-03-16 map undo_dump to the "undo-list" command.Vincent Labrecque
2002-03-16 add readonly buffer supportVincent Labrecque
plus some KNF ok art@
2002-03-11 remove errno=0 assignments, we don't need these with Hakan's codeVincent Labrecque
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-03-10Better long vs int. millert@ ok.Hakan Olsson
2002-03-05 Fix a ridiculous bug I introduced in the buffer code. Free the undo recordsVincent Labrecque
list correctly.
2002-03-01disable undo until it is fixed to be (1) correct and (2) not crash like it ↵Theo de Raadt
does now