summaryrefslogtreecommitdiff
path: root/usr.bin/mg/search.c
AgeCommit message (Expand)Author
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2022-12-26spelling fixes; from paul tagliamonteJason McIntyre
2022-10-20add zap-to-char and zap-up-to-char; bind zap-to-char to M-z.Omar Polo
2018-07-11When in incremental search handle ^M (a.k.a. <cr>) like ^[ (a.k.a.Kenneth R Westerback
2017-08-06Present the default choice before the colon in prompts. Matches GNU EmacsBrian Callahan
2017-05-30fix -Wshadow warnings.Florian Obser
2015-03-19Clean up the includes in mg.Brian Callahan
2014-03-20Add some missing dobeeps.Mark Lumsden
2013-05-31Make the system bell toggleable via 'audible-bell', and if switchedlum
2012-09-07Make C-r not screw up the line counter if the pattern ends up notlum
2012-05-25Allow searching (C-s or C-r) to wrap around the ends of a buffer.lum
2012-04-12Remove the conditional directives NO_MACRO and NO_STARTUP.lum
2011-01-21It volates style(9), but in mg, #include"def.h" goes first. 'twas the way it ...Kjell Wooding
2009-06-04Rename w_flag to w_rflag. This is not a general purposeKjell Wooding
2008-06-12incremental search isn't allowed in macros, so if your fingersKjell Wooding
2007-02-13Fix a problem with wrapped incremental searches.Kjell Wooding
2006-11-181. Fix line numbering/mark line bug in isearch.Kjell Wooding
2006-11-17fix a segfault on isearch. Using ^W to add more than NPAT chars to theKjell 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-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
2006-02-03Fix off by one ocurring if ^W immediate follows ^S; testing marc@;Otto Moerbeek
2005-12-13More name-clash delintingKjell Wooding
2005-12-13do some silly de-lintingKjell Wooding
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo de Raadt
2005-11-18Casefold on replace was killed ages ago (it was wrong). Remove aKjell Wooding
2005-10-11Allow the more traditional emacs keybindings during search/replace, tooKjell Wooding
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-06-14Three more ereply that should be ereads. This fixes henning's "replaceKjell Wooding
2005-06-05if functions permits null reply from minibuffer, use eread (withKjell Wooding
2005-06-03Like emacs, handle ^W during incremental search. Pressing ^W duringChad Loder
2005-05-27Add emacs-style replace-string function that does not prompt youChad Loder
2005-05-27Fix dumb bug in initial prompt for search-forwardChad Loder
2005-05-27Do not dump core if user hits ^g to exit minibuffer from search-forward.Chad Loder
2005-05-25Incremental search will now wrap to beginning (or end if backwards) ifChad Loder
2005-05-23make ^S/^R behave like 'emacs': mixed case patterns forces a case sensitiveJason Wright
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-05-20Finish KNF of prototypes. That should be all of them.Chad Loder
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-02-13 * Replace unsafe strcpy and strcat calls to safe strlcpy and strlcat.Vincent Labrecque
2001-05-24spacesMichael Shalayeff
2001-05-23remove VOID. We're way beyond the point where this could build with anArtur Grabowski
2001-05-03Fix another annoying feature in mg. When I try to use the keypad toArtur Grabowski
2001-01-29$OpenBSD$Niklas Hallqvist
2000-09-01More -Wall anmd KNF, from op2@tomahawk.SQUiSH.orgTodd C. Miller
2000-04-13The start of KNF + -Wall. The code has been run through indent butTodd C. Miller
2000-02-25initial import of mg2aTheo de Raadt