Rebooting 93u+m
This commit reboots ksh 93u+m development with a new fork based off
the archived official AT&T ast repo, master branch.
README:
- Removed. Having two READMEs is a botch.
README.md:
- Imported and edited from the archived fork,
https://github.com/modernish/ksh -- the newer instructions will
become applicable as I cherry-pick all the changes from there :)
- Copy-edits.
- Added policy and rationale for this 93u+m fork.
- Incorporated info from old README that is still relevant.
.gitignore:
- Added.
bin/execrate:
- Removed. This one keeps changing its license header, causing git
to show an uncommitted file. It's always re-copied anyway, and
not for direct invocation, so, exclude and add to .gitignore.
The source file is: src/cmd/INIT/execrate.sh
src/cmd/*,
src/lib/*:
- Remove historical baggage: everything except ksh93 and
dependencies. This is the same stuff the ksh-community fork
removed. I wouldn't mind keeping it, but some of this stuff
causes build failures on macOS (and probably other systems), and
I need to get on with fixing ksh93.
Hopefully, we can figure out how to re-add stuff we can use
later -- particularly the pty command (pseudo-terminal utility
for scripting interactive sessions) which is needed for
regression-testing the interactive shell.
2020-06-11 23:43:13 +00:00
|
|
|
# Project-specific files
|
|
|
|
arch
|
|
|
|
tgz
|
|
|
|
lcl
|
|
|
|
|
2020-12-20 01:31:26 +00:00
|
|
|
# Flat make libs, binaries, etc
|
2022-01-02 17:22:08 +00:00
|
|
|
*.a
|
|
|
|
*.o
|
|
|
|
*.req
|
|
|
|
FEATURE/
|
2021-01-06 20:17:31 +00:00
|
|
|
/bin/.paths
|
|
|
|
/bin/crossexec
|
package: reintroduce/rewrite flat view (re: 20f8557c)
I called the flat view featuritis, but it turns out the dtksh build
system depends on it. But it was broken, so let's make a proper
version instead. This new approach does not symlink directories
before make, but hardlinks files after make. To make performance
tolerable, it requires a modern POSIX 'find' utility with '{} +'.
bin/package, src/cmd/INIT/package.sh:
- We're going to depend on 'test X -ef Y' to check if X is the same
file as Y, so add that to the $min_posix checks even though it is
not technically POSIX. But it's so close to universally available
it doesn't really make a difference.
- After 'make', create a flat view by hardlinking arch/$HOSTTYPE
files, minus build system internals, onto their corresponding
paths in $PACKAGEROOT. Fall back to symlinking if hardlinking
fails (this would happen when crossing device boundaries).
- Clean up flat view when doing clean/clobber. This is done by
using 'find' to loop through the files in arch/ again and
removing any root paths that are the same file as their
corresponding arch/ path (this is where test X -ef Y comes in).
Then delete arch/$HOSTTYPE, then delete empty directories left.
- Check for the 'flat' qualifier when doing clean/clobber. If
given, do not delete arch/$HOSTTYPE but only clean up the flat
view and remove empty directories.
src/cmd/INIT/Mamfile:
- Do not create the lib/package directory. (re: beb3c64a)
.gitignore:
- Update.
2021-12-31 13:24:17 +00:00
|
|
|
/bin/execrate
|
2021-01-06 20:17:31 +00:00
|
|
|
/bin/filter
|
|
|
|
/bin/iffe
|
|
|
|
/bin/ksh
|
|
|
|
/bin/mamake
|
package: reintroduce/rewrite flat view (re: 20f8557c)
I called the flat view featuritis, but it turns out the dtksh build
system depends on it. But it was broken, so let's make a proper
version instead. This new approach does not symlink directories
before make, but hardlinks files after make. To make performance
tolerable, it requires a modern POSIX 'find' utility with '{} +'.
bin/package, src/cmd/INIT/package.sh:
- We're going to depend on 'test X -ef Y' to check if X is the same
file as Y, so add that to the $min_posix checks even though it is
not technically POSIX. But it's so close to universally available
it doesn't really make a difference.
- After 'make', create a flat view by hardlinking arch/$HOSTTYPE
files, minus build system internals, onto their corresponding
paths in $PACKAGEROOT. Fall back to symlinking if hardlinking
fails (this would happen when crossing device boundaries).
- Clean up flat view when doing clean/clobber. This is done by
using 'find' to loop through the files in arch/ again and
removing any root paths that are the same file as their
corresponding arch/ path (this is where test X -ef Y comes in).
Then delete arch/$HOSTTYPE, then delete empty directories left.
- Check for the 'flat' qualifier when doing clean/clobber. If
given, do not delete arch/$HOSTTYPE but only clean up the flat
view and remove empty directories.
src/cmd/INIT/Mamfile:
- Do not create the lib/package directory. (re: beb3c64a)
.gitignore:
- Update.
2021-12-31 13:24:17 +00:00
|
|
|
/bin/mktest
|
2022-01-02 17:22:08 +00:00
|
|
|
/bin/ok/
|
|
|
|
/bin/proto
|
2021-01-06 20:17:31 +00:00
|
|
|
/bin/pty
|
|
|
|
/bin/regress
|
|
|
|
/bin/rt
|
|
|
|
/bin/shcomp
|
|
|
|
/bin/suid_exec
|
|
|
|
/fun/
|
|
|
|
/include/
|
2022-01-02 17:22:08 +00:00
|
|
|
/lib/
|
2021-01-06 20:17:31 +00:00
|
|
|
/man/
|
2022-01-02 17:22:08 +00:00
|
|
|
/src/cmd/INIT/crossexec
|
|
|
|
/src/cmd/INIT/execrate
|
|
|
|
/src/cmd/INIT/filter
|
|
|
|
/src/cmd/INIT/iffe
|
|
|
|
/src/cmd/INIT/ignore
|
|
|
|
/src/cmd/INIT/mamake
|
|
|
|
/src/cmd/INIT/mamprobe
|
|
|
|
/src/cmd/INIT/mktest
|
|
|
|
/src/cmd/INIT/mprobe
|
|
|
|
/src/cmd/INIT/package
|
|
|
|
/src/cmd/INIT/probe
|
|
|
|
/src/cmd/INIT/probe.ini
|
|
|
|
/src/cmd/INIT/probe.sh
|
|
|
|
/src/cmd/INIT/regress
|
|
|
|
/src/cmd/INIT/rt
|
|
|
|
/src/cmd/INIT/silent
|
|
|
|
/src/cmd/builtin/pty
|
|
|
|
/src/cmd/ksh93/ksh
|
|
|
|
/src/cmd/ksh93/shcomp
|
|
|
|
/src/cmd/ksh93/suid_exec
|
|
|
|
/src/lib/libast/*.h
|
|
|
|
/src/lib/libast/astmath.exe
|
|
|
|
/src/lib/libast/conf
|
|
|
|
/src/lib/libast/conftab.c
|
|
|
|
/src/lib/libast/lcgen
|
|
|
|
/src/lib/libast/lctab.c
|
|
|
|
/src/lib/libast/t.c
|
|
|
|
/src/lib/libcmd/cmdext.h
|
|
|
|
/src/lib/libcmd/cmdlist.h
|
|
|
|
/src/lib/libdll/dlldefs.h
|
2020-12-20 01:31:26 +00:00
|
|
|
|
Rebooting 93u+m
This commit reboots ksh 93u+m development with a new fork based off
the archived official AT&T ast repo, master branch.
README:
- Removed. Having two READMEs is a botch.
README.md:
- Imported and edited from the archived fork,
https://github.com/modernish/ksh -- the newer instructions will
become applicable as I cherry-pick all the changes from there :)
- Copy-edits.
- Added policy and rationale for this 93u+m fork.
- Incorporated info from old README that is still relevant.
.gitignore:
- Added.
bin/execrate:
- Removed. This one keeps changing its license header, causing git
to show an uncommitted file. It's always re-copied anyway, and
not for direct invocation, so, exclude and add to .gitignore.
The source file is: src/cmd/INIT/execrate.sh
src/cmd/*,
src/lib/*:
- Remove historical baggage: everything except ksh93 and
dependencies. This is the same stuff the ksh-community fork
removed. I wouldn't mind keeping it, but some of this stuff
causes build failures on macOS (and probably other systems), and
I need to get on with fixing ksh93.
Hopefully, we can figure out how to re-add stuff we can use
later -- particularly the pty command (pseudo-terminal utility
for scripting interactive sessions) which is needed for
regression-testing the interactive shell.
2020-06-11 23:43:13 +00:00
|
|
|
# Miscellaneous artefacts
|
2022-01-02 17:22:08 +00:00
|
|
|
*.dSYM/
|
Rebooting 93u+m
This commit reboots ksh 93u+m development with a new fork based off
the archived official AT&T ast repo, master branch.
README:
- Removed. Having two READMEs is a botch.
README.md:
- Imported and edited from the archived fork,
https://github.com/modernish/ksh -- the newer instructions will
become applicable as I cherry-pick all the changes from there :)
- Copy-edits.
- Added policy and rationale for this 93u+m fork.
- Incorporated info from old README that is still relevant.
.gitignore:
- Added.
bin/execrate:
- Removed. This one keeps changing its license header, causing git
to show an uncommitted file. It's always re-copied anyway, and
not for direct invocation, so, exclude and add to .gitignore.
The source file is: src/cmd/INIT/execrate.sh
src/cmd/*,
src/lib/*:
- Remove historical baggage: everything except ksh93 and
dependencies. This is the same stuff the ksh-community fork
removed. I wouldn't mind keeping it, but some of this stuff
causes build failures on macOS (and probably other systems), and
I need to get on with fixing ksh93.
Hopefully, we can figure out how to re-add stuff we can use
later -- particularly the pty command (pseudo-terminal utility
for scripting interactive sessions) which is needed for
regression-testing the interactive shell.
2020-06-11 23:43:13 +00:00
|
|
|
*.bak
|
|
|
|
*.sav
|
|
|
|
*.old
|
|
|
|
*.orig
|
|
|
|
.*.swp
|
|
|
|
*.DS_Store
|
|
|
|
*~
|
|
|
|
.nfs*
|
|
|
|
*.tmp
|
|
|
|
*.rej
|
|
|
|
*.project
|
|
|
|
*.core
|
|
|
|
core
|
2021-01-26 09:45:17 +00:00
|
|
|
**/#*#
|
2021-08-29 15:57:38 +00:00
|
|
|
tags
|