History log of /openbsd-current/bin/ksh/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.39 18-Jun-2018 millert

Add clear-screen emacs editing command, currently not bound to a
key by default. The shell will query the terminfo database to
find the escape sequence to clear the screen. OK deraadt@


Revision tags: OPENBSD_6_3_BASE
# 1.38 06-Jan-2018 millert

Bring back the sign compare changes, this time with a fix from otto@
that fixes the issues seen on hppa. OK deraadt@ otto@


# 1.37 04-Jan-2018 millert

Back out sign compare changes that appear to cause problems on hppa.
Requested by deraadt@


# 1.36 01-Jan-2018 millert

Add WARNINGS=yes to ksh and fix the resulting sign compare warnings.
OK tb@


# 1.35 27-Dec-2017 millert

Add -Wshadow to Makefile and fix the resulting warnings. Many of
the warnings are due to the use of globals with generic names,
specifically "options" and "path". I've renamed "options" to
"sh_options" since it holds the shell options and "path" to
"search_path". OK jca@ tb@


Revision tags: OPENBSD_6_2_BASE
# 1.34 01-Aug-2017 deraadt

Disable ksh VI-editing mode on the install media. We need the space
savings.


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.33 30-Mar-2016 jmc

for some time now mandoc has not required MLINKS to function
correctly - logically complete that now by removing MLINKS from base;

authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;

ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung


# 1.32 04-Mar-2016 deraadt

remove CSRG BSD-licensed mknod builtin code which was previously used to
accelerate install/upgrade time MAKEDEV runs. That allows ramdisk ksh
to be pledged, without needing "dpath". We'll solve the performance issues
a different way (soon).
ok otto espie natano tb tobiasu rpe


Revision tags: OPENBSD_5_9_BASE
# 1.31 22-Oct-2015 mmcc

Fix typo in comment. From Theo Buehler.


# 1.30 10-Oct-2015 deraadt

ksh can run with pledge "stdio rpath wpath cpath getpw fattr proc exec tty"
if the mknod builtin is disabled. It looks like a lot of abilities, but
hey, this is a shell. can't open sockets or do other nasty stuff though.
(we'll leave the mknod builtin enabled on the install media for now; there
is work happening to regain the MAKEDEV performance in a different way)
discussions with otto & millert in particular


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.29 02-Dec-2013 millert

Move ksh test files into regressMove ksh test files into regressMove ksh test files into regress.


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.28 30-Apr-2012 djm

generalise ksh keybinding system - bindings are no longer limited in
length and need not start with ESC or ^X; patch from marco@ feedback mpi@


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.27 03-Mar-2009 millert

Add POSIX character class support ([:alpha:] and friends) to ksh globbing.
OK deraadt@ krw@ jmc@ sobrado@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE
# 1.26 12-Jan-2008 miod

Remove ulimit MLINK, it is a shell built-in.


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.25 06-Oct-2005 otto

Introducing mknod as a built-in. It might be against the unix
philosophy, but in this case it's worth it. ok deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.24 30-Mar-2005 deraadt

lots of indentation cleanup, now ksh is readable like our other code.
double checked to make sure no binaries change, and eyed by niallo


Revision tags: OPENBSD_3_7_BASE
# 1.23 31-Dec-2004 millert

Call perl directly instead of using an sh script to find it.
OK otto@


# 1.22 30-Dec-2004 otto

Remove -Wno-unused form CFLAGS and kill some unused vars found as a result of
that. ok millert@


# 1.21 22-Dec-2004 millert

Use sys_signame and sys_siglist instead of building a list of signal
values and names via an awk script. OK otto@


# 1.20 18-Dec-2004 millert

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


# 1.19 18-Dec-2004 millert

Remove unused OS dependent #ifdef blocks, #defines and macro abstraction.
First step in making the ksh code easier to read. From Matthias Kilian


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.18 16-Feb-2004 deraadt

give up on amd64 -O0


# 1.17 10-Feb-2004 deraadt

XXX: build ksh -O0 for now, since it makes it a whole lot more stable.
we'll figure out what the bug is later, or maybe some of the other
fixes going in will fix it..


# 1.16 09-Jan-2004 brad

use cc -E for the preprocessor instead of cpp.

ok espie@ millert@


Revision tags: OPENBSD_3_4_BASE
# 1.15 11-Aug-2003 miod

I can not reproduce the ksh -O1 issues anymore on mvme88k with the latest
snapshot, so stop disabling optimization.


# 1.14 08-Aug-2003 miod

Enable the first level of compiler optimizations on mvme88k by default,
now that is getting stable.
ksh(1) still has to be builh at -O0 for now, though.

ok deraadt@


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.13 22-Apr-2002 miod

Do not hardcode mvme88k-specific compilation flags here, especially since
the new flags happen to be no different from those set in <sys.mk>


Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE
# 1.12 28-Sep-1999 smurph

disable optimization on 88k


# 1.11 15-Jun-1999 millert

patches from pdksh 5.2.13.11


Revision tags: OPENBSD_2_5_BASE
# 1.10 10-Jan-1999 millert

sync with pdksh-unstable-5.2.13.6


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE
# 1.9 06-Mar-1998 millert

Add unlimit man link for csh and ulimit man link for sh.


# 1.8 30-Nov-1996 downsj

Install ksh as sh too.


# 1.7 25-Aug-1996 downsj

Removed unused file and move KSH define to CFLAGS.


# 1.6 20-Aug-1996 downsj

Forgot emacs.out depends on emacs.c.


# 1.5 19-Aug-1996 downsj

invoke /bin/sh


# 1.4 14-Aug-1996 downsj

Ok, I give up kill the pdksh links.


# 1.3 14-Aug-1996 downsj

Yet more links.


