summaryrefslogtreecommitdiff
path: root/usr.bin/mg
AgeCommit message (Expand)Author
2006-09-19Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
2006-09-02various improvements from deanna phillips; tweaked by myselfJason McIntyre
2006-08-18Move backward-paragraph, forward-paragraph to M-{, M-} respectively.Kjell Wooding
2006-08-01* move sys/queue.h inclusion to sysdef.h (it's system specific)Jason Wright
2006-07-27unused functionTheo de Raadt
2006-07-25Add bfirstlp(), blastlp() macros, returning the first and last linesKjell Wooding
2006-07-25Rename the header line of a buffer to b_headp, from the remarkablyKjell Wooding
2006-07-17These bugs were fixed long ago.Kjell Wooding
2006-07-17Better usage() wording. Add -h to mean same. Some whitespace cleanKjell Wooding
2006-07-08Introduce a 'MODIFIED' boundary type for undo records.Kjell Wooding
2006-07-08Fix a trio of bugs in line numbering: adjusting linenos after undo,Kjell Wooding
2006-06-29- use <dirent.h> not <sys/dir.h> (this appeases FreeBSD's annoying #warning)Jason Wright
2006-06-01kill another superfluous strlenKjell Wooding
2006-06-01Style. no practical change.Kjell Wooding
2006-06-01Fix message on empty goto-line. While here, lose a strlen and KNF.Kjell Wooding
2006-06-01Display line number in the mg statusbar. Yes, it seems like a fuglyKjell Wooding
2006-06-01fix styleKjell Wooding
2006-06-01make // /~ path rewriting optional in adjustname() and use it everywhereJason Wright
2006-06-01Initialize current window, and clear the readonly flag earlier in fileKjell Wooding
2006-06-01Make transpose (c-T) undoable.Kjell Wooding
2006-06-01find-file-other-window and find-buffer-other-window should splitKjell Wooding
2006-06-01Cleanup, and a new one from Aleksander Piotrowski:Kjell Wooding
2006-05-29Another mnemonic rename, missed the first time.Kjell Wooding
2006-05-28Make Window Flags more mnemonic (and less dumb); i.e.Kjell Wooding
2006-05-27Move stderr redirection to a common location, as suggested by vincent aKjell Wooding
2006-05-27Move mg "line to c-string" functionality to a function.Kjell Wooding
2006-05-08spacingKjell Wooding
2006-05-08minor man page tweaks. From han boetes.Kjell Wooding
2006-05-03correct one more commentKjell Wooding
2006-05-03Do some KNF, clean up some unused junk that has lying around for 40-oddKjell Wooding
2006-05-03len = strlen(foo); if foo[len - 1]... will do bad things if len == 0.Kjell Wooding
2006-05-02Make buffers store their own working directory. This makes things likeKjell Wooding
2006-04-06Fix a bug whereby a written buffer (^X^W) would not have the correctKjell Wooding
2006-04-03few more int that can become a size_tTheo de Raadt
2006-04-03fixed "text in message line would get stuck there" issue.Kjell Wooding
2006-04-03lint love; ok kjellTheo de Raadt
2006-04-03Always leave compile buffer on first line after compilation.Kjell Wooding
2006-04-02test char against '\0', not 0Kjell Wooding
2006-04-02fix ^W (delete to start of word) in minibuffer;Kjell Wooding
2006-03-30Clean up some allocations. Remove malloc casts, and some easyKjell Wooding
2006-03-28Use <sp> and <cr> as shortcuts for y/n (like emacs)Kjell Wooding
2006-03-10i am going to be hated for including this oneDamien Miller
2006-02-25Fix a coredump occurring when the terminal is resized while mg isOtto Moerbeek
2006-02-03Fix off by one ocurring if ^W immediate follows ^S; testing marc@;Otto Moerbeek
2005-12-20Clean up the ugly casted frees. In one case, this meant eliminating a nastyKjell Wooding
2005-12-20Do some delinting of strl-type functions. Also, remove a superfluousKjell Wooding
2005-12-20Fix broken "Undo of undo" when line is empty. Noticed by theo.Kjell Wooding
2005-12-15NULL != '\0'. Spotted by Han Boetes and a linux gcc.Kjell Wooding
2005-12-14argh. One problem with fixing a hidden global symbol is that if you miss one,Kjell Wooding
2005-12-13Fix a typo (introduced in rev 1.6) that utterly broke cost calculations.Kjell Wooding