KSH-93 is the most recent version of the KornShell Language described
in "The KornShell Command and Programming Language," by Morris
Bolsky and David Korn of AT&T Bell Laboratories. The KornShell is
a shell programming language, which is upward compatible with "sh"
(the Bourne Shell), and is intended to conform to the IEEE P1003.2/ISO
9945.2 Shell and Utilities standard. KSH-93 provides an enhanced
programming environment in addition to the major command-entry
features of the BSD shell "csh". With KSH-93, medium-sized programming
tasks can be performed at shell-level without a significant loss
in performance. In addition, "sh" scripts can be run on KSH-93
without modification.
as shells/osh.
Osh is a re-implementation of the old and obsolete shell version,
which was in standard use up to UNIX 6th Edition and was supplied
as osh with UNIX 7th Edition. Its command language is a sparse
subset of those of modern shells and is mostly common both to sh(1)
and csh(1).
This pkgsrc entry is based on the FreeBSD ports entry for osh.
Bugfix release. Some added completion functions: e.g. rsync,
mozilla, some bash builtin functions.
From Geoff C. Wing, gcw at primenet dot com dot au in pkg/17946.
New Features:
* %j in prompt
* utf8 support
New Ports:
* darwin support
Locale Support:
* russian locale fixes
* polish locale fixes
Highlights from Bug Fixes:
* Dissallow setting of environment variables that do not contain
alphanumeric names
* Don't expand path components that don't resolve to path names
* Make $ignoreeof agree with the man page
* Don't close file descriptors too early because setuid scripts fail
Rather than require that _every_ new port update config.guess,
fall back to using `uname -p`-unknown-netbsd on >= 1.4,
so we only need to patch for each new machine_arch.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
removal of USE_GTEXINFO
INSTALL_INFO added to PLIST_SUBST
`${INSTALL_INFO}' replace `install-info' in target rules
print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
makeinfo command usage
See -newly added by this commit- section 10.24 of Packages.txt for
further information.
> Fix problem where
> % echo $20000000000
> Segmentation fault (core dumped)
I believe the problem is already known to the maintainer of tcsh
(=christos).
This is a minor bug-fix release, though some new functions have been added:
_bts Completion for Debian BTS
_chflags Completion for chflags(1)
_links Completion for links web browser
_samba
_sysctl
_user_admin
bash-backward-kill-word
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.
Example #1:
DISTNAME= foo-X.Y
PKGREVISION= Z
=> PKGNAME= foo-X.YnbZ
Example #2:
DISTNAME= barthing-X.Y
PKGNAME= bar-X.Y
PKGREVISION= Z
=> PKGNAME= bar=X.YnbZ (!)
On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
NOTE: Polish translation is excluded from the package due to broken files.
New Features:
* kill ring Per Hedeland
* bsd style colorls Anand
* big5 multi-byte support Yen-Ming Lee
* LARGEFILE support on Linux Kimmo Suominen
* jobcmd alias Greg Parker
New Ports:
* concurrent's powermaxos Matt Majka
* hpux11 Joshua Weage
Locale Support:
* estonian translation Toomas Soome
* russian translation Ilmar S. Habibulin
* polish translation Pawe³ New
Complete list of changes:
40. V6.11.00 - 20010902
39. Completion fixes (Tom Warzeka)
38. make c_insert not static so that it can be used from win32 (amol)
37. Fix rmstar not to corrupt memory when we say no. (Mark Peek)
36. V6.10.02 - 20010806
35. polish nls locale (Pawe³ New)
34. Fix a tcsetattr race running background jobs as the last line on an xterm
window (Andrew Brown)
33. jobcmd alias (Greg Parker)
32. hpux11 support (Joshua Weage)
31. Fix SHORT_STRINGS compilation (Daniel Trinkle)
30. Add kill -s (Mark Peek)
29. Don't recognize all mips as dec (Bjorn Knutsson)
28. Fix GLOB_QUOTE problem (noted by Per) I introduced in 6.10.01.
27. Port to concurrent's powermaxos (Matt Majka)
26. New builtin srcfile (Amol)
25. Fix bindkey "\\" cmd (reported by Ismail H. Tuncer)
24. %0Xc was broken in the prompt if the user's home directory was '/'.
(reported by Edward Glowacki)
23. V6.10.01 - 20010426
22. LARGEFILE support on Linux.
21. Add big5 multibyte support (Yen-Ming Lee)
20. Check the return value of setpriority (Dima Dorfman)
19. Avoid constructing paths with // on DomainOS (Nickolai Zeldovich)
18. Russian translation (Ilmar S. Habibulin)
17. Fix hostdefs for alpha support in FreeBSD (Andrey A. Chernov)
16. Add door support in colorls (Shaen)
15. Add BSD_STYLE_COLORLS for FreeBSD (Anand)
14. MAXHOSTNAMELEN needs to be 256 (Kris Kennaway)
13. Document stty -tabs problems on compaq (Nelson H. F. Beebe)
12. Fix broken comment, and new versions of config.guess and config.sub
(H.Merijn Brand)
11. fix redrawing in the recognize case (Andrew Brown)
10. don't call qsort with 0 items. (Luke Mewburn)
9. fix echo;echo;echo; not outputing anything (Andrey A. Chernov)
8. Fix shell word parsing in dabbrev-expand (Per Hedeland)
7. hpux fixes (Chienting Lin)
6. Implement kill ring (Per Hedeland)
5. Avoid core-dumping when a very long $HOME gets passed in (Kris Kennaway)
4. Add rlimit_vmem for linux based on rlimit_as (N KomaZaki)
3. back out symlink=expand path check.
2. Add Estonian translation (Toomas Soome)
1. Accept empty $savedirs to mean infinity.
standard tcsh package, and using a minimal pkgsrc equivalent of a
"reachover" structure.
This is a much better solution for binary packages - it removes
another mk.conf definition.
This is a maintenance release for the (stable) 4.0 branch. Most of the
changes are bug fixes, including a fix for a bug which caused the test
suite to fail. On fully supported systems, all tests should now pass.
There is one new feature: the option KSH_TYPESET provides compatibility
with other shells for assignment arguments of `typeset', `export' and
related builtins.
The changes from previous stable release (3.0.8) are almost 15,000
lines of changelog. (Not included here, see ChangeLog-3.1 in source
distribution).
Provided by Masao Uebayashi <uebayasi@soum.co.jp> in PR pkg/13113 with
some changes by me.
Zsh is a UNIX command interpreter (shell) which of the standard shells
most resembles the Korn shell (ksh), although it is not completely
compatible. It includes enhancements of many types, notably in the
command-line editor, options for customising its behaviour, filename
globbing, features to make C-shell (csh) users feel more at home and
extra features drawn from tcsh (another `custom' shell).
Package provided in private mail by Masao Uebayashi <uebayasi@soum.co.jp>
as a followup to pkg/12721.
Changelog:
2000-05-15 Bart Schaefer <schaefer@zsh.org>
* Src/version.h: Version 3.0.8 released.
* Etc/MACHINES: Add note for OpenStep 4.2 from Brian Boonstra.
* Etc/FAQ: Latest version from PWS.
* Src/utils.c: Fix for ${(s::)...} when parameter value has
meta-characters; Sven, 11368.
2000-05-12 Bart Schaefer <schaefer@zsh.org>
* Etc/BUGS: Make note of the numeric range globbing bug reported
by Zefram in 10444 (requires too many other changes to fix now).
* Etc/NEWS: Note change in character ranges in globbing.
2000-05-11 Bart Schaefer <schaefer@zsh.org>
* Src/builtin.c, Src/params.c: "typeset -U" updates exported
colon-arrays; PWS, 11314.
* Src/jobs.c: In setprevjob(), skip jobs with either the
STAT_NOPRINT or STAT_SUBJOB bits set, as suggested in
zsh-workers/10005.
2000-04-30 Bart Schaefer <schaefer@zsh.org>
* Src/glob.c: Disable locale-sensitive character ranges; sorting
is still done by locale. This is the 3.1.7 behavior.
* Src/builtin.c: Since "read -q" always reads from the tty, always
write the prompt to the tty. Adapted from Sven, 10727.
2000-03-08 Bart Schaefer <schaefer@zsh.org>
* Src/utils.c, configure, configure.in, config.h.in: Silence linker
warnings on FreeBSD by using _mktemp() when available.
2000-02-29 Bart Schaefer <schaefer@zsh.org>
* Doc/zsh.texi: Silence a couple of warnings.
2000-02-28 Bart Schaefer <schaefer@zsh.org>
* Src/init.c, Src/params.c: Silence some harmless compiler
warnings; Sven, 9905.
* Src/exec.c: Fix problem with handling of errflag that caused
push-line-or-edit to fail when used within a here-document; Sven;
9900 and 9903.
* Etc/NEWS: Note minor new features and configuration changes.
2000-02-27 Bart Schaefer <schaefer@zsh.org>
* Src/builtin.c: Fixes to `vared', particularly when run from a
subshell; adapted from PWS, 7308, and Sven, 8591.
* configure.in, configure, acconfig.h, config.h.in,
Src/prototypes.h: Add test for mknod() prototype, per bug report
from Olivier Delemar.
* Src/exec.c, Src/globals.h, Src/init.c, Src/builtin.c: Fix
improper redirection of xtrace output; unlock terminal device on
Solaris as per zsh-workers/5118; misc. insignificant typos.
2000-02-23 Bart Schaefer <schaefer@zsh.org>
* config.sub: Handle the latest Alpha hardware type; Sven, 9840.
2000-02-16 Bart Schaefer <schaefer@zsh.org>
* Src/subst.c: Better quoting behavior for ${(e)...}
substitutions; from Sven, 9763.
2000-02-15 Bart Schaefer <schaefer@zsh.org>
* Src/signames.awk: Missing newline.
* Src/jobs.c, Src/signames.awk: Wrap signal message array derefs
in a macro to avoid segfaults in the event we receive an
unrecognized signal.
2000-02-13 Bart Schaefer <schaefer@zsh.org>
* configure.in, configure: Import the 3.1.6 signal.h (or
equivalent) detection code.
* Etc/MACHINES: Mention potential resource.h problem on Linux.
2000-02-12 Bart Schaefer <schaefer@zsh.org>
* Src/init.c: Redo the way we attach to the tty in init_io() to
avoid competing with our parent on systems that don't prevent TTY
ioctl()s from background jobs.
2000-02-06 Bart Schaefer <schaefer@zsh.org>
* Src/builtin.c: Clear the PM_UNSET flag from the `pm' structure
before setting the parameter; PWS, 9582.
2000-02-03 Bart Schaefer <schaefer@zsh.org>
* Src/utils.c: Interrupt read1char() when any of the usual shell
loop control flags becomes set (e.g. by a trap handler); Sven,
9522.
* Src/exec.c: A different reformulation of 9345; based on Sven,
9503 and 9521.
2000-01-29 Bart Schaefer <schaefer@zsh.org>
* Src/globals.h: Add a missing EXTERN.
* Src/globals.h, Src/jobs.c, Src/zsh.h, Src/builtin.c, Src/exec.c:
Fixes for suspending/restarting subshells; adapted from Sven, 9345.
2000-01-12 Bart Schaefer <schaefer@zsh.org>
* Src/loop.c: Fix behavior of "select" loops with respect to
reading stdin; adapted from PWS, 9295.
2000-01-08 Bart Schaefer <schaefer@zsh.org>
* Src/loop.c: Using a negative count with the "repeat" construct
should not loop. Adapted from Sven, 9188.
1999-12-12 Bart Schaefer <schaefer@zsh.org>
* Src/exec.c: Don't try to suspend/resume loops and other shell
constructs as separate processes when the parent shell is not
doing job control in the first place.
1999-11-25 Bart Schaefer <schaefer@zsh.org>
* Src/lex.c: Fix off-by-one line number when reporting unmatched
cshjunkiequote errors.
1999-11-24 Bart Schaefer <schaefer@zsh.org>
* Src/signals.c: Just for sanity, be sure not to SIGHUP ourself
when already exiting.
1999-10-25 Bart Schaefer <schaefer@zsh.org>
* Src/system.h, Src/hashtable.h, Src/init.c, Src/params.c,
INSTALL, acconfig.h, configure.in, configure, config.h.in:
Configure option to disable setlocale() support, and also do a
linkage test for it rather than simply test for the LC_ALL
constant; adapted from Zefram, 8372, by Tatsuo Furukawa.
1999-10-24 Bart Schaefer <schaefer@zsh.org>
* Makefile.in: Don't bother trying to enumerate all the files in
the ftp-dist tar, just pack up the whole zsh-$(VERSION) directory.
The enumeration caused files in subdirectories to be included
twice by tar.
1999-10-23 Bart Schaefer <schaefer@zsh.org>
* Src/zle_misc.c, Doc/zshparam.man: Add the %L prompt token, for
the value of SHLVL, as in 3.1.6; thanks to Phil Pennock
<phil@PsiDev.net> for pointing out this inconsistency.
1999-10-22 Bart Schaefer <schaefer@zsh.org>
* Src/mem.c: Fix a couple of typos in comments.
1999-10-19 Bart Schaefer <schaefer@zsh.org>
* Src/utils.c: Remove redundant variable decls; noted by Albert
Chin in 8327.
* Src/builtin.c: Tweak whitespace in string constant.
* Src/builtin.c: Recognize "maxpthreads" limit as noted by Albert
Chin in private mail; also arrange to print the "sockbufsize"
limit in "ulimit -a".
* Src/rlimits.awk: Recognize "maxpthreads" limit as noted by
Albert Chin in private mail.
Extract of CHANGES:
Bugfixes; command completion should now take half the stat(2)s it took
before; lots of changes to the POSIX mode; SSH2_CLIENT not auto-exported
any more (like SSH_CLIENT before); realpath builtin; 'set' without
options returns valid input, and lots others.
resolving a conflict with lang/scheme48. This should not cause any
(difficult) problems. Decrease no. of lines in DESCR to satisfy
`pkglint'. Bump up version number.
And retroactively say what is new in 6.10:
- The most important security fix had to do with temporary file handling
for here-documents. You should update tcsh if you are using it as a
root shell, and you have malicious users on your system.
- The complete list of changes is here:
57. V6.10.00 - 20001119
56. Completion fixes (Tom Warzeka)
55. add missing linux kanji define (Tsuyoshi Kawabe)
54. More WINNT_NATIVE fixes (amol)
53. Fix compile error on winnt (Yoshiyuki Sakakibara)
52. nonstopux configure and makefile fixes (Tom Bates)
51. V6.09.04 - 20001111
50. Order of initialization for multibyte display was wrong
(HyunChul Kim)
49. Follow the guideline for linux for japanese locale:
http://www.linux.or.jp/JF/JFdocs/Japanese-Locale-Policy.txt
(Tomohiro KUBOTA)
48. Ukrainian nls map (Olexander Kunytsa)
47. exit immeditiately if we get an error while we are setting up
(Michael Shalayeff)
46. (unset path; unsetenv PATH; rehash) -> crash (Kent Vander Velden)
45. change winnt to winnt_native (Randolph Fritz)
44. Support home/end in the editor (Andrey A. Chernov)
43. Typo s/gycwin/cygwin/ in tc.os.h (Andreas Schott)
42. Alpha ev6 addition (Karen R. McArthur)
41. DSPMBYTE patch from (Issei Suzuki)
40. Security fix for here-doc tmp files (proton@ENERGYMECH.NET)
39. Fix resource limit rounding *again* (Johannes Gross)
38. Fix $ expansion in prompt (Takashi Sumiyoshi)
37. V6.09.03 - 20000715
36. cygwin port fixes (Arihiro Yoshida)
35. Add a new "catalog" variable that specifies which NLS catalog
to be used (Issei Suzuki)
34. cleanup and addition of page up/down (amol)
33. fix vfork compile problem.
32. use inet_addr instead of inet_aton for portability.
31. V6.09.02 - 20000704
30. lots more completions (George Cox)
29. change FILSIZ to BUFSIZE [now that BUFSIZE >> MAXPATHLEN] and
avoid a potential buffer overflow in sh.dir.c (Volker Schmidt)
28. _MINIX_VMD port (Martijn van Buul)
27. inet6 handling for remotehost and configure (Hajimu UMEMOTO)
26. aix-4 does not need gethostname (Darren Reed)
25. IBM OS/390 Unix Systems Services support (Peter Prymmer)
24. Fix prompt formatting (Andrey A. Chernov)
23. Use HostType from Imakefile correctly (Kjetil Torgrim Homme)
22. Handle long and expanded history lines better (Boleslaw Ciesielski)
21. With symlinks=expand expand valid paths only (Martin Kraemer)
20. Make one-byte charsets work with KANJI (Andrey A. Chernov)
19. NT-specific executable detection moved to NT code (amol)
18. New "complete module" (Dan Nicolaescu)
17. Correctly display scaling string in limit error messages (Nathan Ahlstrom)
16. Don't display "unset watch" message when not appropriate (kim)
15. V6.09.01 - 20000114
14. Circumvent IRIX4D ESTALE bug by exiting.
13. IRIS4D de-linting.
12. Finnish nls catalogs (Jukka A. Ukkonen)
11. Even more multibyte fixes (Taga Nayuta)
10. Patches to statically link tcsh under solaris-2.6 (John Hawkinson)
9. Manual page typos (R. Bernstein)
8. HP/UX-11 (9000/800) HP/UX-10.20 (9000/820) (Haflidi Sigtryggur Magnusson)
7. Color-ls fixes (Luis Francisco Gonzalez)
6. Don't re-use time0 to compare to stat's st_mtime, cause it could be
the value returned from times(2) which is the ticks since system
startup (Frank van der Linden)
5. Time percentage wrap fix (Simon Burge)
4. EUCKR support (HyunChul Kim)
3. Grammar and typo fixes for tcsh.man (Steve Kelem)
2. More multibyte fixes (Rodney Ruddock)
1. Change 6.08 -> 6.09 where I missed it; update for utlrix 4.5 (Simon Burge)
when function names are re-defined. Unfortunately, it also does that
after defining "struct rlimit", and so we lose because it can't find
the structure. So we get to redefine it ourselves before
<sys/resource.h> is included. Thanks, guys.