summaryrefslogtreecommitdiff
path: root/bin/ksh/lex.c
AgeCommit message (Expand)Author
2011-03-09substitute '~' for $HOME in the \W prompt case; matches bash's behavior.Okan Demirmen
2008-07-03fix inifinite loop with set -o csh-history and !<space> as input.Otto Moerbeek
2007-06-02s/FALLTROUGH/FALLTHROUGH/Moritz Jodeit
2006-07-10fix ksh prompt wrapping, from Marcus Glocker <marcus@nazgul.ch>.Bob Beck
2006-06-16Work around a problem with \$ expansion where \$\$ turned into pid ($$)Dale Rahn
2006-05-29Implement \$ and \# expansion for PS1. Whoever thought it a cleverOtto Moerbeek
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-09-11Fix " handling in here documents. POSIX says they are not special, soOtto Moerbeek
2005-03-30lots of indentation cleanup, now ksh is readable like our other code.Theo de Raadt
2005-02-21Set \u in prompt expansion to the right value, while avoiding getpw* calls,Otto Moerbeek
2005-01-10In csh-style history expansion, initialize s->u.freeme to NULL so weTodd C. Miller
2004-12-30Remove -Wno-unused form CFLAGS and kill some unused vars found as a result ofOtto Moerbeek
2004-12-30Simplify local copying of PS1 environment variable. Since we noTodd C. Miller
2004-12-29in prompt variable parsing, if either \n or \r (the two characterTheo de Raadt
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-19spacingTheo de Raadt
2004-12-18deregisterTodd 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-12-12csh-style ! history completion, which can be activated by usingTheo de Raadt
2004-11-10defer ! and !! handling till prompt printing, like real ksh, and this nowTheo de Raadt
2004-11-06\[ and \] delimit blocks of characters which are processed just likeTheo de Raadt
2004-11-06change \w to output ~/subpath type things, except for root of courseTheo de Raadt
2004-11-04do the variety-pack of bash-style \letter expansions on prompt variables.Theo de Raadt
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
2003-02-28typos; from Brian PooleJason McIntyre
2002-06-09knfTodd T. Fries
2002-01-16Use the volatile specifier to fix warnings about variables beingTodd C. Miller
1999-06-15patches from pdksh 5.2.13.11Todd C. Miller
1999-01-19Updates from pdksh-unstable-5.2.13.7. Most notable change is:Todd C. Miller
1999-01-10sync with pdksh-unstable-5.2.13.6Todd C. Miller
1998-06-25pdksh-5.2.13 + local changesTodd C. Miller
1997-09-12Avoid longjmp/vfork clobbering.Todd C. Miller
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-08-05Fixes for a variety of pdksh problems:grr
1997-06-19back outkstailey
1997-06-18(foo *)0 -> NULLkstailey
1996-11-21Update to 5.2.12.Jason Downs
1996-10-13Update to version 5.2.11.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