 SD 01-007  [ 6-JUL-1994]9 Copyright  1994, MadGoat Software.  All rights reserved.   I This is my version of SD, a SET DEFAULT replacement based on an old DECUS J submission by Alan Zirkle.  This version implements a stack of the last 10J directories visited, as well as short-cuts for specifying directory specs.     Set/Show Default Directory  (   SD ^      Go up one subdirectory levelE   SD @      Go to top level of current directory (enter TOP for help) 2   SD .      Go to login default directory and disk9   SD #n     Go to directory in n'th entry of the SD stack @   SD #      Set default to stack entry #1 (toggle stack entries)8   SD >X     Set default to [z.X] when currently in [z.y]&   SD .X     Set default to [current.X]5   SD X.Y.Z  Set default to [X.Y.Z] (enter X for help) 3   SD %      Push the current default onto the stack 4   SD *      Show the SD stack (enter STACK for help))   SD ?      Show this SD help information $   SD        Show the current default    F To build it, just @LINK.COM or use MMS (MMK) or @BUILD_SD.COM.  For SDG to find its help file, you should set its protection to W:RE and define  the following logical:  " 	$ copy sd.hlb dev:[dir]/prot=w:re4 	$ define/system/exec MADGOAT_SD_HLB dev:[dir]SD.HLB   Then define a foreign symbol:    	$ sd :== $dev:[dir]sd.exe   SD ? gets you help.   C This version of SD has some pretty ugly code, but it was originally H designed to be as fast as possible on a VAX.  It has been ported to AXP,G and should really have been rewritten, but it works, so I have bothered  with it.   Hunter ------C Hunter Goatley, VMS Systems Programmer, Western Kentucky University 7 goathunter@ALPHA.WKU.EDU (or goathunter@WKUVX1.WKU.EDU) 