This is the AT&T Software Technology ast software download site from AT&T Research. The AT&T AST OpenSource Software Collection provides an overview and Practical Reusable UNIX Software provides a historical perspective. You can join the ast and uwin mailgroups, or monitor the mail archives. There is also an AT&T internal talk. The man page inde…
C Scilab Shell HTML Roff Meson
Clone or download
krader1961 Eliminate a cppcheck warning
Cppcheck warns about token pasting an empty token. Strictly speaking
that is legal. But since the macro being used to construct the structure
is already confusing change it to eliminate the confusion and cppcheck
warning.
Latest commit 2750535 Jun 24, 2018
Permalink
Failed to load latest commit information.
.copr Set correct version number in copr and OBS builds Jun 4, 2018
.github/ISSUE_TEMPLATE Add non-empty about section in bug report template May 18, 2018
bin Add IWYU mapping files Jun 23, 2018
etc IWYU cleanups of ksh code Jun 24, 2018
features Cygwin lint involving sizeof wchar_t Jun 21, 2018
lib/package Remove unneeded makefiles May 24, 2018
packaging Set correct version number in copr and OBS builds Jun 4, 2018
scripts On Travis macOS some compiler flags aren't valid Jun 24, 2018
src Eliminate a cppcheck warning Jun 24, 2018
.clang-format Don't allow slightly over long lines Jan 2, 2018
.cppcheck.rules Implement `bin/style` and `bin/lint` scripts Jan 17, 2018
.cppcheck.suppressions Implement `bin/style` and `bin/lint` scripts Jan 17, 2018
.editorconfig Implement config for clang-format and editors Nov 30, 2017
.gitignore Remove no longer needed entries from .gitignore May 20, 2018
.oclint Implement `bin/style` and `bin/lint` scripts Jan 17, 2018
.travis.yml Enable unit tests on macOS Jun 23, 2018
CHANGELOG.md Remove AST Vmalloc code May 29, 2018
CONTRIBUTING.md Enable malloc debug features Feb 8, 2018
LICENSE Add LICENSE file with text from EPL-1.0 May 17, 2018
README.md Add reference to list of Linux distros Jun 7, 2018
config_ast.h.in Cygwin lint involving sizeof wchar_t Jun 21, 2018
coverity-travis.yml Add configurations for coverity scan May 16, 2018
meson.build Cygwin lint cleanups Jun 21, 2018
meson_options.txt Fallback version number should be configurable Jun 4, 2018

README.md

KSH93

This repository contains the AT&T Software Technology (AST) toolkit from AT&T Research. As of November 2017 the development focus has been shifted to the ksh (or ksh93) command and supporting code required to build it.

The non-ksh code of the AST project is no longer being actively maintained. If you are interested in the non-ksh code see below for details on which branches contain the full AST code base.

Building Korn shell

Building ksh requires the Meson build system. To build ksh execute these commands from the project root directory:

meson build
ninja -C build

You can add a --prefix flag followed by a path to the meson build command to specify where the binaries and libraries are installed. The default is /usr/local.

Installing

The ksh executable, helper libraries and man page can be installed with:

ninja -C build install

Getting KornShell

Linux

Latest builds for Red Hat Enterprise Linux (CentOS) and Fedora can be found in Copr.

Latest builds for openSUSE and Ubuntu can be found in OBS.

See full list of distros that ship packages for current development version.

Windows

TBD

macOS

TBD

Contributing changes to the source code

See the contributing guidelines for information about code style, unit tests, and other topics of interest to anyone who wants to modify the source.

Coverity Scan

Latest results of coverity scan can be viewed here.

Working with the full AST source

Warning: Running test cases through the legacy test script may wipe out your home directory (See #477). This has been fixed in current development version.

Full AST source code is available under the 2012-08-01-master and 2016-01-10-beta branches (see below for more details). Bug fixes to these branches are welcome but they are otherwise under low maintenance.

The full AST code includes many tools and libraries, like KSH, NMAKE, SFIO, VMALLOC, VCODEX, etc. It also includes efficient replacements for a lot of the POSIX tools. It was designed to be portable across many UNIX systems and also works under UWIN on Microsoft Windows (see UWIN repo on GitHub under att/uwin).

This software is used to build itself, using NMAKE. After cloning this repo, cd to the top directory of it and run:

./bin/package make

NOTE: That build command only applies to the legacy branches that include the entire AST source. It does not apply to the current master branch that is focused solely on the ksh command and uses the Meson build system.

Almost all the tools in this package (including the bin/package script are self-documenting; run --man (or --html) for the man page for the tool.

(If you were used to the old AST packaging mechanism, on www.research.att.com, this repo is equivalent to downloading the INIT and ast-open packages and running: ./bin/package read on them).

Branches

The master branch contains the current development version of ksh93. It only contains source code for ksh93 and the libraries required to build it.

The 2012-08-01-master branch contains the the last stable release of full AST source code. It contains one cherry-picked change to allow building on Linux.

The 2016-01-10-beta branch contains the last beta release of full AST source code plus a number of patches that were later added on top of it. Changes for the legacy AST project are normally merged to this branch.

The gh-pages branch will probably be removed. It contains files needed to generate the static AST project page hosted by Github. See https://help.github.com/articles/what-is-github-pages/ for more info.

Licensing

This section needs more detail and clarity. The original README document said the following:

Each package is covered by one of the license files

lib/package/LICENSES/

where is the license type for the package. At the top of each license file is a URL; the license covers all software that refers to this URL. For details run

bin/package license []

Any archives, distributions or packages made from source or binaries covered by license(s) must contain the corresponding license file(s).

Contact Us

The primary mechanism for interacting with this project is the Github project by opening issues and pull-requests and watching the project.

IRC

Use #ksh channel on freenode to discuss about AT&T KornShell and related variants.

Gitter

ksh93/users is gitter chatroom for AT&T KornShell users.

Mailing lists

Mailman is reachable through e-mail commands to: ast-developers-request@lists.research.att.com and ast-users-request@lists.research.att.com.

To subscribe send an e-mail with "subscribe" in the subject line. Mailman web interface is not available from internet due to security reasons. To confirm your subscription, please reply to the confirmation e-mail.

Send "help" in the subject line or in the body of the message for more info, or for detailed instructions go to mailman email commands or member options quick reference.

Archives of the AST mailing lists (which is mostly about ksh) are available at: https://marc.info/?l=ast-developers and https://marc.info/?l=ast-users.