summaryrefslogtreecommitdiff
path: root/bin/ksh/main.c
AgeCommit message (Expand)Author
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
2004-12-20Ansification plus some minor knf. No binary change on i386 andOtto Moerbeek
2004-12-18deregisterTodd C. Miller
2004-12-18When invoked as sh set SH_VERSION, not KSH_VERSION like the man page says.Todd C. Miller
2004-12-18Get rid of #ifdef KSH since we don't care about building a V7 style sh andTodd C. Miller
2004-12-18Remove unused OS dependent #ifdef blocks, #defines and macro abstraction.Todd C. Miller
2004-08-23Don't send SIGINT or SIGTERM to the entire processes group when theTodd C. Miller
2004-06-07do not push ksh into stupid-random mode; leave it in arc4random() mode.Theo de Raadt
2004-01-08typo; from ray at cyth dot net (PR 3632);Jason McIntyre
2003-06-26protosTheo de Raadt
2003-04-04two fixes; help from tedu & tdevalTheo de Raadt
2003-03-10spelling fixesDavid Krause
2003-02-28typos; from Brian PooleJason McIntyre
2002-06-09knfTodd T. Fries
2000-12-19do not reset nonblock if shell is not interactive, from crossd@cs.rpi.eduMarkus Friedl
1999-11-14Better fix for PR #921 (main.c rev 1.18) from the pdksh cvs tree.Todd C. Miller
1999-11-14Fix a core dump caused by a signal race; yval@hackers.co.ilTodd C. Miller
1999-08-04Turn <tab> completion on by default for people used to bash, tcsh, etc...Todd C. Miller
1999-07-15o Set default line edit mode to emacs (VISUAL/EDITOR or user can override)Todd C. Miller
1999-06-15patches from pdksh 5.2.13.11Todd C. Miller
1999-04-27disable newgrp alias since OpenBSD doesn't have a newgrp(1)Todd C. Miller
1999-01-10sync with pdksh-unstable-5.2.13.6Todd C. Miller
1999-01-08bug fixes from pdksh-unstable-5.2.13.5; some of which we already had.Todd C. Miller
1998-10-29Bug fixes from pdksh-unstable-5.2.13.4, including "official" versions ofTodd C. Miller
1998-06-25pdksh-5.2.13 + local changesTodd C. Miller
1997-09-12do not quitenv() too early, or "s" goes away due to it's temporary nature;Theo de Raadt
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-06-19back outkstailey
1997-06-18(foo *)0 -> NULLkstailey
1997-01-02Add FSH (set -o sh), initialize it if we're /bin/sh, and add the first use:Jason Downs
1996-11-21Update to 5.2.12.Jason Downs
1996-10-01Integrate pdksh 5.2.9.Jason Downs
1996-08-19update to pdksh-5.2.8Jason Downs
1996-08-14Import pdksh 5.2.7.Jason Downs