summaryrefslogtreecommitdiff
path: root/usr.bin/mg
AgeCommit message (Expand)Author
2006-12-24Fix a bug where inserting a file resulted in an incorrectKjell Wooding
2006-12-24Add column-number indicator to status line (enabled when line-number-mode isKjell Wooding
2006-12-21Fix a realloc-style bug (curmap = reallocmap(curmap)) inKjell Wooding
2006-12-21Eliminate BSMAP #ifdef (we didn't define it). This exposes bsmap-mode,Kjell Wooding
2006-12-20kjell loves his extra spacesTheo de Raadt
2006-12-20Get rid of CVMVAS define. Originally to change pgforw/back parameterKjell Wooding
2006-12-20since auto-execute expects a function name at the "Execute:" prompt anyway,Kjell Wooding
2006-12-20kill an ill-formed (and totally unnecessary) realloc.Kjell Wooding
2006-12-16Get rid of PREFIXREGION ifdef, since we always enable it anyway.Kjell Wooding
2006-11-19spacingTheo de Raadt
2006-11-18Move buffer name allocation into bnew() where it belongsKjell Wooding
2006-11-181. Fix line numbering/mark line bug in isearch.Kjell Wooding
2006-11-18Due to a thinko on my part, (and a badly named structure member),Kjell Wooding
2006-11-18Fix line number bug (actually, dot-mark bug). to reproduce:Kjell Wooding
2006-11-17Fix a needless inversion of flag names; i.e. change them from theKjell Wooding
2006-11-17fix a segfault on isearch. Using ^W to add more than NPAT chars to theKjell Wooding
2006-11-01Don't overwrite line[strlen(line) - 1] when line is zero-length.Ray Lai
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