:HGSD, UTILITIES, Yet another smart SET DEFAULT replacementSD V2.3-1 [11-FEB-2004]=Copyright © 1998, 2004, Hunter Goatley. All rights reserved.IThis is my version of SD, a SET DEFAULT replacement based on an old DECUSJsubmission by Alan Zirkle. This version implements a stack of the last 16Jdirectories 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 > Move to alphabetically next directory at same levelC SD < Move to alphabetically previous directory at same level& 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 stack4 SD * Show the SD stack (enter STACK for help)) SD ? Show this SD help information/ SD & Unconceal a directory specification$ SD Show the current defaultFSD can also set your prompt equal to the default directory name if the$logical HG_SD_SET_PROMPT is defined. INSTALLING SD -------------To build the executables:H* Execute the following command to produce SD.EXE and SD_PROMPT.EXE from the supplied binaries: $ @LINK.COMG* If you have the BLISS sources and the MMS description file available,4 use MMK or MMS to compile and link the executable.EOnce you have the SD*.EXE files, you can set up a DCL foreign command to run SD:! $ sd :== $disk:[directory]SD.EXECFor SD 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:re/ $ define/system/exec HG_SD_HLB dev:[dir]SD.HLBDYou can also include the file SD.HLP in a local help library to make"it available via the HELP command.SD ? gets you help.SETTING THE DCL PROMPT----------------------CThe SET_PROMPT.EXE image contains code to set the DCL prompt to the&name of the current default directory.( $ sd :== $disk:[directory]SD_PROMPT.EXEBTo actually have SD set your prompt, the following logical must bedefined: $ DEFINE HG_SD_SET_PROMPT TRUE@Note that you must have CMEXEC privilege in order to set the DCL;prompt. To allow non-privileged users to set their prompts,5SD_PROMPT.EXE can be INSTALLed with CMEXEC privilege:9 $ install add disk:[dir]sd_prompt.exe/open/header/share- /priv=(noall,cmexec)P--------------------------------------------------------------------------------CONTACTING THE AUTHOR@HGSD was written by Hunter Goatley. This version is a C rewriteBof the original MACRO32 program, written March 14, 1987. Comments,Esuggestions, and questions about this software can be directed to theauthor at this e-mail address: goathunter@goatley.comP--------------------------------------------------------------------------------COPYRIGHT NOTICEHThis software is COPYRIGHT © 1987, 1997, 2004 HUNTER GOATLEY. ALL RIGHTSKRESERVED. Permission is granted for not-for-profit redistribution, providedKall source and object code remain unchanged from the original distribution,-and that all copyright notices remain intact. DISCLAIMERCThis software is provided "AS IS". The author, Hunter Goatley, andFProcess Software make no representations or warranties with repsect to@the software and specifically disclaim any implied warranties of6merchantability or fitness for any particular purpose.