summaryrefslogtreecommitdiff
path: root/usr.bin/mg/dired.c
AgeCommit message (Expand)Author
2019-07-11Allow functions that have 1 or more parameters receive and processMark Lumsden
2019-07-01Check if user tries to go to current directory in dired-goto-file.Mark Lumsden
2019-07-01add dired-goto-fileMark Lumsden
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-27Display an error message if trying to copy or rename a file to itself.Mark Lumsden
2019-06-27Print out message after copying a file.Mark Lumsden
2019-06-27This diff uses the existing filename as the new filename if none isMark Lumsden
2019-06-26This diff uses the existing filename as the new filename if none isMark Lumsden
2019-06-25Add 'dired-revert' to the dired funmap, the 'g' command already worksMark Lumsden
2018-12-30Delete unnecessary <libgen.h> #includesPhilip Guenther
2016-10-07Switch a SLIST_FOREACH loop containing SLIST_REMOVE to SLIST_FOREACH_SAFE.Jonathan Gray
2016-01-02Add dired-find-alternate-file.Mark Lumsden
2015-12-11Remove NULL-checks before free().mmcc
2015-10-29Fix opening dired from the command line. Incorrect cursor placementMark Lumsden
2015-10-13Check if a file name can be extracted from a line before marking forMark Lumsden
2015-10-12Maintain a list of files marked for deletion while refreshing a diredMark Lumsden
2015-09-28Make dired mode treat a double '/' in a path like fundamental mode.Mark Lumsden
2015-09-26whitespaceJasper Lievisse Adriaanse
2015-09-24Fix where the cursor is positioned after expunging files. ok jasper@Mark Lumsden
2015-09-23fix line number handling in dired delete functions.Mark Lumsden
2015-09-21If you open the same directory twice in dired mode, mg does not behaveMark Lumsden
2015-09-14Calculate the correct line number when opening in dired mode.Mark Lumsden
2015-03-19More unifdef cleanup:Brian Callahan
2015-03-19Clean up the includes in mg.Brian Callahan
2014-12-30Remove some checks that will always evaluate to true. Noticed by a veryBrian Callahan
2014-11-16Stop using <sys/param.h>; replace MAXPATHLEN with PATH_MAX, stop using MAX(),Philip Guenther
2014-04-03When finding a file in a non-existant directory:Mark Lumsden
2014-03-20Add some missing dobeeps.Mark Lumsden
2013-12-20Remove a spurious message that appears in dired mode if you press aMark Lumsden
2013-12-19Make dired-unmark-backward behave the same as emacs: move cursor up aMark Lumsden
2013-06-03Add the 'g' character and dired-revert to refresh the dired buffer.Mark Lumsden
2013-06-02Add the 'quit-window' dired command and receive a basic English lessonlum
2013-06-02Fix return value in refreshbuffer.lum
2013-06-02Rename the dired-* commands to be like the emacs equivalents.lum
2013-05-30Use adjustname() for the dired-copy-file and dired-rename-filelum
2013-05-30Use adjustname() before trying to use the path to be dired.lum
2013-05-30Reuse the makedir() function in dir.c for dired'slum
2013-05-29Make the mg dired commands:lum
2013-05-29Use same method as elsewhere in mg to inidicate a failure of strdup.lum
2013-05-28In dired mode the commands:lum
2013-05-27Add dired-create-directory to function maps.lum
2012-11-03Don't leak a file descriptor when testing for permissions, also makeChristiano F. Haesbaert
2012-03-14Remove the NO_HELP conditional directives. If defined, mg will not compile andlum
2011-08-31Allow dired mode to open files regardless of characters inlum
2011-08-29In dired mode, make point move up and down first characterlum
2011-01-23Wrap basename,dirname with xbasename, xdirname funtions,Kjell Wooding
2011-01-18Add missing prototypes and move dired.c to "extensions" in Makefile.lum
2010-06-26From the Loganaden Velvindron:Kjell Wooding
2009-06-04Add the notion of an "ephemeral" popup, so we can flag a windowKjell Wooding
2009-06-04Rename w_flag to w_rflag. This is not a general purposeKjell Wooding