summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Expand)Author
2017-12-27Add -Wshadow to Makefile and fix the resulting warnings. Many ofTodd C. Miller
2017-12-26The hack for /dev/fd support on systems without it was removed aTodd C. Miller
2017-12-23As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).cheloha
2017-12-18Get rid of a todo by stop declaring variable texec as static and instead zeroinganton
2017-12-18No need to declare variable name as static in dounsetenv(). Also, drop aanton
2017-12-18Add another pair of home/end key bindings; from Lari Rasku.anton
2017-12-16Passing NULL to free() is fine; from Michael W. Bombardieri.anton
2017-12-15oops - previous should have been a list item;Jason McIntyre
2017-12-12Document change in the default shell prompts.Theo Buehler
2017-12-12Include hostname in shell prompts by defaultTheo Buehler
2017-12-08Convert snprintf+write into dprintf. It is simply easier to read, andTheo de Raadt
2017-12-07Drop the unused second argument from set_prompt(). It used to be used forTheo Buehler
2017-11-27Follow emacs mode and remove the interactive "version" function.Theo Buehler
2017-11-26Remove the "version" interactive function in emacs mode.Jeremie Courreges-Anglas
2017-11-22Fix some incorrectness related to Emacs editing mode in ksh:anton
2017-11-21Initialize *histbase to NULL to fix a bus error in emacs editing modeTheo Buehler
2017-11-16In revision 1.35 of file.c, tenex() was modified to respect the inputline_sizeanton
2017-11-16Zap a redundant cast.anton
2017-11-02Switch calloc(3) back to malloc(3). The call to calloc was introducedTheo Buehler
2017-10-24When dd(1) fails because it receives an INT signal,Ingo Schwarze
2017-10-23Kill needless rewind(3) call in hist_init()Jeremie Courreges-Anglas
2017-10-23Skip (and warn about) overlong history lines.Jeremie Courreges-Anglas
2017-10-19Delete the deprecated emacs-usemeta option.Jeremie Courreges-Anglas
2017-10-18The return value of this function isn't used.Jeremie Courreges-Anglas
2017-10-09Better document what the -v flag actually does and that you canTodd C. Miller
2017-09-16Carefully add casts to silence clang sign-compare warnings. ok millert@Otto Moerbeek
2017-09-12there is no offical way to get the max value of time_t, but this one worksOtto Moerbeek
2017-09-11Use getrusage(2) for the built-in time trial instead of getttimeofday(2).Todd C. Miller
2017-09-10Backslash escapes the next character in filename patterns.Philip Guenther
2017-09-08Avoid clang warning and make code better by using a signed long;Otto Moerbeek
2017-09-07Keep histptr inside of the allocated history arrayJeremie Courreges-Anglas
2017-09-06intvar < sizeof(...) does not catch negative values since an int -> unsignedOtto Moerbeek
2017-09-03Use PATH_MAX instead of a local defineJeremie Courreges-Anglas
2017-09-02whitespace commit from BCTheo de Raadt
2017-08-31ignoredups implementation quirkJeremie Courreges-Anglas
2017-08-30Guard FEMACSUSEMETA uses behind #ifdef EMACSJeremie Courreges-Anglas
2017-08-30Implement HISTCONTROL ignoredups & ignorespace featuresJeremie Courreges-Anglas
2017-08-30Stop exposing the emacs-usemeta option, and warn when trying to set it.Jeremie Courreges-Anglas
2017-08-30Drop needless commentJeremie Courreges-Anglas
2017-08-30No need for NULL checks before afree()Jeremie Courreges-Anglas
2017-08-30Zap redundant assignment; ok jca@anton
2017-08-30Respect inputline_size argument. No functional change since tenex() only has oneanton
2017-08-30Fix pasting of long (>BUFSIZ) lines in csh with filec enabled. NUL-terminatinganton
2017-08-29Kill a useless setlocale() queryJeremie Courreges-Anglas
2017-08-29Since rev 1.61 of print.c exp(3) and log(3) are not used anymore.Alexander Bluhm
2017-08-28Don't bother setting freed history lines to NULL.Jeremie Courreges-Anglas
2017-08-28Put history_write() in line with other functions that walk historyJeremie Courreges-Anglas
2017-08-27Free history entries when resizing/reloadingJeremie Courreges-Anglas
2017-08-27Remove unused copy_non_glob() in ksh.Nayden Markatchev
2017-08-26Don't lose the latest history line & don't crash when shrinking histsizeJeremie Courreges-Anglas