pushd/popd as ksh functions: possible in unix pc ksh?

Thad P Floryan thad at cup.portal.com
Sat Dec 29 13:24:14 AEST 1990


afc at shibaya.lonestar.org (Augustine Cano)
in <1990Dec28.054110.13613 at shibaya.lonestar.org> writes:

	I just typed in the pushd/popd functions found in "The Korn Shell" by
	Bolsky and Korn and guess what... they don't work!
	[...]
	Alternatively, is a newer version of ksh available for the unix pc?
	(without paying the toolchest prices, that is...)

What version of ksh did you use?  One way to find out is to set "emacs" mode
(e.g.  set -o emacs) then type a control-V (i.e. ^V) and see what displays.

The version that accompanied the UNIXPC and which accompanied the "fixdisks"
is a brain-damaged version; the version from The STORE (at osu-cis) is the
1986 version for which most things in "The KORN Shell" book will work unless
EXPLICITLY stated otherwise.

The "stock" ksh for the UNIXPC has a version something like "1.2 ..." (don't
know for sure and cannot find out since I deleted it), and the "STORE" version
will display "Version 06/03/86" which IS a fairly recent and decent version.

Since I checked AT&T's "Toolchest" recently (re: curses), I found the source
price of the latest ksh to be $3,000.  Ouch.  Maybe if some 3,000 UNIXPC owners
each contribute $1 and designate ONE person to actual receive the source (all
stuff from the Toolchest is sent via UUCP) who will then distribute the binary
executable ....    (well, we CAN dream)

If our Users' Group secretary ever gets the incorporation papers drawn up,
perhaps we can qualify as an "educational institution" and get some discounts
on this stuff, or sumtin', maybe even get the UNIXPC's SVR2 source so we can
support all UNIXPC owners.  I wouldn't mind doing the work and donating my
time, but none of us can afford the $$$ for a "full" source license.

Sigh.  I couldn't even get the source to curses and terminfo, and finally had
to get a SVR3-compatible version from Aspen Scientific.

Thad Floryan [ thad at cup.portal.com (OR) ..!sun!portal!cup.portal.com!thad ]



More information about the Comp.sys.att mailing list