summaryrefslogtreecommitdiff
path: root/usr.bin/mg
AgeCommit message (Collapse)Author
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
2002-02-26keep undo records in the BUFFER structures insteda of having a huge list.Vincent Labrecque
2002-02-22if file mode known, try to avoid a race.. i think. millert spotted a bug in ↵Theo de Raadt
my first draft
2002-02-21 "rephrase" the loop's condition, gets rid of an ugly operation.Vincent Labrecque
2002-02-21KNFTheo de Raadt
2002-02-21document undoTheo de Raadt
2002-02-21 Save undo records for newline insertions.Vincent Labrecque
That makes mg behave more like GNU emacs.
2002-02-21 Don't ignore the argument to undo. (makes ^U work)Vincent Labrecque
2002-02-21remove a wrapper around getenv()Theo de Raadt