.ps 60,80.lm 5.rm 75.ap.no flag .blank 2 .c;Academic Computing and Research Services .c;Western Kentucky University .C;Bowling Green, Kentucky .blank 2 .c;Submitted by: .blank 2 .c;Hunter Goatley .c;WKU/ACRS Student Programmer .c;Science & Technology Hall 110 .c;Western Kentucky University .c;Bowling Green, Kentucky 42101 .c;(502) 745-4982 .blank 3 .c;[.SAVE] Directory .blank 1 .p This subdirectory contains a program and command procedure that will save and restore symbols and logicals defined during the course of a terminal session. Useful if you interactively define some and want to re-use them in your next session without having to redefine them by hand. .list 2,">" .le SAVE.COM -- This DCL command procedure performs both the save and the restoration of the symbols and logicals. If no parameter is passed to it, it saves the output from SHOW LOGICALS and SHOW SYMBOLS in a file. If a parameter IS passed to it (any old thing will do), it writes current symbols and logicals to files, runs DIFFERENCES on them to find those in one and not the other, then runs SAVE.EXE to take the DIFFERENCES output and make a command procedure to redefine the symbols and logicals. .le SAVE.EXE -- This program converts the DIFFERENCES output to a command procedure capable of defining logicals and symbols. .end list .blank 2 To best learn how these programs work, use them. For example: .sk 1;.lm +20 $ @SAVE .br;$ LOGOUT .sk 1 Later: .br;$ @SAVE 2 .lm -20;.blank 1 For more information, read the comments in the sources.