summaryrefslogtreecommitdiff
path: root/usr.bin/mg/dired.c
AgeCommit message (Expand)Author
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
2006-11-01Don't overwrite line[strlen(line) - 1] when line is zero-length.Ray Lai
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-06-01Display line number in the mg statusbar. Yes, it seems like a fuglyKjell Wooding
2006-06-01make // /~ path rewriting optional in adjustname() and use it everywhereJason Wright
2006-05-28Make Window Flags more mnemonic (and less dumb); i.e.Kjell Wooding
2006-05-02Make buffers store their own working directory. This makes things likeKjell Wooding
2005-12-20Do some delinting of strl-type functions. Also, remove a superfluousKjell Wooding
2005-12-13Last round of easy delinting.Kjell Wooding
2005-12-13More name-clash delintingKjell Wooding
2005-11-20toast NO_DIRED #ifdef; ok kjellTheo de Raadt
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo de Raadt
2005-11-13Better error checking of snprintfs. From Han Boetes.Kjell Wooding
2005-11-12break in caseTheo de Raadt
2005-11-07KNFKjell Wooding
2005-11-07Move most of the dired hooks into dired.c. While here, enable someKjell Wooding
2005-10-14add missing /* ARGSUSED */ to quiet lint.Kjell Wooding
2005-10-14unused variablesTheo de Raadt
2005-10-14move the dired routines into dired.c where they belong.Kjell Wooding
2005-10-13Fix dired mode. Make deletions work, and keystrokes match emacs.Kjell Wooding
2005-10-11prevent trashing of errno in signal handlerTheo de Raadt
2005-08-09Clean up eread handling in mg. (basically, fallout from the 'enter oftenKjell Wooding
2005-06-14Add explicit public domain notices to all public domain files.Kjell Wooding
2005-05-28Dired now prompts in the minibuffer using the current directory nameChad Loder
2005-05-15Fix insert-buffer prompt format string. strlcpy returns size_t, not intChad Loder
2005-04-28That should be FALSE in previous commit.Otto Moerbeek
2005-04-28NULL is not an int. Han Boetes.Otto Moerbeek
2005-04-03This is a no binary change which does:David Berghoff
2004-07-22stage 1 of the infinite minibuffer work - add support for on the flyVincent Labrecque
2003-08-16spacingTheo de Raadt
2003-08-15make dired work more like emacs. (well, make it _work_, and then add aVincent Labrecque
2003-06-26protosVincent Labrecque
2002-03-11 * Move to ANSI function definitions.Vincent Labrecque
2002-02-15 make pressing return in dired mode open the file we're currently at.Vincent Labrecque
2002-02-14d_makename now takes a length parameter so we can remove theVincent Labrecque
2001-05-24spacesMichael Shalayeff
2001-01-29$OpenBSD$Niklas Hallqvist
2000-04-13The start of KNF + -Wall. The code has been run through indent butTodd C. Miller
2000-02-27use rmdir, not unlinkdir hackTodd C. Miller
2000-02-26Use uid_t, gid_t and mode_t where applicable.Todd C. Miller
2000-02-26change WINDOW -> MGWIN to avoid curses type conflictTodd C. Miller
2000-02-25initial import of mg2aTheo de Raadt