% VAX-11 Librarian V04-00d)-OΊQ H D5 SWING@;x;P ANDRESEN SWINGQ ANDRESEN SWING ΊQ1 SWINGt!h4! This is the help file for the program SWINGB! To add this to the standard help library on the VAX type:4! $ LIBRARY/HELP SYS$HELP:HELPLIB SWING.HLP ! t<! Note that the processed version of this file (.HLB))! is used by the SWING executable.l! G SWING is a VAX/VMS utility for displaying the graphical representationrI of directory trees on a VT100 or VT200 type terminal. It can be used toaE move to a directory or subdirectory, as is done with the SET DEFAULTlG command, and it can rename, move and delete subdirectories. SWING cani9 also create hardcopy listings of a directory structure. k% Simply type SWING at the VMS prompt. 2 Moving_aroundoF Once SWING has drawn a picture of the default directory structure theB cursor will be positioned at the current directory and it will beG highlighted. The arrow keys can be used to move from one subdirectoryeD to another. As you travel around you are "settin g default" to thatF directory. To exit simply type X, E, CONTROL-Z or ENTER and you will. return to VMS in the new directory location.  eF As you move around with the arrow keys notice that the RIGHT, UP and I DOWN arrows take you to the first directory available in that direction oJ and that the LEFT arrow takes you to the parent of the current directory. sI Other commands can be entered to create, rename and move subdirectories,cG as well as delete entire directory trees and get a hardco py listing ofaH the current directory structure. To get help on these various commands, enter the section of help called COMMANDS. 2 Save_fileWH Every time SWING displays a directory tree it gets its information fromG either searching the disk or from a save file called SWING.SAV locatedmH in the main directory. If SWING is going to be used on a regular basisF it is advisable that the structure be saved in such a file. The SAVEG command will create a SWING.SAV file and from that point on S WING willyG attempt to keep that file up-to-date. Having the save file will speedbE up initialization so much that it might be tempting to use SWING for $ "setting default" all of the time.  eH If the directory structure is changed in any way by SWING the save fileG will be updated automatically, but if a change has occured without theA use of SWING it will be necessary to do a manual SAVE on the newi directory tree. wE NOTE: SWING does purge the save files located in the main directory ,h9 provided the current process has enough privilege. 2 CommandsB Commands can be entered by either hitting the first letter of theH commands located on the menu at the top of the screen or by hitting theG CONTROL-P or DO keys and using the menu bar like a pulldown menu. TheuG pulldown menu is operated by using the arrow keys to go to a selectionaI and then hitting the ENTER key to choose that item. CONTROL-Z will exittI the pulldown menu without making a choice. Although the pulldow n menu ispB cute, hitting the first letter of the commands is by far a faster method. o3 CreateJ CREATE prompts the user for the name of a new subdirectory to be created.A The display will be updated and an actual directory is created. e3 RenameJ RENAME prompts for a new name to be given to the current directory. The D display may change since the directories are in alphabetical order.3 MoveG MOVE initiates the move operation by blinking the current subdirectorySH and then the user is asked to move to the a new parent directory. WhenI either RETURN or ENTER is hit the move takes place. Both the new parenthH and the directory being moved can have other subdirectories attached toF them as well. While moving to the new parent directory the operationE can be canceled by hitting any key besides the arrow keys, ENTER and RETURN. 3 DeleteH DELETE causes the current directory and all subdirectories below it to F be deleted automatically. The user is asked to enter YES befor e any C delete operation takes place and the word YES must be spelled out EI completely. The deletion starts at the lowest subdirectory in the tree eF and works its way back to the current directory. As files are being H deleted from a subdirectory that node will blink on the screen. If theJ subdirectory is successfully deleted the node name will blank out, so you9 can watch the directory tree being deleted graphically. eF IMPORTANT: IF A FILE DOES NOT HAVE DELETE ACCESS FOR THE USER, SWIN G F WILL ATTEMPT TO CHANGE THE PROTECTION ON IT SO THAT IT CANB DELETE THE FILE (GIVEN THE PRIVILEGE OF THE USER ONLY)E If a particular subdirectory or file still can't be deleted then the E deletion process will continue anyway, leaving the protected files. i- A message will be given stating the problem. 3 PrintuG PRINT creates a file for printing that contains a hardcopy version of eF the directory structure. One of two file types can be created. The H normal outp ut is for any printer and the LQP input file is for running C through the LQP utility on a laser printer for a clean line drawn nI representation of the directory tree. The file is called SWING.LIS and n, it will be placed in the current directory.3 SaveG SAVE causes a new save file to be created in the main directory. The D save file is for speeding up the initialization of SWING. See the @ section called SAVE_FILE on the level of help above this level.3 OptionH OPTION causes an option;P1 SWING!4! This is the help file for the program SWINGB! To add this to the standard help library on the VAX type:4! $ LIBRARY/HELP SYS$HELP:HELPLIB SWING.HLP ! <! Note that the processed version of this file (.HLB))! is used by the SWING executable.!G SWING is a VAX/VMS utility for displaying the graphical representationI of directory trees on a VT100 or VT200 type terminal. It can be used toE move to a directory or subdirectory, as is done with the SET DEFAULTG command, and it can rename, move and delete subdirectories. SWING can9 also create hardcopy listings of a directory structure. % Simply type SWING at the VMS prompt.2 Moving_aroundF Once SWING has drawn a picture of the default directory structure theB cursor will be positioned at the current directory and it will beG highlighted. The arrow keys can be used to move from one subdirectoryD to another. As you travel around you are "setting default" to thatF directory. To exit simply type X, E, CONTROL-Z or ENTER and you will. return to VMS in the new directory location.  F As you move around with the arrow keys notice that the RIGHT, UP and I DOWN arrows take you to the first directory available in that direction J and that the LEFT arrow takes you to the parent of the current directory. I Other commands can be entered to create, rename and move subdirectories,G as well as delete entire directory trees and get a hardcopy listing ofH the current directory structure. To get help on these various commands, enter the section of help called COMMANDS. 2 Save_fileH Every time SWING displays a directory tree it gets its information fromG either searching the disk or from a save file called SWING.SAV locatedH in the main directory. If SWING is going to be used on a regular basisF it is advisable that the structure be saved in such a file. The SAVEG command will create a SWING.SAV file and from that point on SWING willG attempt to keep that file up-to-date. Having the save file will speedE up initialization so much that it might be tempting to use SWING for$ "setting default" all of the time.  H If the directory structure is changed in any way by SWING the save fileG will be updated automatically, but if a change has occured without theA use of SWING it will be necessary to do a manual SAVE on the new directory tree. D You may want to purge your SWING.SAV files periodically, the SWING ) utility leaves that task up to the user. 2 CommandsB Commands can be entered by either hitting the first letter of theH commands located on the menu at the top of the screen or by hitting theG CONTROL-P or DO keys and using the menu bar like a pulldown menu. TheG pulldown menu is operated by using the arrow keys to go to a selectionI and then hitting the ENTER key to choose that item. CONTROL-Z will exitI the pulldown menu without making a choice. Although the pulldown menu isB cute, hitting the first letter of the commands is by far a faster method. 3 CreateJ CREATE prompts the user for the name of a new subdirectory to be created.A The display will be updated and an actual directory is created. 3 RenameJ RENAME prompts for a new name to be given to the current directory. The D display may change since the directories are in alphabetical order.3 MoveG MOVE initiates the move operation by blinking the current subdirectoryH and then the user is asked to move to the a new parent directory. WhenI either RETURN or ENTER is hit the move takes place. Both the new parentH and the directory being moved can have other subdirectories attached toF them as well. While moving to the new parent directory the operationE can be canceled by hitting any key besides the arrow keys, ENTER and RETURN. 3 DeleteH DELETE causes the current directory and all subdirectories below it to F be deleted automatically. The user is asked to enter YES before any C delete operation takes place and the word YES must be spelled out I completely. The deletion starts at the lowest subdirectory in the tree F and works its way back to the current directory. As files are being H deleted from a subdirectory that node will blink on the screen. If theJ subdirectory is successfully deleted the node name will blank out, so you9 can watch the directory tree being deleted graphically. F IMPORTANT: IF A FILE DOES NOT HAVE DELETE ACCESS FOR THE USER, SWING F WILL ATTEMPT TO CHANGE THE PROTECTION ON IT SO THAT IT CANB DELETE THE FILE (GIVEN THE PRIVILEGE OF THE USER ONLY)E If a particular subdirectory or file still can't be deleted then theE deletion process will continue anyway, leaving the protected files. - A message will be given stating the problem.3 PrintG PRINT creates a file for printing that contains a hardcopy version of F the directory structure. One of two file types can be created. The H normal output is for any printer and the LQP input file is for running C through the LQP utility on a laser printer for a clean line drawn I representation of the directory tree. The file is called SWING.LIS and , it will be placed in the current directory.3 SaveG SAVE causes a new save file to be created in the main directory. The D save file is for speeding up the initialization of SWING. See the @ section called SAVE_FILE on the level of help above this level.3 OptionH OPTION causes an optional full directory specification to be displayed J at the top of the screen. The directory name will be modified each time , the user moves to a new directory location.3 ExitI EXIT causes the SWING to exit to the currently selected subdirectory or ; directory. The keys E, X, CONTROL-Z and ENTER exit SWING.wwal full directory specification to be displayed J at the top of the screen. The directory name will be modified each time , the user moves to a new directory location.3 ExitI EXIT causes the SWING to exit to the currently selected subdirectory or ; directory. The keys E, X, CONTROL-Z and ENTER exit SWING.ww