Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-09 | In emacs incremental search mode (^R), | Ingo Schwarze | |
make commands starting with the escape key (^[) work as documented. Long-standing bug, this time reported by Dave minus Cohen dot com. OK natano@ halex@ | |||
2016-01-26 | remove a useless macro | mmcc | |
ok nicm@ | |||
2016-01-08 | Next step in UTF-8 support: | Ingo Schwarze | |
1. Improve all functions involving words by allowing non-ASCII characters to be part of words. 2. Allow insertion of non-ASCII characters without screwing up the display, by backing up to the start byte after inserting a continuation byte, and starting to re-print there. 3. Fix forward movement which i didn't get quite right in my previous commit: Always advance to a start byte, never to a final continuation byte, or the next insertion would split the character in the middle. OK mpi@ | |||
2015-12-30 | add another combo for home/end keys that works in tmux. | Ted Unangst | |
ok bmercer gsoares nicm sthen | |||
2015-12-14 | Move system headers from sh.h to those files that actually need them. | tb | |
ok mmcc@ a while ago | |||
2015-12-10 | In emacs command-line editing mode, make sure that moving left and | Ingo Schwarze | |
right can only move by whole characters, not into the middle of a character, and that deleting characters can only delete characters whole, not individual bytes out of characters. Based on parts of a patch by Frederic Nowak <fnwk at mailbox dot org>, tweaked by me. OK tedu@ semarie@ mpi@ | |||
2015-10-19 | Move string.h include from sh.h to the files that use it. | mmcc | |
ok nicm@ | |||
2015-10-19 | Apply style(9) to header includes. | mmcc | |
ok nicm@ | |||
2015-10-16 | Change x_do_ins()'s arg type from int to size_t for correctness's sake, | mmcc | |
and to silence a compiler warning. Also remove its prototype, which is directly above its definition. ok tedu@ | |||
2015-10-16 | Cast iscntrl()'s arg to unsigned char. | mmcc | |
ok nicm@ | |||
2015-10-10 | Replace calls to x_emacs_putbuf() with x_do_ins() since all | Todd C. Miller | |
x_emacs_putbuf() does is call x_do_ins(). From mksh via Michael McConville | |||
2015-10-10 | Unused macros; from Michael McConville. | Nicholas Marriott | |
2015-10-09 | remove null check before afree. from Michael McConville | Ted Unangst | |
2015-09-18 | Last of the (thing *)0 -> NULL, from Michael McConville. No binary | Nicholas Marriott | |
change. | |||
2015-09-10 | Replace newline and space defines by "\n" and " " directly, from Michael | Nicholas Marriott | |
McConville. ok millert | |||
2015-09-01 | remove casts and null checks before free. from Michael McConville | Ted Unangst | |
ok deraadt | |||
2015-03-25 | Bind the Delete key (ESC[3~) to delete-char-forward | Jeremie Courreges-Anglas | |
ok mpi@ | |||
2015-02-16 | bcmp to memcmp | Ted Unangst | |
2013-12-17 | ctype cleanups. Repeated re-audits of this sensitive area by okan and | Theo de Raadt | |
myself, with a variety of other people spending some time as well. Thanks. | |||
2013-11-28 | remove trailing whitespaces; use tabs instead of spaces where appropriate; | Igor Sobrado | |
no binary changes. | |||
2012-06-10 | Correctly expand bindings containing macros. Fix a regression introduced | Martin Pieuchot | |
in the keybinding system rewrite, reported by Lars Engblom. | |||
2012-04-30 | generalise ksh keybinding system - bindings are no longer limited in | Damien Miller | |
length and need not start with ESC or ^X; patch from marco@ feedback mpi@ | |||
2011-09-05 | Fix hang in emacs mode. To reproduce the hang go like: "^[16000l" which | Marco Peereboom | |
would insert 16000 letter l'. Going over the line limit makes no sense so limit it's repetition and prevent the hang in the process. ok guenther | |||
2011-03-14 | remove unused SILLY game of life. | Okan Demirmen | |
no binary change. sure @deraadt | |||
2009-06-02 | fix macro handling | Alexander Hall | |
2007-08-02 | fix memory leaks and one potential null deref found by coverity. from netbsd. | Federico G. Schwindt | |
millert@ ok | |||
2006-07-10 | fix ksh prompt wrapping, from Marcus Glocker <marcus@nazgul.ch>. | Bob Beck | |
tested by me and naddy, and others... ok naddy@ and me. | |||
2005-09-26 | Fix a redraw problem that occurs when a recalled history line has | Otto Moerbeek | |
length equal to screen width - 2. Spotted by jmc@, tested by various. ok deraadt@ | |||
2005-08-01 | pascoe noted that ^V in ksh emacs mode is not what you expect -- literal | Theo de Raadt | |
next as it is every other canonical mode, or emulation of canonical mode. change it to act like it should ok djm david marc tdeval pvalchev | |||
2005-03-30 | lots of indentation cleanup, now ksh is readable like our other code. | Theo de Raadt | |
double checked to make sure no binaries change, and eyed by niallo | |||
2005-03-28 | spacing | Theo de Raadt | |
2005-02-17 | Printt ^D and newline on EOF in emacs mode like in vi mode. | Otto Moerbeek | |
Help and ok jaredy@ ok millert@ | |||
2004-12-23 | Replace home rolled unsigned char type with u_char. | Jonathan Gray | |
ok millert@ | |||
2004-12-22 | Use stdbool.h instead of rolling our own bools. | Todd C. Miller | |
2004-12-20 | Ansification plus some minor knf. No binary change on i386 and | Otto Moerbeek | |
sparc64, binary change in lex.o on macppc due to introduction of dopprompt() prototype. ok millert@ | |||
2004-12-19 | spacing | Theo de Raadt | |
2004-12-18 | deregister | Todd C. Miller | |
2004-12-18 | Remove unused OS dependent #ifdef blocks, #defines and macro abstraction. | Todd C. Miller | |
First step in making the ksh code easier to read. From Matthias Kilian | |||
2003-10-22 | typos from Jared Yanovich; | Jason McIntyre | |
ok deraadt@ | |||
2003-09-01 | In emacs editing mode, ksh by default interprets a set 8th bit as | Christian Weisgerber | |
meta prefix, i.e. all characters with the top bit set (>= 0x80) are taken as commands and cannot be entered literally. Introduce a new shell option, emacs-usemeta, that allows to toggle this behavior. The default is the traditional behavior; to enter 8-bit characters use "set +o emacs-usemeta". ok fgsch@, henning@ | |||
2003-08-27 | rename force_push to something more sensible. | Federico G. Schwindt | |
2003-08-27 | escape on expand under emacs mode; otto@ ok. | Federico G. Schwindt | |
2003-08-26 | fix backward and forward delete; from wiz@netbsd.org. many thanks. | Federico G. Schwindt | |
2003-08-23 | under emacs mode, fix the case when the globbed file and the longest | Federico G. Schwindt | |
prefix lenghts are equal ("a .b" and "a ab" by instance). found and tested by otto@. | |||
2003-08-02 | don't push things unless force is true; avoid adding text again on yank-pop. | Federico G. Schwindt | |
2003-08-02 | On ESC-y ESC-y (yank-pop), also check that there is something to | Federico G. Schwindt | |
insert (some text has been killed before). from otto@, fix PR/3384. On yank-pop error (no yank before), reset the index to killstack so another yank-pop does not mangle the prompt if nothing was yanked, and to avoid replacing a text when it shouldn't (yank <something> yank-pop yank-pop). otto@ ok. | |||
2003-06-26 | protos | Theo de Raadt | |
2003-04-16 | string cleaning. ok tedu@ | Thierry Deval | |
2003-02-28 | typos; from Brian Poole | Jason McIntyre | |
2002-10-16 | enable meta key in emacs mode for 7-bit locales; provos@ | Todd C. Miller | |