summaryrefslogtreecommitdiff
path: root/bin/ksh/main.c
AgeCommit message (Expand)Author
2017-08-11Retire old behavior of requiring root prompt to contain # or \!Philip Guenther
2016-10-17No need to inspect LC_CTYPE:Ingo Schwarze
2016-10-11Partial UTF-8 line editing support for ksh(1) vi input mode;Ingo Schwarze
2016-09-08Mark PPID read-only as per the manual. From Anthony Coulter.Todd C. Miller
2016-03-04remove CSRG BSD-licensed mknod builtin code which was previously used toTheo de Raadt
2015-12-30rename global "e" to genv to avoid accidental shadowing and aliasing.Ted Unangst
2015-12-27Tweak comment: we now always make a copy of argv.Jeremie Courreges-Anglas
2015-12-27unconditionally duplicate the argv array on initialization, to make itAlexander Hall
2015-12-14Move system headers from sh.h to those files that actually need them.tb
2015-11-11exit() after perror() for pledge failure. Perhaps this got introducedTheo de Raadt
2015-11-01Add uses of areallocarray(). mksh and Bitrig ksh already have similarmmcc
2015-10-30'fc -e -' is deprecated in favor of 'fc -s', so update the built-in aliasPhilip Guenther
2015-10-22Final removal of EXTERN.mmcc
2015-10-21Penultimate commit to remove EXTERN.mmcc
2015-10-19Move string.h include from sh.h to the files that use it.mmcc
2015-10-19More removal of EXTERN.mmcc
2015-10-19Apply style(9) to header includes.mmcc
2015-10-18Move more EXTERN-defined globals from sh.h.mmcc
2015-10-17Move a system header include from the global header (sh.h) into themmcc
2015-10-16wrap a long lineTheo de Raadt
2015-10-16Implement real "flock" request and add it to userland programs thatTodd C. Miller
2015-10-10normalize a few more tame request orderings, to help reviewTheo de Raadt
2015-10-10ksh can run with pledge "stdio rpath wpath cpath getpw fattr proc exec tty"Theo de Raadt
2015-09-18Last of the (thing *)0 -> NULL, from Michael McConville. No binaryNicholas Marriott
2015-09-17Remove unnecessary casts, from Michael McConville. No binary change.Nicholas Marriott
2015-09-15correct spelling of NULL from (char *)0. from Michael McConville.Ted Unangst
2015-09-10Replace newline and space defines by "\n" and " " directly, from MichaelNicholas Marriott
2015-09-01no need to check for null argv anymore. from Martijn van DurenTed Unangst
2015-02-09If we hit multiple errors while unwinding we'll end up running code thatJonathan Gray
2013-11-28remove trailing whitespaces; use tabs instead of spaces where appropriate;Igor Sobrado
2013-09-04Add a proper suspend builtin that saves/restores the tty and pgrpTodd C. Miller
2013-06-15Run any pending traps before calling the EXIT or ERR traps when -eTodd C. Miller
2012-09-10fake a sigwinch after each job, so if the terminal changes size,Ted Unangst
2012-09-06Avoid modifying argv when building argv for $* and $@ since it willTodd C. Miller
2012-09-05backout, Todd's version may be cleaner, but it's also wrong.Marc Espie
2012-09-05sh -c should not munge argv[].Marc Espie
2011-09-07beter determination if the shell is restricted; from Alf Schlichting.Otto Moerbeek
2010-05-19properly keep track of the line number after a trap.Jasper Lievisse Adriaanse
2009-01-29pass "xerrok" status across the execution call stack to more closelyJared Yanovich
2008-07-05ksh starting as root will refuse to import a PS1 prompt unless itDamien Miller
2007-05-31Only process ENV when in interactive mode as SU says. Started byOtto Moerbeek
2006-11-02Only check if last three letters are "/sh" if string is at leastRay Lai
2006-04-10fix lint comments, no functional changes; ok rayJared Yanovich
2005-12-11fix a few name clashes with libc; found by lint. ok deraadt@Otto Moerbeek
2005-12-11remove unused variables and functionsTheo de Raadt
2005-03-30lots of indentation cleanup, now ksh is readable like our other code.Theo de Raadt
2005-03-28if argv[0] not set, do not set it to "pdksh", but to "ksh"Theo de Raadt
2005-02-21Set \u in prompt expansion to the right value, while avoiding getpw* calls,Otto Moerbeek
2004-12-22Fix a use-after-free, that causs core dumps if a shell is killedOtto Moerbeek
2004-12-22Use stdbool.h instead of rolling our own bools.Todd C. Miller