cdesktopenv/cde/programs/dtksh
Nilton Perim Neto e4c1e173fa
Made a workaround to not use the sh_access
The sh_access was defined to two arguments
Made a workaround to not use the sh_access
that was outputting the error.
Not ideal, but it will hopefully compile on Arch Linux

Also added mksh for compatibility
Ksh is unmaintained in the Arch User Repository

Signed-off-by: Nilton Perim Neto <niltonperimneto@gmail.com>
2025-02-03 14:47:17 -03:00
..
examples programs/: remove Imakefiles for completed modules 2021-07-03 19:12:43 -06:00
ksh93 ksh93: fix a compilation error on 32-bit system. 2023-12-01 09:22:32 +00:00
.gitignore Upgrade ksh93 to 1.0.3 2022-08-27 18:04:53 -06:00
DtFuncs.compat.sh
DtFuncs.sh
DtFuncs.sh.src
Dtksh
Makefile.am dtksh: enable SHOPT_ECHOPRINT 2023-02-18 15:33:09 -07:00
README-DEVELOPER dtksh: use bin/package flat make instead of shell 2021-01-01 18:41:26 -07:00
README.building
XtCvtrs.c dtksh: Use ksh93 translate over augmented version 2020-10-19 18:36:29 -06:00
XtCvtrs.h
dtkcmds.c Made a workaround to not use the sh_access 2025-02-03 14:47:17 -03:00
dtkcmds.h dtksh: Upgrade ksh93 to 1.0.0-beta.2 2021-12-28 2022-07-09 17:50:35 -06:00
dtkcvt.c Made a workaround to not use the sh_access 2025-02-03 14:47:17 -03:00
dtkcvt.h
dtksh.exp
dtksh.h dtksh: fix implicit-function-declaration warnings 2021-11-16 12:39:18 -07:00
dtksh.msg
extra.c dtksh: Use ksh93 translate over augmented version 2020-10-19 18:36:29 -06:00
extra.h extra.h: remove unused prototypes 2019-12-15 14:07:52 -07:00
ksh93.man
ksh93.memo
msgs.c dtksh: Use ksh93 translate over augmented version 2020-10-19 18:36:29 -06:00
msgs.h dtksh: Use ksh93 translate over augmented version 2020-10-19 18:36:29 -06:00
widget.c Made a workaround to not use the sh_access 2025-02-03 14:47:17 -03:00
widget.h dtksh: make it build under openindiana 2021-01-18 18:00:41 -07:00
xmcmds.c Made a workaround to not use the sh_access 2025-02-03 14:47:17 -03:00
xmcmds.h
xmcvt.c Made a workaround to not use the sh_access 2025-02-03 14:47:17 -03:00
xmcvt.h
xmksh.h
xmwidgets.c Made a workaround to not use the sh_access 2025-02-03 14:47:17 -03:00
xmwidgets.h

README.building

/* $XConsortium: README.building /main/2 1996/07/15 14:12:43 drk $ */
Since dtksh does not use anything like a normal build environment,
here are some hints.

- Make a Makefile in cdesrc/cde1/dtksh as if it were a normal
  component

- make includes; make all

  dtksh will build initially fine.

Now, if you change anything, you'll find that just typing "make"
doesn't do anything.  What you have to do is go to
cdesrc/cde1/dtksh/ksh93/ship.  Under there you'll find a distorted
version of the directory structure under ksh93.  Find the directory
that corresponds to the directory that contains your change and
remove the file "BUILT".  Now cd back up to dtksh and make, and
dtksh should remake itself.  Of course, it will recompile many
more files than you actually built, since dtksh does not use
make in any recognizable way.

In fact, it appears the best thing to do is go to cde1/dtksh
and run "ksh MakeClean" which will blow away many files and force
a clean make.

Be extremely careful: Just because you get a dtksh built at
the end does *not* mean the build was successful.  There
are several auxiliary binaries in ksh93/bin that must be built.
Make sure that ksh93/bin looks like this at the end:

urth 1331$ pwd
/scde/SunOS_sparc/opt/stable/build/cde1/dtksh/ksh93/bin
urth 1332$ ls
feature*    ksh*        proto*      silent*
ignore*     pax*        shcomp*     suid_exec*

If any of these are missing, search carefully back through
the make log looking for errors.