Commit Graph
95 Commits
Author SHA1 Message Date
Chase 6807fbb75e dthelp/parser/helptag: build under autotools 2021-02-07 19:44:12 -07:00
Chase 4836c389f6 dtksh: specifically test for patch 2021-01-31 13:22:57 -07:00
Chase 6a62f10047 dtksh: make it build under autotools 2021-01-31 13:22:57 -07:00
Chase eab8cf4c16 dtksh: update ksh to commit 47468f (fix musl compiler errors) 2021-01-23 17:13:46 -07:00
Chase ad39eebb2d dtksh: use std malloc instead of ast malloc 2021-01-18 18:02:11 -07:00
Chase 47dfe49a72 dtksh: make it build under openindiana 2021-01-18 18:00:41 -07:00
Chase e75a8162ad dtksh/Imakefile: make patch obey POSIX 2021-01-18 18:00:41 -07:00
Chase 10f2382561 dtksh/findsym.c: fix compiler warnings 2021-01-01 18:41:26 -07:00
Chase 428223ee80 use a patchfile to augment init.c instead of copying it entirely 2021-01-01 18:41:26 -07:00
Chase 90fff44682 dtksh: use bin/package flat make instead of shell
Shell isn't portable, so upstream ksh93 has a "flat" function that we can use
to put binaries in a static place that doesn't require a shell command. We still
do need an intermediate setup.sh shell script due to a bug in ksh that object
files aren't being put in lib, and FEATURE not in include. We also cut out some
 unused symbols, and a hpux specific implementation of dynlib (new hpux should
 conform to the posix implementation anyhow.)
2021-01-01 18:41:26 -07:00
Chase f884dce398 dtkcmds.c: use Empty macro instead of empty string 2020-12-13 17:45:39 -07:00
Chase 5cec09b9f2 dtksh: use sh_addbuiltin instead of manually editing builtins.c 2020-12-06 18:24:33 -07:00
Chase 80825d1651 dtksh: update to commit 67880e3 2020-12-06 18:24:33 -07:00
Chase fc700e296b Dtksh: fix callback segfault 2020-10-19 18:36:29 -06:00
Chase 9f290039eb ksh93: update to commit dd9bc2 2020-10-19 18:36:29 -06:00
Chase 461d326bbe dtksh: Use ksh93 translate over augmented version
We can reduce our differences from upstream ksh by simply using their
ERROR_translate() function instead of our janky and obsolete msg_translate,
we also move DtGetMessage() to msgs.c and lockedfiledescriptors and,
unlockfiledescriptors to extra.c to lessen modifications to init.c, which
all changes will hopefully be moved elsewhere in the future
2020-10-19 18:36:29 -06:00
Chase 3443543744 dtkcmds.c: add extra field to discipline functions 2020-10-12 05:32:57 -06:00
Chase 96c4a3ea52 ksh: update to commit 092b90 2020-09-20 11:29:00 -06:00
Chase 65d2062518 dtappbuilder: make it build under autotools 2020-09-05 15:49:46 -06:00
Chase 9d798ad6d0 dtksh: make new ksh submodule build 2020-08-23 20:13:30 -06:00
Chase 994772518a dtksh/examples: clean up scripts
This commit does three thing:
1. Sets appropriate bits on source files
2. Tells imake to build them as script files, not data files
3. Remove broken examples based on unused code
2020-08-23 20:13:24 -06:00
Chase 5d0125b393 dtksh: add new ksh93 submodule 2020-08-23 20:13:18 -06:00
Chase 0069a6e084 dtksh: remove old ksh from repo 2020-08-23 20:13:14 -06:00
Chase 0f3bcae232 dtksh: Turn dtksh aliases into builtins and discard BLT_SPC flag
Upstream ksh has removed it's builtin aliases, favoring instead to make them
all builtin commands, this would also allow us to skip having to manually
merge another file, it was explained best in this email:

"Default aliases are an ugly hack that you are better off without.
Disadvantages include:
- 'unalias -a' becomes basically unusable as it gets rid of commands you
probably want;
- shell functions by those names are ignored (unless you quote their
names upon invocation);
- something like 'cmdname=foo; "$cmdname" bar baz' doesn't work if
$cmdname is an alias.

