summaryrefslogtreecommitdiffstats
path: root/usr.bin/mg/file.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add dired-find-alternate-file.lum2016-01-021-5/+13
* Fix opening dired from the command line. Incorrect cursor placementlum2015-10-291-3/+1
* Check to see if the file to be opened is a directory as soon as islum2015-09-291-5/+27
* We really don't need ttydef.h -- it is like sysdef.h -- once useful becausebcallah2015-03-251-5/+2
* Clean up the includes in mg.bcallah2015-03-191-4/+10
* Revert 1.93, it breaks permission checks.florian2014-04-091-14/+16
* When finding a file in a non-existant directory:lum2014-04-031-4/+4
* Tidy up. No functional change.lum2014-03-311-16/+14
* Add some missing dobeeps.lum2014-03-201-2/+10
* Check if buffer is to be saved as a directory.lum2014-03-141-1/+6
* Move findbuffer() to buffer.c.lum2013-12-231-28/+1
* Fix previous; ENOCOFFEE.florian2013-10-221-4/+3
* Our man page states that it's not portable to rely on dirname(3) notflorian2013-10-221-10/+10
* Record when the buffer was saved in the undo history. The bufferflorian2013-03-251-1/+5
* Grammar nits.lum2013-02-101-2/+2
* - add 'make-directory' (not bound to any shortcut).jasper2012-11-271-3/+4
* oops. need to reset errno. Otherwise we can't save a new file in alum2012-08-301-1/+2
* This diff allows the user to decide what to do with buffers thatlum2012-08-301-2/+17
* Make mg behave more like emacs with regards to opening a new buffer:lum2012-08-281-6/+24
* Removing this 'if' statement allows dired buffers to not have theirlum2012-06-181-7/+5
* Remove static FILE pointer used for handling files in fileio.c. Passlum2012-05-251-12/+16
* Allow throwaway buffers to be saved via C-c s. This difflum2012-05-101-2/+5
* Fix a bug in writeout() where the stats of the wrong filelum2012-05-081-2/+4
* When writing a file via 'C-x C-w', ask user if they want to overwrite anlum2012-04-111-2/+14
* On a file write fail:lum2011-08-311-4/+6
* Wrap basename,dirname with xbasename, xdirname funtions,kjell2011-01-231-22/+37
* It volates style(9), but in mg, #include"def.h" goes first. 'twas the way it was built. no binary change here. confirmed by lum@, tested by Henri Kemppainenkjell2011-01-211-3/+3
* augbname immediately does a basename. No need to do it in thekjell2011-01-181-2/+2
* From the Loganaden Velvindron:kjell2010-06-261-5/+7
* Add the notion of an "ephemeral" popup, so we can flag a windowkjell2009-06-041-2/+2
* Rename w_flag to w_rflag. This is not a general purposekjell2009-06-041-3/+3
* Expose the undo commands as proper mg functions.kjell2008-09-151-6/+6
* Enable dirty buffer detection in mg.kjell2008-09-151-2/+11
* Don't free the buffer name until after you call adjustname.kjell2008-06-181-2/+2
* Fix debian bug #432656kjell2008-06-131-4/+28
* Reset startrow when opening multiple files. Spotted by matthieu@pyr2008-03-211-2/+4
* Fix a bug where inserting a file resulted in an incorrectkjell2006-12-241-17/+25
* Fix a needless inversion of flag names; i.e. change them from thekjell2006-11-171-2/+4
* Add bfirstlp(), blastlp() macros, returning the first and last lineskjell2006-07-251-2/+2
* Rename the header line of a buffer to b_headp, from the remarkablykjell2006-07-251-5/+5
* Introduce a 'MODIFIED' boundary type for undo records.kjell2006-07-081-1/+2
* Display line number in the mg statusbar. Yes, it seems like a fuglykjell2006-06-011-7/+10
* make // /~ path rewriting optional in adjustname() and use it everywherejason2006-06-011-6/+6
* Initialize current window, and clear the readonly flag earlier in filekjell2006-06-011-11/+12
* find-file-other-window and find-buffer-other-window should splitkjell2006-06-011-1/+3
* Make Window Flags more mnemonic (and less dumb); i.e.kjell2006-05-281-4/+4
* Make buffers store their own working directory. This makes things likekjell2006-05-021-29/+30
* Fix a bug whereby a written buffer (^X^W) would not have the correctkjell2006-04-061-18/+13
* few more int that can become a size_tderaadt2006-04-031-4/+5
* lint love; ok kjellderaadt2006-04-031-2/+2