Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site mhuxi.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!mhuxv!mhuxh!mhuxi!v1b From: v1b@mhuxi.UUCP (davis) Newsgroups: net.micro.pc Subject: Re: Pushd and Popd using environment variables. Message-ID: <398@mhuxi.UUCP> Date: Thu, 13-Feb-86 15:08:22 EST Article-I.D.: mhuxi.398 Posted: Thu Feb 13 15:08:22 1986 Date-Received: Sat, 15-Feb-86 01:27:03 EST References: <57@gumby.UUCP> Organization: AT&T Bell Laboratories, Murray Hill Lines: 15 > > The following two uuencoded listings are the pushd and popd programs > which store the directory stack information in an environment variable > "DIRSTACK". The options are the same as the UNIX version except the additional > -v option which shows the version of the programs. There is a restriction > which limits the directory stack size to a 255-character string. You may need > to increase the environment space in order to use these programs. > The pushd and popd routines posted a couple days ago look very good. They do work, but popd does not properly clear the "DIRSTACK" environmental variable as can be seen if you type "set" after you popd - has anyone else had this problem?? - I am using an AT&T PC6300. - thanks - vern bradner inhp4!mhuxi!v1b