summaryrefslogtreecommitdiff
path: root/bin/ksh
AgeCommit message (Collapse)Author
2006-08-03comment fix; from tamas teveszJason McIntyre
2006-07-26clarifications for OPTIND:Jason McIntyre
hunk #1 from tamas tevesz; hunk #2 from otto; ok otto
2006-07-10fix ksh prompt wrapping, from Marcus Glocker <marcus@nazgul.ch>.Bob Beck
tested by me and naddy, and others... ok naddy@ and me.
2006-06-16Work around a problem with \$ expansion where \$\$ turned into pid ($$)Dale Rahn
expansion. otto and I cannot think of anything better. ok otto@
2006-06-01simplify the PS1 section somewhat by moving the ! and \! stuff together;Jason McIntyre
ok otto
2006-05-30document some advice when \$ is part of your prompt;Jason McIntyre
from otto and myself
2006-05-29Implement \$ and \# expansion for PS1. Whoever thought it a cleverOtto Moerbeek
idea to assign a special meaning to "\$" -- two chars that are already (very) special -- deserves a spanking.
2006-05-21Set the index of item[0], since it might not have been set beforeOtto Moerbeek
(A=0; A[1]=1) and do not use a static buffer in str_val, since the results might be used in a loop. Report from jared r r spiegel; help from Matthias Kilian; ok beck@
2006-05-18paramter -> parameterMiod Vallat
2006-04-22back out last - it was not a command line prompt;Jason McIntyre
thanks matthias kilian
2006-04-21missing command line prompt;Jason McIntyre
2006-04-10fix lint comments, no functional changes; ok rayJared Yanovich
2006-04-02use SEEK_* for lseek()Theo de Raadt
2006-03-21Revert for the moment, according to Mike Belopuhov this producesOtto Moerbeek
errors in rc and netstart.
2006-03-21Partially revert last commit; jaredy@ showed the NULL deref can'tOtto Moerbeek
happen and tedu@ confirmed this is a known bug in Coverity's analysis.
2006-03-20Fix potential null deref and out-of-bound access.Otto Moerbeek
ok millert@ deraadt@
2006-03-17Simplify savefd() by removing the "noclose" flag and make nocloseTodd C. Miller
behavior the default. Almost all uses of savefd() are followed by an implicit or explicit close. OK otto@
2006-03-14remove excessive optimization; from adobriyan@gmail; ok teduTheo de Raadt
2006-03-14only santa checks things twice; from adobriyan@gmail; ok teduTheo de Raadt
2006-03-13Interpret zero-filled numbers as decimal; PR 4213; from AlexeyOtto Moerbeek
Dobriyan; ok millert@ moritz@ jaredy@
2006-03-12might as well make ksh_getopt() match real getopt(), ie. get rid of thatTheo de Raadt
stupid EOF concept that was never true. adobriyan@gmail
2006-03-07simplify the description of what a restricted shell is:Jason McIntyre
sh.1 does not need to talk about rksh; ksh.1 does not need to talk about rsh; also references to rpdksh are not really helpful; from tamas tevesz; ok jaredy
2006-03-06convert permanent privilege revocation to use setresuid/setresgid;Damien Miller
ok henning@
2006-02-06typos from alexey dobriyan;Jason McIntyre
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-12-06make the PS1 section a little easier to read;Jason McIntyre
2005-11-30document root PS1 feature:Jason McIntyre
from matthias kilian (pr #4924), but slightly tweaked version of his diff; ok otto
2005-11-16document the procedure for providing a startup file for interactiveJason McIntyre
(but non-login) shells; document /etc/ksh.kshrc and sort FILES; fix + ok otto@
2005-11-15More typos (especially indicies -> indices), checked with jmc@Miod Vallat
2005-10-12document new max array sizeBernd Ahlers
ok otto@
2005-10-08Silence bogus gcc warning.Otto Moerbeek
2005-10-08Tell user which value of index is out of bounds. ok deraadt@Otto Moerbeek
2005-10-07remove mknod documentation - although /bin/sh supports it, this pageJason McIntyre
documents a posix shell (as far as possible); ok otto@
2005-10-07brief description of mknod built-in;Jason McIntyre
add mknod to list of (regular ksh) built-ins; ok otto@
2005-10-06Introducing mknod as a built-in. It might be against the unixOtto Moerbeek
philosophy, but in this case it's worth it. ok deraadt@
2005-10-04Bump max array size. Needed for upcoming MAKEDEV speedup. ok deraadt@Otto Moerbeek
2005-09-26Fix a redraw problem that occurs when a recalled history line hasOtto Moerbeek
length equal to screen width - 2. Spotted by jmc@, tested by various. ok deraadt@
2005-09-11Process window size changes after xread(). [change window size]Otto Moerbeek
echo $COLUMS $LINES; will now print the new sizes immediately, instead of after the second echo. ok millert@
2005-09-11Fix " handling in here documents. POSIX says they are not special, soOtto Moerbeek
cat << EOF \" EOF should print \" Fixes PR 4472; testing jmc@ and Adam Montague. ok millert@
2005-09-07LINES and \\ in PS1 prompt are implemented, so remove informationJason McIntyre
which says they are not; from matthias kilian (pr #4476); ok otto@
2005-08-21Comment out description for 'ulimit -v' since we don't supportTodd C. Miller
RLIMIT_VMEM / RLIMIT_AS at the moment. Support for those may go in post-3.8.
2005-08-01more `version' removal;Jason McIntyre
ok otto@
2005-08-01Document ^V change from version to quote commandOtto Moerbeek
2005-08-01pascoe noted that ^V in ksh emacs mode is not what you expect -- literalTheo de Raadt
next as it is every other canonical mode, or emulation of canonical mode. change it to act like it should ok djm david marc tdeval pvalchev
2005-07-31say goodbye to creat().Marc Espie
okay deraadt@
2005-06-01add missing detail from IFS exampleJared Yanovich
Originally from TAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp> from PR 4220 reminded by jmc
2005-05-28Use proper modules instead of relying on .ph files.Todd C. Miller
Use Getopt::Std instead of the perl4 getopts.pl
2005-05-25add missing detail from IFS exampleJared Yanovich
From PR4220/TAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp>
2005-05-12.Xr script 7Jason McIntyre