summaryrefslogtreecommitdiffstats
path: root/bin/ksh/emacs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* lots of indentation cleanup, now ksh is readable like our other code.deraadt2005-03-301-238/+208
| | | | double checked to make sure no binaries change, and eyed by niallo
* spacingderaadt2005-03-281-5/+6
|
* Printt ^D and newline on EOF in emacs mode like in vi mode.otto2005-02-171-1/+5
| | | | Help and ok jaredy@ ok millert@
* Replace home rolled unsigned char type with u_char.jsg2004-12-231-11/+8
| | | | ok millert@
* Use stdbool.h instead of rolling our own bools.millert2004-12-221-22/+22
|
* Ansification plus some minor knf. No binary change on i386 andotto2004-12-201-206/+118
| | | | | sparc64, binary change in lex.o on macppc due to introduction of dopprompt() prototype. ok millert@
* spacingderaadt2004-12-191-18/+18
|
* deregistermillert2004-12-181-74/+72
|
* Remove unused OS dependent #ifdef blocks, #defines and macro abstraction.millert2004-12-181-85/+34
| | | | First step in making the ksh code easier to read. From Matthias Kilian
* typos from Jared Yanovich;jmc2003-10-221-9/+9
| | | | ok deraadt@
* In emacs editing mode, ksh by default interprets a set 8th bit asnaddy2003-09-011-4/+3
| | | | | | | | | | | 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@
* rename force_push to something more sensible.fgsch2003-08-271-5/+5
|
* escape on expand under emacs mode; otto@ ok.fgsch2003-08-271-3/+6
|
* fix backward and forward delete; from wiz@netbsd.org. many thanks.fgsch2003-08-261-3/+3
|
* under emacs mode, fix the case when the globbed file and the longestfgsch2003-08-231-2/+2
| | | | | prefix lenghts are equal ("a .b" and "a ab" by instance). found and tested by otto@.
* don't push things unless force is true; avoid adding text again on yank-pop.fgsch2003-08-021-2/+2
|
* On ESC-y ESC-y (yank-pop), also check that there is something tofgsch2003-08-021-2/+4
| | | | | | | | | | 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.
* protosderaadt2003-06-261-1/+5
|
* string cleaning. ok tedu@tdeval2003-04-161-4/+4
|
* typos; from Brian Poolejmc2003-02-281-3/+3
|
* enable meta key in emacs mode for 7-bit locales; provos@millert2002-10-161-1/+19
|
* knftodd2002-06-091-19/+19
|
* make file-completion work with ~ (tilde)camield2001-07-171-9/+9
| | | | tested by provos@ and me
* bash-like 'double-tab' completioncamield2001-02-191-78/+37
| | | | | | | | | - bind TAB (^I) to complete-list by default - complete-list now lists 'ls style' not 'menu style' - complete-list first completes; if that does not work, it lists - fix a memleak in emacs.c, do_complete - completion now works after '=' (dd), and ':' (ssh) and ` (backtick) - a command can now start with a subdir from the current dir
* Make application mode arrow keys work; fixes arrow keys on the console.millert2000-01-241-1/+2
|
* quote metachars when completing filenames from jdolecek@netbsd. ok millert@d1999-11-141-3/+19
|
* Turn <tab> completion on by default for people used to bash, tcsh, etc...millert1999-08-041-1/+2
|
* pdksh-5.2.14millert1999-07-141-11/+11
|
* patches from pdksh 5.2.13.11millert1999-06-151-7/+35
|
* Updates from pdksh-unstable-5.2.13.7. Most notable change is:millert1999-01-191-3/+2
| | | | | trap: exit traps now executed in subshells (without explicit exit call). See the Changelog for a full list of changes.
* sync with pdksh-unstable-5.2.13.6millert1999-01-101-4/+4
|
* Bug fixes from pdksh-unstable-5.2.13.4, including "official" versions ofmillert1998-10-291-2/+4
| | | | | | | | | | | | | | | | | | some that we had already fixed locally. o typeset -f FUNC doesn't print follows command (and expression) substitutions. o when re-allocating memory, too much may be copied from old memory. o set -o printed some options sans names. o emacs mode: <esc>. in very fist command causes core dump. o pdksh dumps core after a cd command. o typeset -i reports on array elements that have no value (at&t ksh reports on array base name - no index). o ulimit -ctn unlimittttted kills shell (resource exceeded). o ". /dev/null" says access denied. o flag field in aliases incorrectly changed (all flags set instead of clearing ISSET) in exec.c(flushcom). o ${#array[*]} prints largest index instead of number of (set) elements in an array (ksh88 does the former). o sys_siglist[] doesn't always have NSIG non-null entries...
* pdksh-5.2.13 + local changesmillert1998-06-251-11/+4
|
* back outkstailey1997-06-191-6/+6
|
* (foo *)0 -> NULLkstailey1997-06-181-6/+6
|
* update to pdksh-5.2.8downsj1996-08-191-25/+55
|
* Import pdksh 5.2.7.downsj1996-08-141-0/+2152