summaryrefslogtreecommitdiffstats
path: root/bin
AgeCommit message (Expand)AuthorFilesLines
2018-01-01Add WARNINGS=yes to ksh and fix the resulting sign compare warnings.millert14-81/+90
2017-12-30backslash also escapes newlines when quoted;jmc1-4/+4
2017-12-27Add -Wshadow to Makefile and fix the resulting warnings. Many ofmillert12-70/+66
2017-12-26The hack for /dev/fd support on systems without it was removed amillert1-27/+18
2017-12-23As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).cheloha1-8/+6
2017-12-18Get rid of a todo by stop declaring variable texec as static and instead zeroinganton1-2/+3
2017-12-18No need to declare variable name as static in dounsetenv(). Also, drop aanton1-5/+2
2017-12-18Add another pair of home/end key bindings; from Lari Rasku.anton1-1/+3
2017-12-16Passing NULL to free() is fine; from Michael W. Bombardieri.anton4-18/+11
2017-12-15oops - previous should have been a list item;jmc1-4/+4
2017-12-12Document change in the default shell prompts.tb3-13/+18
2017-12-12Include hostname in shell prompts by defaulttb4-10/+20
2017-12-08Convert snprintf+write into dprintf. It is simply easier to read, andderaadt1-8/+3
2017-12-07Drop the unused second argument from set_prompt(). It used to be used fortb4-9/+9
2017-11-27Follow emacs mode and remove the interactive "version" function.tb1-19/+2
2017-11-26Remove the "version" interactive function in emacs mode.jca1-32/+1
2017-11-22Fix some incorrectness related to Emacs editing mode in ksh:anton2-11/+17
2017-11-21Initialize *histbase to NULL to fix a bus error in emacs editing modetb1-1/+2
2017-11-16In revision 1.35 of file.c, tenex() was modified to respect the inputline_sizeanton1-2/+2
2017-11-16Zap a redundant cast.anton1-3/+2
2017-11-02Switch calloc(3) back to malloc(3). The call to calloc was introducedtb1-2/+2
2017-10-24When dd(1) fails because it receives an INT signal,schwarze1-4/+3
2017-10-23Kill needless rewind(3) call in hist_init()jca1-3/+1
2017-10-23Skip (and warn about) overlong history lines.jca1-7/+22
2017-10-19Delete the deprecated emacs-usemeta option.jca2-18/+3
2017-10-18The return value of this function isn't used.jca1-6/+4
2017-10-09Better document what the -v flag actually does and that you canmillert1-2/+11
2017-09-16Carefully add casts to silence clang sign-compare warnings. ok millert@otto5-15/+16
2017-09-12there is no offical way to get the max value of time_t, but this one worksotto5-10/+12
2017-09-11Use getrusage(2) for the built-in time trial instead of getttimeofday(2).millert1-5/+7
2017-09-10Backslash escapes the next character in filename patterns.guenther1-1/+4
2017-09-08Avoid clang warning and make code better by using a signed long;otto1-4/+4
2017-09-07Keep histptr inside of the allocated history arrayjca1-4/+12
2017-09-06intvar < sizeof(...) does not catch negative values since an int -> unsignedotto1-5/+5
2017-09-03Use PATH_MAX instead of a local definejca3-6/+6
2017-09-02whitespace commit from BCderaadt1-2/+2
2017-08-31ignoredups implementation quirkjca1-1/+5
2017-08-30Guard FEMACSUSEMETA uses behind #ifdef EMACSjca1-1/+7
2017-08-30Implement HISTCONTROL ignoredups & ignorespace featuresjca5-18/+70
2017-08-30Stop exposing the emacs-usemeta option, and warn when trying to set it.jca4-16/+19
2017-08-30Drop needless commentjca1-2/+1
2017-08-30No need for NULL checks before afree()jca1-9/+5
2017-08-30Zap redundant assignment; ok jca@anton1-2/+1
2017-08-30Respect inputline_size argument. No functional change since tenex() only has oneanton1-1/+3
2017-08-30Fix pasting of long (>BUFSIZ) lines in csh with filec enabled. NUL-terminatinganton4-9/+22
2017-08-29Kill a useless setlocale() queryjca1-11/+3
2017-08-29Since rev 1.61 of print.c exp(3) and log(3) are not used anymore.bluhm1-3/+3
2017-08-28Don't bother setting freed history lines to NULL.jca1-7/+3
2017-08-28Put history_write() in line with other functions that walk historyjca1-9/+4
2017-08-27Free history entries when resizing/reloadingjca1-7/+23