summaryrefslogtreecommitdiff
path: root/bin/ksh
AgeCommit message (Collapse)Author
2004-03-15missing commas;Jason McIntyre
2004-03-15reversed word -> reserved word;Jason McIntyre
from Karl O. Pinc
2004-02-19escape full stops where necessary to kill erroneous double spaces;Jason McIntyre
softly, softly, catchy monkey...
2004-02-19basic knfTheo de Raadt
2004-02-16give up on amd64 -O0Theo de Raadt
2004-02-10upper case id;Jason McIntyre
from Mathias K. Straede (PR 3680);
2004-02-10XXX: build ksh -O0 for now, since it makes it a whole lot more stable.Theo de Raadt
we'll figure out what the bug is later, or maybe some of the other fixes going in will fix it..
2004-02-08forget about 16 bit machines; millert okTheo de Raadt
2004-01-23`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))Jason McIntyre
discussed with todd@
2004-01-15escape full stops properly to avoid double spaces;Jason McIntyre
2004-01-09use cc -E for the preprocessor instead of cpp.Brad Smith
ok espie@ millert@
2004-01-08typo; from ray at cyth dot net (PR 3632);Jason McIntyre
2003-12-27this page documents `sh', not `ksh';Jason McIntyre
2003-12-27- revert a typo introduced when this page was mdoc'edJason McIntyre
- use .Sq rather than .Dq for single letters
2003-12-22note that `&&' and `||' are left-associative;Jason McIntyre
from vax at carolina dot rr com (NetBSD PR 23814); agreed (in principal) millert@ deraadt@
2003-12-15Unbreak parameter assignment when calling bourne style functions;Otto Moerbeek
resolves PR 2450. ok deraadt@ millert@
2003-12-12typo; ok jmc@Christian Weisgerber
2003-11-10If "from fd" == "to fd" don't call dup2() or close "from fd".Todd C. Miller
2003-11-10For the >& and <& operators, add a check for "dup from" == "dup to" andTodd C. Miller
just return success if they are the same. Fixes the "ls 2>&2" problem miod@ found.
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-10-28standard section order;Jason McIntyre
2003-10-26typos from Jared Yanovich;Jason McIntyre
2003-10-22macros with too many args;Jason McIntyre
2003-10-22typos from Jared Yanovich;Jason McIntyre
ok deraadt@
2003-10-16Buffers are not strings so use memcpy(), not strlcpy() to copy them.Todd C. Miller
Found by danh@ with JG malloc options. I've also added some further bounds checks in the name of paranoia. Tested by danh and others.
2003-10-10The special case code for "test -x" over NFS was incorrect. TheTodd C. Miller
right thing to do is to try access(2) first (since that occurs on the NFS server side) and only check for the absence of an execute bit when access(2) succeeds. Closes PR 3465
2003-09-04escapes in the wrong place;Jason McIntyre
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-09-01In emacs editing mode, ksh by default interprets a set 8th bit asChristian Weisgerber
meta prefix, i.e. all characters with the top bit set (>= 0x80) are taken as commands and cannot be entered literally. Introduce a new shell option, emacs-usemeta, that allows to toggle this behavior. The default is the traditional behavior; to enter 8-bit characters use "set +o emacs-usemeta". ok fgsch@, henning@
2003-09-01fix perl path. not that anyone uses this, but..Federico G. Schwindt
2003-08-27rename force_push to something more sensible.Federico G. Schwindt
2003-08-27escape on expand under emacs mode; otto@ ok.Federico G. Schwindt
2003-08-26fix backward and forward delete; from wiz@netbsd.org. many thanks.Federico G. Schwindt
2003-08-23under emacs mode, fix the case when the globbed file and the longestFederico G. Schwindt
prefix lenghts are equal ("a .b" and "a ab" by instance). found and tested by otto@.
2003-08-22in word location, fix forward scanning so it correctly account for anyFederico G. Schwindt
escaped char and not only spaces. for "foo (bar.a)" and "foo (bar a)", cd foo\ \(bar.<tab> will correctly expand to foo\ \(bar.a\). otto@ and pval@ ok.
2003-08-11I can not reproduce the ksh -O1 issues anymore on mvme88k with the latestMiod Vallat
snapshot, so stop disabling optimization.
2003-08-08Enable the first level of compiler optimizations on mvme88k by default,Miod Vallat
now that is getting stable. ksh(1) still has to be builh at -O0 for now, though. ok deraadt@
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-08-05Don't allow alloc() and aresize() to fail. Their return value wasTodd C. Miller
only checked in two place (both in conjunction with str_save). Upon malloc/realloc failure we call internal_errorf() which pops throws and error and pops back to the last good state. OK deraadt@ pval@ fgs@ Original problem noted by mickey@
2003-08-02don't push things unless force is true; avoid adding text again on yank-pop.Federico G. Schwindt
2003-08-02On ESC-y ESC-y (yank-pop), also check that there is something toFederico G. Schwindt
insert (some text has been killed before). from otto@, fix PR/3384. On yank-pop error (no yank before), reset the index to killstack so another yank-pop does not mangle the prompt if nothing was yanked, and to avoid replacing a text when it shouldn't (yank <something> yank-pop yank-pop). otto@ ok.
2003-07-19redrew -> redraw;Jason McIntyre
from Andrey Matveev.
2003-07-17note non-free parts that got yanked years ago; ↵Theo de Raadt
tom.cosgrove@arches-consulting.com
2003-07-07- convert some lists to displaysJason McIntyre
- .Ql -> .Sq where necessary - remove some .Pp's before lists - add missing .El - remove some wrong macros
2003-06-26protosTheo de Raadt
2003-06-06liternal -> literal;Jason McIntyre
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-18fix prototype; ok millert@Jason Peel
2003-05-17use MAP_FAILED rather than -1; millert@ ok.Federico G. Schwindt
2003-05-16fix several constant overflows, remove the strerror prototype (shouldn't beJason Peel
there), and cleanup some whitespace; help from, and okay millert@