summaryrefslogtreecommitdiff
path: root/bin/ksh
AgeCommit message (Collapse)Author
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
2005-04-13use STD{IN,OUT,ERR}_FILENOTheo de Raadt
2005-03-30lots of indentation cleanup, now ksh is readable like our other code.Theo de Raadt
double checked to make sure no binaries change, and eyed by niallo
2005-03-28spacingTheo de Raadt
2005-03-28if argv[0] not set, do not set it to "pdksh", but to "ksh"Theo de Raadt
2005-03-28spacingTheo de Raadt
2005-03-04document that $HOME is shown as `~' for PS1 \w substitutions;Jason McIntyre
diff from niall o'higgins, pr 4132 (slightly reworded); ok otto@
2005-02-25knfTheo de Raadt
2005-02-21Set \u in prompt expansion to the right value, while avoiding getpw* calls,Otto Moerbeek
which might be very inconvenient when the yp server is not available. ok deraadt@ millert@
2005-02-18sort options to echo builtin;Jason McIntyre
2005-02-17Printt ^D and newline on EOF in emacs mode like in vi mode.Otto Moerbeek
Help and ok jaredy@ ok millert@
2005-02-16a note about why we have both EDITOR and VISUAL env vars;Jason McIntyre
ok otto@ jaredy@
2005-02-16document that `emacs' is the default editing mode, and that as wellJason McIntyre
as being set explicitly w/ `set', modes can also be set using EDITOR and VISUAL; ok jaredy@ otto@
2005-02-08oops, missed a prompt;Jason McIntyre
2005-02-08use command prompts and literal for commands;Jason McIntyre
2005-02-08big overhaul of these pages, to make them clearer to read;Jason McIntyre
various other issues fixed along the way; lots of stuff from jaredy@ in here too..
2005-02-08Move sh.1tbl -> sh.1 and ksh.1tbl -> ksh.1Todd C. Miller
2005-02-05note that symlinks in test file are followed, except -h and -LJason McIntyre
(just like test(1) does); from paul de weerd;
2005-02-02Introduce POSIX hex and octal (0x... and 0...) constants in arithmeticOtto Moerbeek
expressions. Work by Matthias Kilian, based on an old diff by myself. Note: MAKEDEV should be updated. Tested by many, thanks. ok millert@ deraadt@
2005-01-27fix some vi-mode bugs spotted by jmc@Dan Harnett
tested by jmc@, ok otto@
2005-01-21fix missing list item: *(...); spotted by Frank Sander frksndr atOtto Moerbeek
gmx dot de. ok jmc@
2005-01-19typo;Jason McIntyre
2005-01-19although the description for the `comment' bind was in the page,Jason McIntyre
the bind itself (^[#) was missing;
2005-01-17typo;Jason McIntyre
2005-01-10In csh-style history expansion, initialize s->u.freeme to NULL so weTodd C. Miller
don't try to free garbage on cleanup. Fixes problem noticed by david@
2005-01-10typo;Jason McIntyre
2004-12-31Call perl directly instead of using an sh script to find it.Todd C. Miller
OK otto@
2004-12-30Remove -Wno-unused form CFLAGS and kill some unused vars found as a result ofOtto Moerbeek
that. ok millert@
2004-12-30Simplify local copying of PS1 environment variable. Since we noTodd C. Miller
longer call shf_fprintf() we don't need to jump through hoops using shf_sopen/shf_sclose and can simply use str_save. OK otto@ and tested by several ksh users
2004-12-29in prompt variable parsing, if either \n or \r (the two characterTheo de Raadt
sequences) are detected reset the "pointer to first character in last line of prompt" and "length of last line of prompt" variables, just like how it done for \n (the literal character). this fixes cursor movement for prompts with those sequences embedded within ok jmc pval
2004-12-28ansi. No binary change.Jonathan Gray
2004-12-23Replace home rolled unsigned char type with u_char.Jonathan Gray
ok millert@
2004-12-22quitenv() proto should have the variable type only, not the name.Todd C. Miller
2004-12-22These man pages are not derived from UCB and are actually public domain.Todd C. Miller
Verified with aaron@ who did the conversion from man -> mdoc.
2004-12-22Fix a use-after-free, that causs core dumps if a shell is killedOtto Moerbeek
running with strict malloc.conf options. Problem spotted by hshoexer@; fix by me with some help from millert@. ok millert@ hshoexer@ krw@ deraadt@
2004-12-22Fix previous commit here, I add the case statement to the wrong switch.Todd C. Miller