100 Commits
Author SHA1 Message Date
Chase 45cee195bd Generify source code
Previously we would fail in some parts of the code if we did not have a
premade configuration, now we use any code that was marked as Linux, BSD and
Solaris as our basis in order to support building unknown Unix systems.
2022-08-06 11:31:51 -06:00
Chase 06863e826e lib/DtTerm/TermPrim: clean up defines 2022-08-06 11:31:50 -06:00
Chase b38c2b02a8 Remove detected -lcrypt flag 2022-08-06 11:31:50 -06:00
Chase 60e60b9836 configure: detect libm 2022-07-31 18:33:49 -06:00
Chase 9a9d586e87 configure: detect libdl 2022-07-31 18:33:49 -06:00
Chase 4370a95a84 dthelp: remove obsolete and non-compiled code 2022-07-30 19:36:32 -06:00
Chase edf4319548 Discontinue HPUX support 2022-07-23 17:49:33 -06:00
Chase bd83b53d56 dtfile/dtcopy: remove duplicate icons 2022-07-23 17:49:33 -06:00
Chase cfc1664a31 configure.ac: remove patch requirement 2022-07-23 17:49:33 -06:00
Chase 2642674ed4 dtcm: make /var/spool/calendar for user 2021-03-14 15:09:03 -06:00
Chase 58ccd05459 dtinfo: make auxillary libs and programs build 2021-02-28 20:32:46 -07:00
Chase 08622925c8 dthelp: fix spurious compilation failure 2021-02-22 20:18:26 -07:00
Chase 14c3c6ebd8 dtappbuilder: make it build in parallel 2021-02-21 18:42:42 -07:00
Chase 4b461f5627 dthelp/parser/pass2: make it build 2021-02-21 18:35:52 -07:00
Chase 434943913b dthelp/parser/canon1: get it to build 2021-02-21 18:35:43 -07:00
Chase cbdb9cb3fa dtksh: allow parallel building 2021-02-13 19:19:18 -07:00
Chase 622496bdd6 ttsnoop: make it build under autotools 2021-02-13 18:51:36 -07:00
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