# 1.2 14-Aug-1996 downsj

Add links.


# 1.1 14-Aug-1996 downsj

branches: 1.1.1;
Initial revision


# 1.38 06-Jan-2018 millert

Bring back the sign compare changes, this time with a fix from otto@
that fixes the issues seen on hppa. OK deraadt@ otto@


# 1.37 04-Jan-2018 millert

Back out sign compare changes that appear to cause problems on hppa.
Requested by deraadt@


# 1.36 01-Jan-2018 millert

Add WARNINGS=yes to ksh and fix the resulting sign compare warnings.
OK tb@


# 1.35 27-Dec-2017 millert

Add -Wshadow to Makefile and fix the resulting warnings. Many of
the warnings are due to the use of globals with generic names,
specifically "options" and "path". I've renamed "options" to
"sh_options" since it holds the shell options and "path" to
"search_path". OK jca@ tb@


Revision tags: OPENBSD_6_2_BASE
# 1.34 01-Aug-2017 deraadt

Disable ksh VI-editing mode on the install media. We need the space
savings.


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.33 30-Mar-2016 jmc

for some time now mandoc has not required MLINKS to function
correctly - logically complete that now by removing MLINKS from base;

authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;

ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung


# 1.32 04-Mar-2016 deraadt

remove CSRG BSD-licensed mknod builtin code which was previously used to
accelerate install/upgrade time MAKEDEV runs. That allows ramdisk ksh
to be pledged, without needing "dpath". We'll solve the performance issues
a different way (soon).
ok otto espie natano tb tobiasu rpe


Revision tags: OPENBSD_5_9_BASE
# 1.31 22-Oct-2015 mmcc

Fix typo in comment. From Theo Buehler.


# 1.30 10-Oct-2015 deraadt

ksh can run with pledge "stdio rpath wpath cpath getpw fattr proc exec tty"
if the mknod builtin is disabled. It looks like a lot of abilities, but
hey, this is a shell. can't open sockets or do other nasty stuff though.
(we'll leave the mknod builtin enabled on the install media for now; there
is work happening to regain the MAKEDEV performance in a different way)
discussions with otto & millert in particular


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.29 02-Dec-2013 millert

Move ksh test files into regressMove ksh test files into regressMove ksh test files into regress.


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.28 30-Apr-2012 djm

generalise ksh keybinding system - bindings are no longer limited in
length and need not start with ESC or ^X; patch from marco@ feedback mpi@


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.27 03-Mar-2009 millert

Add POSIX character class support ([:alpha:] and friends) to ksh globbing.
OK deraadt@ krw@ jmc@ sobrado@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE
# 1.26 12-Jan-2008 miod

Remove ulimit MLINK, it is a shell built-in.


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.25 06-Oct-2005 otto

Introducing mknod as a built-in. It might be against the unix
philosophy, but in this case it's worth it. ok deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.24 30-Mar-2005 deraadt

lots of indentation cleanup, now ksh is readable like our other code.
double checked to make sure no binaries change, and eyed by niallo


Revision tags: OPENBSD_3_7_BASE
# 1.23 31-Dec-2004 millert

Call perl directly instead of using an sh script to find it.
OK otto@


# 1.22 30-Dec-2004 otto

Remove -Wno-unused form CFLAGS and kill some unused vars found as a result of
that. ok millert@


# 1.21 22-Dec-2004 millert

Use sys_signame and sys_siglist instead of building a list of signal
values and names via an awk script. OK otto@


# 1.20 18-Dec-2004 millert

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


# 1.19 18-Dec-2004 millert

Remove unused OS dependent #ifdef blocks, #defines and macro abstraction.
First step in making the ksh code easier to read. From Matthias Kilian


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.18 16-Feb-2004 deraadt

give up on amd64 -O0


# 1.17 10-Feb-2004 deraadt

XXX: build ksh -O0 for now, since it makes it a whole lot more stable.
we'll figure out what the bug is later, or maybe some of the other
fixes going in will fix it..


# 1.16 09-Jan-2004 brad

use cc -E for the preprocessor instead of cpp.

ok espie@ millert@


Revision tags: OPENBSD_3_4_BASE
# 1.15 11-Aug-2003 miod

I can not reproduce the ksh -O1 issues anymore on mvme88k with the latest
snapshot, so stop disabling optimization.


# 1.14 08-Aug-2003 miod

Enable the first level of compiler optimizations on mvme88k by default,
now that is getting stable.
ksh(1) still has to be builh at -O0 for now, though.

ok deraadt@


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.13 22-Apr-2002 miod

Do not hardcode mvme88k-specific compilation flags here, especially since
the new flags happen to be no different from those set in <sys.mk>


Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE
# 1.12 28-Sep-1999 smurph

disable optimization on 88k


# 1.11 15-Jun-1999 millert

patches from pdksh 5.2.13.11


Revision tags: OPENBSD_2_5_BASE
# 1.10 10-Jan-1999 millert

sync with pdksh-unstable-5.2.13.6


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE
# 1.9 06-Mar-1998 millert

Add unlimit man link for csh and ulimit man link for sh.


# 1.8 30-Nov-1996 downsj

Install ksh as sh too.


# 1.7 25-Aug-1996 downsj

Removed unused file and move KSH define to CFLAGS.


# 1.6 20-Aug-1996 downsj

Forgot emacs.out depends on emacs.c.


# 1.5 19-Aug-1996 downsj

invoke /bin/sh


# 1.4 14-Aug-1996 downsj

Ok, I give up kill the pdksh links.


# 1.3 14-Aug-1996 downsj

Yet more links.


# 1.2 14-Aug-1996 downsj

Add links.


# 1.1 14-Aug-1996 downsj

branches: 1.1.1;
Initial revision