Xref: utzoo unix-pc.general:6985 comp.sys.att:11307 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!portal!cup.portal.com!thad From: thad@cup.portal.com (Thad P Floryan) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: pushd/popd as ksh functions: possible in unix pc ksh? Message-ID: <37339@cup.portal.com> Date: 29 Dec 90 02:24:14 GMT References: <1990Dec28.054110.13613@shibaya.lonestar.org> Organization: The Portal System (TM) Lines: 37 afc@shibaya.lonestar.org (Augustine Cano) in <1990Dec28.054110.13613@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@cup.portal.com (OR) ..!sun!portal!cup.portal.com!thad ]