summaryrefslogtreecommitdiff
path: root/usr.bin/mg
AgeCommit message (Collapse)Author
2005-11-22Move kill-related commands to their own file.Kjell Wooding
This will help move to a kill-ring.
2005-11-22Fix backwards insert into kill buffer (aaa \n bbb M-BS M-BS c-Y) byKjell Wooding
batching string before prepending. ok cloder, (grudgingly) beck
2005-11-22Fix up an ambiguous else (though ifdefed out at the moment)Kjell Wooding
2005-11-21kill kill kill unused stuff; ok kjellTheo de Raadt
2005-11-20#ifdef NO_DIR can go too. From Han Boetes.Kjell Wooding
2005-11-20Don't bind help to a null functionKjell Wooding
2005-11-20Kill the NO_BACKUP #ifdefKjell Wooding
2005-11-20GOSLING screen update always on, so #ifdef can go; ok kjellTheo de Raadt
2005-11-20toast NO_DIRED #ifdef; ok kjellTheo de Raadt
2005-11-19Remove DO_METAKEY here, too. Noted by Han Boetes.Kjell Wooding
2005-11-19Clean up some lint.Kjell Wooding
2005-11-19Goodbye NO_METAKEYKjell Wooding
(#ifdef is for emacs developers)
2005-11-18Split kill buffer code into a separate function.Kjell Wooding
2005-11-18clean up some comments after theo's cleanupKjell Wooding
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo de Raadt
2005-11-18Don't ifdef out. Delete it. That's what the attic is for.Kjell Wooding
2005-11-18Casefold on replace was killed ages ago (it was wrong). Remove aKjell Wooding
leftover (unused) variable.
2005-11-18Kill a stupid interface. kgrow should take direction, not TRUE/FALSE.Kjell Wooding
2005-11-18One liner to fix doubled yank buffer issue (c-K, c-Y, M-x undo, c-Y).Kjell Wooding
2005-11-18kill more dumb or contextless.Kjell Wooding
2005-11-17"#ifdef is for emacs developers.", back after kjell criedChad Loder
2005-11-16I think some people are missing the point of this fileChad Loder
2005-11-16Remove some random stuff theo said once to someoneChad Loder
2005-11-16anotherChad Loder
2005-11-13Better error checking of snprintfs. From Han Boetes.Kjell Wooding
2005-11-13Copy buffer before handing it to basename().Kjell Wooding
Inspired by a patch from Han Boetes.
2005-11-12break in caseTheo de Raadt
2005-11-12remove unused variable; ok kjellTheo de Raadt
2005-11-12Paranoia. Check if last of a series of strlcats overflows. Pointed out byKjell Wooding
Han Boetes.
2005-11-11Now that we have an editable minibuffer, revert parsing ofKjell Wooding
"//" and "/~" as '/' and '~' respectively. I know emacs does it, but it is weird, and breaks things that foolishly use filenames like "/tmp//crontab.xxxx". Proddings from matthieu and deraadt. Error report from Bernd Ahlers.
2005-11-11spacingTheo de Raadt
2005-11-11Enable some of the more common editing keybindings in the minibuffer.Kjell Wooding
i.e. left, right, ^B, ^F, ^Y, ^K, ^A, ^E Also, make completions work as you would expect them to i.e. a *Completions* buffer pops up with your choices in it when you hit a second TAB or SP. It's ugly, but it works. ok deraadt.
2005-11-07add missing ctype.hKjell Wooding
2005-11-07KNFKjell Wooding
2005-11-07Move most of the dired hooks into dired.c. While here, enable someKjell Wooding
dired functions that were written, but not bound to keys. No other functional change. Tested by Han Boetes.
2005-11-07Allow ctrl-key patterns ("^X^C") in keybind function. WillKjell Wooding
allow more modularization of keymaps later. Also, improved error checking suggested by cloder.
2005-10-18Don't consider the last line of the compilation buffer asKjell Wooding
parsable output. It is always a status message. While here, some better error checking. looks ok, cloder@.
2005-10-18make fill-paragraph undoableKjell Wooding
2005-10-18When attempting to open a filename, walk backwards through minibuffer:Kjell Wooding
a> if you run into the beginning of the string, use the whole thing b> if you run into a // combo, use everything starting from the second / c> if you run into a /~ combo, use everything starting from the ~ i.e. do like emacs. From (and for) Jason Wright
2005-10-17make undo of word-based capitalization functions workKjell Wooding
ok beck@
2005-10-17Fix string handling. LOGIN_NAME_MAX includes the NUL, so don't reserve extraKjell Wooding
space. Fix usage of strlcpy. Correct test for terminating slash. "looks good" deraadt@
2005-10-14add missing /* ARGSUSED */ to quiet lint.Kjell Wooding
2005-10-14more replstr into the #ifdefTheo de Raadt
2005-10-14put proto in same #ifdef as codeTheo de Raadt
2005-10-14more headers to please lintTheo de Raadt
2005-10-14unused variablesTheo de Raadt
2005-10-14Whoops. C-x C-v (filevisitalt) didn't work on inital scratch buffer.Kjell Wooding
It does now. Noted by deraadt.
2005-10-14move the dired routines into dired.c where they belong.Kjell Wooding
ok cloder@
2005-10-13toast unused variableTheo de Raadt
2005-10-13use strtonum() correctlyTheo de Raadt