summaryrefslogtreecommitdiff
path: root/usr.bin/mg/basic.c
AgeCommit message (Expand)Author
2023-04-21mg: allow to change the tab widthOmar Polo
2023-04-17resurrect mg' no-tab-modeOmar Polo
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2022-05-24fix some dobeep_msgs callsop
2021-02-27Add dobeep functions that take messages to basic.c.Mark Lumsden
2019-06-17From Leonid Bobrov: add a condition to {beginning,end}-of-buffer toMark Lumsden
2019-06-03This diff gives the commands beginning-of-buffer and end-of-buffer theMark Lumsden
2015-10-10Make functions that accept multiple iterations via C-u N, honour 0.Mark Lumsden
2015-09-26whitespaceJasper Lievisse Adriaanse
2015-03-24When exiting the loop early don't forget to clean up.Florian Obser
2015-03-19Clean up the includes in mg.Brian Callahan
2014-11-16Stop using <sys/param.h>; replace MAXPATHLEN with PATH_MAX, stop using MAX(),Philip Guenther
2014-03-20Add some missing dobeeps.Mark Lumsden
2013-05-31Also inform the user about beginning / end of buffer in previous-lineFlorian Obser
2013-05-31Make the system bell toggleable via 'audible-bell', and if switchedlum
2013-03-25Display the window's column number in mode line not theFlorian Obser
2012-10-12- implement "revert-buffer", which reverts the current buffer to what's on diskJasper Lievisse Adriaanse
2012-06-18When using M-> Place cursor at the bottom of the window (minus 3lum
2012-06-08From an email to tech@:lum
2012-06-08Fix bug where line-number counter would go a bit hay-wire when paginglum
2012-06-01While scrolling, show a message and beep when you reach either end oflum
2012-05-31Currently, mg's cursor jumps from top to bottom of the screen as youlum
2012-05-30Reverse part of v1.131. The end of buffer can still be reached so Ilum
2012-05-25When paging down a buffer (C-v) stop earlier before having the lastlum
2009-06-04Rename w_flag to w_rflag. This is not a general purposeKjell Wooding
2008-06-10Add a clear-mark function.Kjell Wooding
2006-12-20Get rid of CVMVAS define. Originally to change pgforw/back parameterKjell Wooding
2006-11-18Due to a thinko on my part, (and a badly named structure member),Kjell Wooding
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-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-05-28Make Window Flags more mnemonic (and less dumb); i.e.Kjell Wooding
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo 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-04-03This is a no binary change which does:David Berghoff
2005-03-10spacingTheo de Raadt
2004-07-22stage 1 of the infinite minibuffer work - add support for on the flyVincent Labrecque
2003-09-19do not += snprintf; andrushock@korovino.netTheo de Raadt
2003-05-16fix the goal calculation routine so moving up and down moves to the rightVincent Labrecque
2002-03-11 remove errno=0 assignments, we don't need these with Hakan's codeVincent Labrecque
2002-03-11 * Move to ANSI function definitions.Vincent Labrecque
2002-03-10Better long vs int. millert@ ok.Hakan Olsson
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-02-14 use strtol instead of atoi to get range checking, etcVincent Labrecque
2002-02-13 Make mg malloc the l_text element instead of reallocating whole LINEVincent Labrecque
2002-02-08more gosmacsTheo de Raadt
2001-05-23remove VOID. We're way beyond the point where this could build with anArtur Grabowski
2001-02-12goto-line 0 should go to the beginning of the file, not the end;Todd C. Miller