1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-03 06:45:37 -08:00
Commit Graph

21 Commits

Author SHA1 Message Date
jca
3dc0c5b1bf Stop pretending we support building ksh without EDIT/HISTORY support
ok anton@
2018-01-15 14:58:05 +00:00
millert
4c503bcd16 Bring back the sign compare changes, this time with a fix from otto@
that fixes the issues seen on hppa.  OK deraadt@ otto@
2018-01-06 16:28:58 +00:00
millert
60ccd8d7a3 Back out sign compare changes that appear to cause problems on hppa.
Requested by deraadt@
2018-01-04 19:06:16 +00:00
millert
43da03fc8b Add WARNINGS=yes to ksh and fix the resulting sign compare warnings.
OK tb@
2018-01-01 19:45:56 +00:00
tb
311eb4a59b Drop the unused second argument from set_prompt(). It used to be used for
early special casing of ! and !! in the PS1 expansion. This was removed
from set_prompt() as part of the implementaion of the character count
toggles \[ and \] back in 2004.

ok jca
2017-12-07 01:54:33 +00:00
nicm
1fbcea4a90 Move more declarations out of proto.h into better headers, from Michael
McConville. No binary change.
2015-10-10 07:35:16 +00:00
millert
1bbe2e09f1 Lexer states are not needed outside of lex.c.
From mksh via Michael McConville
2015-10-09 19:49:08 +00:00
nicm
18ad1d01ab Remove EXTERN from lex.h and put the definitions in lex.c, from Michael
McConville.
2015-10-05 23:32:15 +00:00
guenther
22a9cf9432 Fix quoting in word part of ${var+word} (and similar) when entire thing
is quoted or in a here-doc.

Patch from Alexander Polakov (plhk (at) sdf.org).
ok mpi@ jung@
2013-03-03 19:11:34 +00:00
stsp
d3ecfddbeb Fix backslash escaping during filename tab-completion in ksh.
Diff originally submitted by Alexander Polakov, with a small tweak from me
to avoid breaking tab-completion of environment variables (problem pointed
out by bentley).
ok sthen halex mpi
2013-01-20 14:47:46 +00:00
otto
e7b1290a73 Implement \$ and \# expansion for PS1. Whoever thought it a clever
idea to assign a special meaning to "\$" -- two chars that are already
(very) special -- deserves a spanking.
2006-05-29 18:22:24 +00:00
otto
57f623febe Fix " handling in here documents. POSIX says they are not special, so
cat << EOF
\"
EOF
should print \"
Fixes PR 4472; testing jmc@ and Adam Montague. ok millert@
2005-09-11 18:02:27 +00:00
millert
94e42df60f Get rid of #ifdef KSH since we don't care about building a V7 style sh and
the #ifdef KSH code is required to make a POSIX sh.  From Matthias Kilian
2004-12-18 21:04:52 +00:00
deraadt
d4a5d530b9 crank history to 500, requested by pval 2004-11-02 22:09:24 +00:00
jmc
12e7fb2dae typos; from Brian Poole 2003-02-28 09:45:09 +00:00
mpech
61e6c22043 occured->occurred
idea from deraadt@ via NetBSD
millert@ ok

p.s. Next commit will fix a typo in the sys/
2001-09-19 10:58:07 +00:00
millert
f00c508658 patches from pdksh 5.2.13.11 1999-06-15 01:18:32 +00:00
millert
3b01593416 pdksh-5.2.13 + local changes 1998-06-25 19:01:27 +00:00
downsj
e55c1b2c39 Update to version 5.2.11. 1996-10-13 21:32:15 +00:00
downsj
7055cce375 Integrate pdksh 5.2.9. 1996-10-01 02:05:23 +00:00
downsj
7cb960a23c Import pdksh 5.2.7. 1996-08-14 06:19:10 +00:00