Compile dtksh on FreeBSD
authorMarcin Cieslak <saper@saper.info>
Tue, 14 Aug 2012 13:31:55 +0000 (15:31 +0200)
committerJon Trulson <jon@radscan.com>
Tue, 14 Aug 2012 18:18:38 +0000 (12:18 -0600)
commitd3206f451496035dbd5db5ed62a95e67e499c712
tree0a4dc99d8f733a1de655978b0c57f68380bbb667
parent441a25b36173068e8d3466268b73c1d454224294
Compile dtksh on FreeBSD

dtksh can be now compiled on FreeBSD. Work in progress.

Needs a real Korn shell to bootstrap as $(KSHELL).
KSHELL is set by default to /usr/local/bin/ksh93
(generic POSIX shell may not work)

Tested on:

  FreeBSD 9.0-BETA1 #0 r224912M amd64

Known issues:

xvmstat:
* sleep does not work well (SIGSTOP is delivered)
xpong:
* xpong: line 220:  ball1x = max_x * 2.2 / 3 : arithmetic syntax error
* dtksh is rebuilt uncondtionally every time make is invoked
21 files changed:
cde/programs/Imakefile
cde/programs/dtksh/Imakefile
cde/programs/dtksh/dtkcvt.c
cde/programs/dtksh/ksh93/Imakefile
cde/programs/dtksh/ksh93/ship/shipin
cde/programs/dtksh/ksh93/ship/shipproto.c
cde/programs/dtksh/ksh93/src/cmd/ksh93/bltins/alarm.c
cde/programs/dtksh/ksh93/src/cmd/ksh93/bltins/read.c
cde/programs/dtksh/ksh93/src/cmd/ksh93/bltins/sleep.c
cde/programs/dtksh/ksh93/src/cmd/ksh93/edit/history.c
cde/programs/dtksh/ksh93/src/cmd/ksh93/edit/vi.c
cde/programs/dtksh/ksh93/src/cmd/ksh93/include/fault.h
cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/io.c
cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/timers.c
cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/xec.c
cde/programs/dtksh/ksh93/src/lib/libast/hash/hashalloc.c
cde/programs/dtksh/ksh93/src/lib/libast/port/astconf.c
cde/programs/dtksh/ksh93/src/lib/libast/sfio/sfvprintf.c
cde/programs/dtksh/ksh93/src/lib/libast/string/tokscan.c
cde/programs/dtksh/xmcmds.c
cde/programs/dtksh/xmdtksym.h