summaryrefslogtreecommitdiff
path: root/usr.bin/mg
AgeCommit message (Collapse)Author
2013-10-22Fix previous; ENOCOFFEE.Florian Obser
Move xdirname call into the right if block, pointed out by Ulrich Mueller.
2013-10-22Our man page states that it's not portable to rely on dirname(3) notFlorian Obser
modifying the contents of the passed string. Replace dirname(3) with mg's xdirname portability helper function (a slightly different fix than Gentoo's). Report and initial analysis by Marien Zwart in Gentoo bug #487758 via Han Boetes (hboetes _AT_ gmail). Gentoo bugfix by Ulrich Mueller (ulm _AT_ gentoo). testing on glibc / input Ulrich Mueller; testing on glibc Han Boetes. Thanks! OK jasper@
2013-10-21unbreak make-directory by stripping trailing '/'Florian Obser
OK jasper@
2013-10-20the safety of the internet is called into doubtBret Lambert
prodding and okay mlarkin@
2013-10-08backwards compatibility is king, and will remain king, until 2038.Reyk Floeter
2013-09-24rename re_match to regex_match to prevent a namespace conflict on Linux asJasper Lievisse Adriaanse
reported by Han Boetes. while here, rename re_buff accordingly for consistency. ok florian@
2013-08-13addition for 64bit time_tStuart Henderson
2013-06-15Move upwards passed multiple lines with no characters instead ofMark Lumsden
stopping when first line with no characters is found.
2013-06-03Add the 'g' character and dired-revert to refresh the dired buffer.Mark Lumsden
ok jmc@ for man page.
2013-06-02Add the 'quit-window' dired command and receive a basic English lessonlum
from jmc@ again.
2013-06-02Fix return value in refreshbuffer.lum
2013-06-02Rename the dired-* commands to be like the emacs equivalents.lum
2013-06-01new sentence, new line;Jason McIntyre
2013-06-01Remove 'lint' mode. lint(1) is gone, and the mode was not documentedlum
anywhere. ok jasper@ florian@
2013-06-01If popbuf() fails, calling function should return FALSE.lum
2013-06-01Add dired key bindings. ok and advice jmc@lum
2013-06-01Make 'kill-paragraph' behave like emacs. ok florian@lum
2013-06-01Update the forw/backpara comments to reflect recent changes.lum
2013-06-01The k*() functions were moved to yank.c in 2005. Update the comment tolum
reflect this.
2013-06-01tidy-up int declarations as suggested by florian@lum
2013-06-01Adjust M-} (forward-paragraph) to behave like emacs.lum
Bug fix and ok florian@
2013-05-31Also inform the user about beginning / end of buffer in previous-lineFlorian Obser
and next-line. ok lum@
2013-05-31Make the system bell toggleable via 'audible-bell', and if switchedlum
off, make available an alternative 'visible-bell'. ok florian@ jasper@ Feedback Sunil Nimmagadda.
2013-05-30"I dare you." lum@Florian Obser
2013-05-30Use adjustname() for the dired-copy-file and dired-rename-filelum
commands.
2013-05-30Use adjustname() before trying to use the path to be dired.lum
ok jasper@
2013-05-30Reuse the makedir() function in dir.c for dired'slum
dired-create-directory command. ok jasper@
2013-05-29Make the mg dired commands:lum
dired-flag-file-deleted dired-backup-unflag dired-unflag behave more like emacs when the cursor stays on the first character of the file name.
2013-05-29Use same method as elsewhere in mg to inidicate a failure of strdup.lum
2013-05-28In dired mode the commands:lum
dired-copy-file dired-rename-file dired-create-directory do not refresh the dired buffer. Now they do.
2013-05-27tweak previous;Jason McIntyre
2013-05-27Add dired-create-directory to function maps.lum
2013-05-27Add dired commands. ok and suggestions jmc@lum
2013-05-22Shuffle shell-command-on-region around to give shell-command.lum
ok florian@ jasper@ Testing Sunil Nimmagadda
2013-05-19Make the cursor position when moving backwards by paragraph behave thelum
same as emacs: move to line above paragraph. ok florian@
2013-05-18Use adjustname() for path. ok jasper@lum
2013-05-18and and -> andlum
2013-05-18Update last updated date.lum
2013-05-17Describe the file -> buffer semantic.lum
Reviewed and suggestions from jmc@.
2013-05-17If directory exists when trying to create a new one, warn user.lum
ok jasper@
2013-04-20use poll() instead of select() [with a fixed size fd_set]Theo de Raadt
ok florian
2013-03-25Display the window's column number in mode line not theFlorian Obser
column number of the active window. OK jasper@
2013-03-25Correct line numbers for undo-list.Florian Obser
OK jasper@
2013-03-25Record when the buffer was saved in the undo history. The bufferFlorian Obser
will be marked unchanged at the correct point when stepping through the undo history. OK jasper@
2013-02-17Fix line counting when using forward-paragraph and backward-paragraph.lum
Feedback and ok florian@
2013-02-17Replace hand rolled TAILQ_REMOVE with example from queue(3).Florian Obser
While this did work in this particular case because the list was no longer used it at least sets a bad example. ok benno, jasper, lum
2013-02-15cleanup undo history in revert-bufferFlorian Obser
problem spotted, initial diff and ok lum@
2013-02-10Grammar nits.lum
2013-01-19Don't spin in ttgetc when stdin is lost (found by benno@).Florian Obser
While there prevent an unterminated recursion in panic(). ok lum@, benno@
2012-12-28Respect locale for ctype purposes, e.g. display ISO Latin 1 characters;Christian Weisgerber
ok stsp@ reyk@ Document that multi-byte character sets are not supported; from stsp@