I strongly recommend removing the BLT_SPC flag from all of
your extra dtksh builtins. Making builtins "special builtins" is of no
real benefit at all, while introducing a pointless restriction: shell
functions by those names cannot be defined, which causes a risk of
incompatibility with scripts written for other shells. The BLT_SPC flag
is for a very few historic builtins that must have certain weird
corner-case behaviour of "special" builtins for POSIX compliance and
Bourne shell compatibility reasons."
2020-07-19 19:15:57 -06:00
Chase b46cfa7876 Remove redundant hourglass functions 2020-01-26 12:09:12 -07:00
Chase 008512c777 extra.h: remove unused prototypes 2019-12-15 14:07:52 -07:00
Chase f28abfe8dd dtksh: remove needless OS defines 2019-12-15 14:07:52 -07:00
Chase cc73d03e49 dtkcmds.c: avoid c99 collision 2019-12-15 14:07:52 -07:00
Chase 3152b0bc4e dtksh: remove unused files and functions 2019-12-15 14:07:52 -07:00
Chase 88b46c6a28 il: remove various deprecated files 2019-11-01 17:23:48 -06:00
Chase 0f36a57eff remove more internal jpeg headers 2019-11-01 17:23:24 -06:00
Chase 8ed2ce2c26 programs/types: add automake file 2019-10-23 15:34:20 -06:00
Chase 3ab4c518d4 programs/tttypes: add automake file 2019-10-23 15:34:20 -06:00
Chase fbfde13dbb programs/nsgmls/Makefile.am 2019-10-23 15:34:20 -06:00
Chase 1d0f90cff8 programs/icons: add automake file 2019-10-23 15:34:20 -06:00
Chase 29424f66cd programs/localized: add automake files 2019-10-23 15:34:20 -06:00
Chase 2f8484ae14 programs/fontaliases: add automake files 2019-10-23 15:34:20 -06:00
Chase c76539517b programs/dtwm: add automake file 2019-10-23 15:34:20 -06:00
Chase faf0f3b087 programs/dtudcexch: add automake file 2019-10-23 15:34:20 -06:00
Chase 3e21e982f3 programs/dtterm: add automake files 2019-10-23 15:34:20 -06:00
Chase 3737ce6f96 programs/dtstyle: add automake file 2019-10-23 15:34:20 -06:00
Chase 85aff9320f programs/dtsr: add automake file 2019-10-23 15:34:20 -06:00
Chase f42b0ce115 programs/dtspcd: add automake file 2019-10-23 15:34:20 -06:00
Chase c310f73661 programs/dtsearchpath: add automake files 2019-10-23 15:34:20 -06:00
Chase 9347d0b09c programs/dtscreen: add automake file 2019-10-23 15:34:20 -06:00
Chase e79d944119 programs/dtprintinfo: add automake files 2019-10-23 15:34:20 -06:00
Chase f2b13938e5 programs/dtprintegrate: add automake file 2019-10-23 15:34:20 -06:00
Chase 015b457916 programs/dtpdmd: add automake files 2019-10-23 15:34:20 -06:00
Chase 09bc04b088 programs/dtpdm: add automake files 2019-10-23 15:34:20 -06:00
Chase b7c0788d95 programs/dtpad: add automake file 2019-10-23 15:34:20 -06:00
Chase f04677726e programs/dtopen: add automake files 2019-10-23 15:34:20 -06:00
Chase d08d22cb5d programs/dtmail: add automake files 2019-10-23 15:34:20 -06:00
Chase 268205ab10 programs/dtlogin: add automake file 2019-10-23 15:34:20 -06:00
Chase 9f862c06a8 programs/dtksh: add automake files 2019-10-23 15:34:20 -06:00
Chase fd762e2c01 programs/dtimsstart: add automake file 2019-10-23 15:34:20 -06:00
Chase ac1921ed58 programs/dticon: add automake file 2019-10-23 15:34:20 -06:00
Chase 37a7c7c7ce programs/dthelp: add automake files 2019-10-23 15:34:20 -06:00
Chase 4e254aee74 programs/dtinfo: add automake files 2019-10-23 15:34:20 -06:00
Chase f8ba07efd1 programs/dthello: add automake file 2019-10-23 15:34:20 -06:00
Chase febc0c45c1 programs/dtfile: add automake files 2019-10-23 15:34:20 -06:00
Chase 407153b0f3 programs/dtexec: add automake files 2019-10-23 15:34:20 -06:00
Chase fbd9308ac8 programs/dtdspmsg: add automake file 2019-10-23 15:34:20 -06:00
Chase 2d136b7062 programs/dtdocbook: add automake files 2019-10-23 15:34:20 -06:00
Chase f1865536b0 programs/dtdbcache: add automake files 2019-10-23 15:34:20 -06:00
Chase 398de66d9f programs/dtcreate: add automake files 2019-10-23 15:34:20 -06:00
Chase 3a1ea5975d programs/dtconfig: add automake files 2019-10-23 15:34:20 -06:00
Chase ca20cfe55b programs/dtcm: add automake files 2019-10-23 15:34:20 -06:00
Chase 031411fc36 programs/dtcalc: add automake files 2019-10-23 15:34:20 -06:00
Chase 0cebe79824 programs/dtappintegrate: add automake file 2019-10-23 15:34:20 -06:00
Chase 41d3e651b4 programs/dtappbuilder: add automake files 2019-10-23 15:34:20 -06:00
Chase 4984f3db19 programs/dtaction: add automake file 2019-10-23 15:34:20 -06:00
Chase 4f8d7b3894 programs/dsdm: add automake files 2019-10-23 15:34:20 -06:00
Chase bca385079b programs/backdrops: add automake files 2019-10-23 15:34:20 -06:00
Chase b055acde4a programs: add automake file 2019-10-23 15:34:20 -06:00
Chase 519ed266a8 logs: add automake files 2019-10-23 15:34:20 -06:00
Chase 500b30b2b3 lib/tt: add automake files 2019-10-23 15:34:20 -06:00
Chase 63956c4f61 lib/pam: add automake files: 2019-10-23 15:34:20 -06:00
Chase 6ec8c9e89c lib/csa: add automake file 2019-10-23 15:34:20 -06:00
Chase e4f4a4cfb5 lib: add automake file 2019-10-23 15:34:20 -06:00
Chase 97f55834e7 lib/DtXinerama: add automake file 2019-10-23 15:34:20 -06:00
Chase 91b0497ba0 lib/DtWidget: add automake file 2019-10-23 15:34:20 -06:00
Chase eb907bd68c lib/DtTerm: add automake files 2019-10-23 15:34:20 -06:00
Chase b587eb7bf3 lib/DtSvc: add automake files 2019-10-23 15:34:19 -06:00
Chase 8dfc0f62eb lib/DtSearch: add automake files 2019-10-23 15:34:19 -06:00
Chase 2deca46f0b lib/DtPrint: add automake file 2019-10-23 15:34:19 -06:00
Chase f1ed9a9919 lib/DtMrm: add automake file 2019-10-23 15:34:19 -06:00
Chase f6820cc8fd lib/DtHelp: add automakefiles 2019-10-23 15:34:19 -06:00
Chase ab15f92fbe include: add makefile 2019-10-23 15:34:19 -06:00
Chase 78951b54ff doc/LANG: add makefiles 2019-10-23 15:34:19 -06:00
Chase f517f8c526 doc/util: add automake files 2019-10-23 15:34:19 -06:00
Chase ee3a6d545e doc/common: add makefiles 2019-10-23 15:34:19 -06:00
Chase afd95a6ad8 doc/C: Add makefiles 2019-10-23 15:34:19 -06:00
Chase f2efbbce70 Add top level automake files 2019-10-23 15:34:19 -06:00
Chase 4107a1b6be Remove old jpeg files 2019-10-14 19:18:40 -06:00
Chase 4d7f9df692 Use iconv on linux 2019-01-14 10:48:28 -07:00