summaryrefslogtreecommitdiffstats
path: root/bin/ksh
AgeCommit message (Expand)AuthorFilesLines
2021-03-12Provide definition of CTRL in vi.c like we do for emacs.c.millert1-1/+4
2021-03-11groff complains about the word "An" in an Rs/Re block, believing it a macro,jmc1-3/+3
2021-03-10Add support for ^R (redraw) in insert mode too.millert2-3/+9
2021-03-10Fix redrawing of a multiline PS1 prompt in vi mode.millert1-8/+9
2021-03-08use a journal reference instead of cstr when possiblejsg1-1/+9
2021-03-08Add some references, most of these were removed when we stopped buildingjsg1-2/+11
2021-03-05Fix old ksh bug: wrong variable being looked up when value is provided.zhuk1-2/+2
2020-10-26In lib/libc/gen/charclass.h r1.3 guenther made cclasses const.tb1-2/+2
2020-09-20Clear screen before redrawing the line with ^L, also in input mode.millert2-29/+62
2020-09-13Fix "$@" splitting with empty IFStb1-17/+48
2020-07-22Collapse consecutive stars to avoid exponential behavior.millert1-1/+4
2020-07-07Add support for set -o pipefailjca4-7/+41
2020-05-22Fix the exit code when eval()uating a || compound list, it wouldbenno1-1/+7
2020-05-08Use proper function pointer type instead of void *jca1-5/+7
2020-02-21Enforce that TMOUT is an integer literal to prevent command execution fromtb1-1/+5
2019-11-26some corrections to CDPATH;jmc1-4/+6
2019-10-27No need for <sys/uio.h> as writev(2) isn't used any more.jca1-2/+1
2019-10-27Don't fail hard if we can't preallocate history storage.jca1-7/+15
2019-07-24Add #include <stdlib.h> for mkstemp.bcallah1-1/+2
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt14-65/+65
2019-06-27Some asprintf() calls were checked < 0, rather than the precise == -1.deraadt1-3/+3
2019-06-24Fix spellingjca1-2/+2
2019-06-24Partial revert of rev. 1.151:schwarze1-5/+7
2019-06-21zap trailing whitespace;jmc1-3/+3
2019-06-19Allow string greater/less than than operators to work with test aka [.millert2-12/+14
2019-05-22mention that using vi command line editing mode requires enabling it;schwarze1-3/+7
2019-04-03Bind ^L (C-l) to clear-screen instead of redrawjca2-6/+6
2019-02-20When evaluating an arithmetical expression, for example inside $(()),schwarze4-4/+14
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.millert1-2/+2
2019-01-14Fix three more buglets:schwarze1-2/+6
2019-01-14do not peek before the beginning of a stringtedu1-2/+2
2019-01-07short circuit mail check if MAIL is unset. ok antontedu1-8/+10
2018-12-30Delete unnecessary <libgen.h> #includesguenther1-2/+1
2018-12-16Tweak the syntax displays to show that the list of wordsschwarze2-11/+13
2018-12-08Fix kill [-SIGNAME | -s SIGNAME] and simplifyjca1-13/+11
2018-11-30in getopts, when a option is followed by a colon the parameter is mandatorysolene1-3/+3
2018-11-20Convert the pledge call to idiomatic format 'cause we love grep.deraadt1-3/+4
2018-11-20Fix the case where the recursion detection isn't reset when the command ismartijn3-9/+21
2018-11-17Use a very regular call pattern to pledge, so that we can continue toderaadt1-10/+11
2018-11-16Include "id" in pledge (for setres[ug]id, setgroups) if the shell isnicm2-5/+18
2018-09-29Export the PWD and OLDPWD shell variables as per POSIX.millert1-2/+2
2018-09-28Contrary to the sh manual, it is possible to modify the PWD variablemillert1-3/+2
2018-07-09Second attempt of the recently backed out variable expansion fix. This time withanton1-4/+35
2018-07-08Back out previous. naddy and rpe found that it breaks the installer withtb1-35/+4
2018-07-08Fix a bug related to variable expansion referencing multiple read-onlyanton1-4/+35
2018-06-25Count $MAILCHECK with the monotonic clock.cheloha1-6/+11
2018-06-18Use shl_out->fd instead of STDOUT_FILENO in the call the setupterm().millert1-2/+2
2018-06-18Add clear-screen emacs editing command, currently not bound to amillert7-17/+72
2018-05-30point readers to the correct place instead of having thembenno1-4/+4
2018-05-18remove the alias type='whence -v' and replace it withbenno4-11/+38