🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #5631

Re: Pushd and Popd using environment variables.

#5631
From: davis
Date: Thu, 13 Feb 1986 20:08
15 lines
1353 bytes
> 
>      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
Technical Details
Message-ID: <398@mhuxi.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!mhuxv!mhuxh!mhuxi!v1b
References: <57@gumby.UUCP>

Show Full Headers
Complete Article Headers
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: arc1-ca.pugleaf.net!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