From:	CSBVAX::MRGATE!vtcf@ncsc.ARPA@SMTP 13-APR-1988 02:13
To:	ARISIA::EVERHART
Subj:	SWING 2 OF 13


Received: from ncsc.ARPA by KL.SRI.COM with TCP; Mon 11 Apr 88 08:14:54-PDT
Received: by ncsc.ARPA id AA02723; Mon, 11 Apr 88 10:11:20 CST
Date: Mon, 11 Apr 88 10:11:20 CST
From: vtcf@ncsc.ARPA (Williams)
Message-Id: <8804111611.AA02723@ncsc.ARPA>
To: info-vax@kl.sri.com
Subject: SWING 2 OF 13

$Part02:
$ File_is="SWING.HLB"
$ Check_Sum_is=3166104770
$ Copy SYS$Input VMS_SHAR_DUMMY.DUMMY
`003`001`000`000`129%`236`013`003`000`000`000`023VAX-11 Librarian V04-00`000`0
V00`000`000`000`000`000`000```132`239`233`141`230`144`000@M`000`234`141`230`144
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`028`000`0
V00`000```000`029`000`000`000`004`000`000`000`003`000`000`000`006`000`000`000`0
V02`000`000`000`001`000`000`000`001`000`000`000`001`000`000`000`000`000`001`000
V`000`000`000`000`000`000`020`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`0005`000`000`000`000`000`000`000`00
V0`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`
V000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`00
V0`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`
X000`000`000`000`000`000`000`000`000`000`000`000`
`012`000`000`000`000`000`000`000`000`000`000`000`007`000`000`000`006`000`005SW
VING`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`00
V0`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`
V000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`00
V0`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`
V000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`00
V0`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`
V000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`00
V0`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`
V000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`00
V0`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`
V000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`00
X0`000`000`000`000`000`000`000`000`000`000`000`00
`004`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
X`000`000`000`000`000`000`000`000`000`000`000`000
`005`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
X`000`000`000`000`000`000`000`000`000`000`000`000
`006`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
X`000`000`000`000`000`000`000`000`000`000`000`000
`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
V`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`0
V00`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000
X`000`000`000`000`000`000`000`000`000`000`000`000
V`009`000`008`000`000`000`016`000`000`173`000`000`001`000`000`000@M`000`234`141
V`230`144`000`007`0001 SWING`000G`000 SWING is a VAX/VMS utility for displaying
V the graphical representation`000I`000 of directory trees on a VT100 or VT200 
Vtype terminal.  It can be used to`000E`000 move to a directory or subdirectory
V, as is done with the SET DEFAULT`000G`000 command, and it can rename, move an
Vd delete subdirectories.  SWING can`0009`000 also create hardcopy listings of 
Va directory structure. `000`000`000`143`000 SWING takes one optional qualifier
V - START.  This sets the root of the { directory tree to any directory that th
Xe use
V`012`000`009`000`000`000r desires.  The directory`000E`000 is entered with the
V square brackets as with the SET DEFAULT command.`000E`000 START may also be s
Vet to CURRENT in which case the default directory`000`023`000 is the root dire
Vctory.`000`000`0007`000 Simply type SWING[/START=directory] at the VMS prompt.
V`000`000`000G`000 Limitations:  SWING cannot handle directory trees with more 
Vthan 3500 `000D`000 directories, more than 8 levels deep, or that require more
V than 500`018`000 lines to display.`015`0002 Moving_around`000F`000 Once SWING
X has drawn a picture of the default directory structu
V`010`000`010`000`000`000re theB`000 cursor will be positioned at the current d
Virectory and it will beG`000 highlighted.  The arrow keys can be used to move 
Vfrom one subdirectory`000D`000 to another.  As you travel around you are "sett
Ving default" to thatF`000 directory.  To exit simply type X, E, CONTROL-Z or E
VNTER and you will.`000 return to VMS in the new directory location. `001`000 `
V000F`000 As you move around with the arrow keys notice that the RIGHT, UP and 
VI`000 DOWN arrows take you to the first directory available in that direction 
X`000J`000 and that the 
V`010`000`011`000`000`000LEFT arrow takes you to the parent of the current dire
Vctory.H`000 Typing B will take you to the bottom of the tree and typing T will
V take!`000 you to the top (root directory).`000`000`000I`000 Other commands ca
Vn be entered to create, rename and move subdirectories,`000G`000 as well as de
Vlete entire directory trees and get a hardcopy listing of`000H`000 the current
V directory structure.  To get help on these various commands,`000 enter the se
Vction of help called COMMANDS. `011`0002 Save_file`000H`000 Every time SWING d
Xisplays a directory tree it g
V`009`000`012`000`000`000ets its information fromG`000 either searching the dis
Vk or from a save file called SWING.SAV located`000H`000 in the main directory.
V  If SWING is going to be used on a regular basisF`000 it is advisable that th
Ve structure be saved in such a file.  The SAVEG`000 command will create a SWIN
VG.SAV file and from that point on SWING will`000G`000 attempt to keep that fil
Ve up-to-date.  Having the save file will speed`000E`000 up initialization so m
Vuch that it might be tempting to use SWING for`000$`000 "setting default" all 
Xof the time. `001`000 `000
V`010`000`013`000`000`000H`000 If the directory structure is changed in any way
V by SWING the save fileH`000 will be updated automatically, but if a change ha
Vs occurred without theA`000 use of SWING it will be necessary to do a manual S
VAVE on the new`000`016`000 directory tree.`001`000 `000E`000 NOTE: SWING does 
Vpurge the save files located in the main directory,`0009`000       provided th
Ve current process has enough privilege.`000`010`0002 CommandsB`000 Commands ca
Vn be entered by either hitting the first letter of theH`000 commands located o
Xn the menu at the top of the screen
V`010`000`014`000`000`000 or by hitting theG`000 CONTROL-P or DO keys and using
V the menu bar like a pulldown menu.  The`000G`000 pulldown menu is operated by
V using the arrow keys to go to a selection`000I`000 and then hitting the ENTER
V key to choose that item.  CONTROL-Z will exit`000I`000 the pulldown menu with
Vout making a choice. Although the pulldown menu is`000B`000 cute, hitting the 
Vfirst letter of the commands is by far a faster`009`000 method. `000`008`0003 
VCreateJ`000 CREATE prompts the user for the name of a new subdirectory to be c
Xreated.A`000 The display will be
V`009`000`015`000`000`000 updated and an actual directory is created. `000`008`
V0003 RenameJ`000 RENAME prompts for a new name to be given to the current dire
Vctory.  The D`000 display may change since the directories are in alphabetical
V order.`006`0003 MoveG`000 MOVE initiates the move operation by blinking the c
Vurrent subdirectory`000H`000 and then the user is asked to move to the a new p
Varent directory.  WhenI`000 either RETURN or ENTER is hit the move takes place
V.  Both the new parent`000H`000 and the directory being moved can have other s
Xubdirectories attached 
V`010`000`016`000`000`000toF`000 them as well.  While moving to the new parent 
Vdirectory the operationE`000 can be canceled by hitting any key besides the ar
Vrow keys, ENTER and`000`009`000 RETURN. `000`008`0003 DeleteH`000 DELETE cause
Vs the current directory and all subdirectories below it to F`000 be deleted au
Vtomatically.  The user is asked to enter YES before any C`000 delete operation
V takes place and the word YES must be spelled out `000I`000 completely.  The d
Veletion starts at the lowest subdirectory in the tree `000F`000 and works its 
Xway back to the current direc
V`010`000`017`000`000`000tory.  As files are being H`000 deleted from a subdire
Vctory that node will blink on the screen.  If theJ`000 subdirectory is success
Vfully deleted the node name will blank out, so you9`000 can watch the director
Vy tree being deleted graphically. `000`000`000F`000 IMPORTANT: IF A FILE DOES 
VNOT HAVE DELETE ACCESS FOR THE USER, SWING F`000            WILL ATTEMPT TO CH
VANGE THE PROTECTION ON IT SO THAT IT CANB`000            DELETE THE FILE (GIVE
VN THE PRIVILEGE OF THE USER ONLY)`000`000E`000 If a particular subdirectory or
X file still can't be
V`009`000`018`000`000`000 deleted then the`000E`000 deletion process will conti
Vnue anyway, leaving the protected files. `000-`000 A message will be given sta
Vting the problem.`000`007`0003 Print`000G`000 PRINT creates a file for printin
Vg that contains a hardcopy version of `000F`000 the directory structure.  One 
Vof two file types can be created.  The H`000 normal output is for any printer 
Vand the LQP input file is for running C`000 through the LQP utility on a laser
V printer for a clean line drawn `000I`000 representation of the directory tree
X.  The file is called SWING.L
V`012`000`019`000`000`000IS and `000,`000 it will be placed in the current dire
Vctory.`006`0003 SaveG`000 SAVE causes a new save file to be created in the mai
Vn directory.  The `000D`000 save file is for speeding up the initialization of
V SWING.  See the @`000 section called SAVE_FILE on the level of help above thi
Vs level.`007`0003 FILER`000F`000 This is the file-management portion of the SW
VING utility.  It can be C`000 used to delete, edit, move, print, or rename fil
Ves in the current `000`011`000 directory.`000`000`000B`000 Limitations: The fi
Xler can only handle 500 files.  If a directo
V`011`000`020`000`000`000ryB`000 contains more than 500 files, the first 500 ar
Ve displayed and the`024`000 rest are not available.`008`0003 OptionI`000 OPTIO
VN lists addition facilities available in SWING.  The desired option`000I`000 i
Vs selected by using the up- and down-arrows to position the cursor over`000!`0
V00 the option then pressing RETURN.`000`013`0004 DCL Command`000E`000 This opt
Vion allows the user to execute any DCL at the prompt.  SWING`000B`000 WILL NOT
V reflect changes made to the directory structure by theseE`000 commands.  This
X option is non-interactive and should 
V`011`000`021`000`000`000not be used for`000E`000 commands that do not return t
Vo the DCL prompt after completion.  The`000F`000 output is printed in the DCL 
VCommand window and reverse scrolling is `014`000 not possible.`000`000B`000 WA
VRNING: THIS OPTION IS PRONE TO RANDOM BUGS.  THE OUTPUT MAY NOTD`000 MATCH THE
V OUTPUT SEEN AT COMMAND LEVEL.  THIS OPTION MAY ALSO CAUSEC`000 SWING TO HANG.
V  THIS CAN BE OVERCOME WITH A CTRL-Y BUT THE SUBPRO-`000@`000 CESS 'SWING_DCL_
VPROC' MUST BE STOPPED FOR FURTHER USE OF SWING.`019`0004 Display Directory`000
XI`000 DISPLAY DIRECTORY causes an o
V`011`000`022`000`000`000ptional full directory specification to be `000I`000 d
Visplayed at the top of the screen.  The directory name will be modified`0006`0
V00 each time the user moves to a new directory location.`007`0004 FILER`000F`0
V00 This is the file-management portion of the SWING utility.  It can be C`000 
Vused to delete, edit, move, print, or rename files in the current `000`011`000
V directory.`000`000`000B`000 Limitations: The filer can only handle 500 files.
V  If a directoryB`000 contains more than 500 files, the first 500 are displaye
Xd and the`024`000 rest are not available.
V`009`000`023`000`000`000`010`0005 CommandsB`000 Commands can be entered by eit
Vher hitting the first letter of theD`000 commands located on the menu at the t
Vop of the screen or by hittingF`000 the control-P or DO keys and using the men
Vu bar like a pulldown menu.A`000 The pulldown menu is operated by using the ar
Vrow keys to go to a`000?`000 selection and then hitting the ENTER key to choos
Ve that item. `000@`000 Control-Z will exit the pulldown menu without making a 
Vchoice. D`000 Although the pulldown menu is cute, hitting the first letter of 
Xthe$`000 commands is
V`011`000`024`000`000`000 by far a faster method.`008`0006 DeleteD`000 DELETE c
Vauses the current file to be deleted.  The user is asked toC`000 enter YES bef
Vore any delete operation takes place and the word YES`000 `000 must be spelled
V out completely.`006`0006 EditC`000 EDIT invokes an editor with the current fi
Vle as input.  The editor`000B`000 invoked is that specified in the logical nam
Ve, SWING$EDIT.  SWINGA`000 looks for translations in the following tables, in 
Vthe following`000B`000 order: LNM$PROCESS, LNM$JOB and LNM$SYSTEM.  If this lo
Xgical nameE`000 is not define
V`010`000`025`000`000`000d, the default is TPU.  When the user exits the editor
V,`000C`000 control returns to the filer.  Any new files created by the editor`
V000'`000 will be displayed in the filer window.`000`006`0006 MoveE`000 MOVE al
Vlows the user to move the current file to another directory. `000?`000 The use
Vr is asked to move the cursor to the new host directory`000C`000 using the arr
Vow keys.  When either RETURN or ENTER is hit the file`000C`000 is moved.  The 
Voperation may be aborted at any time by hitting any`000.`000 key besides the a
Xrrow keys, RETURN, or ENTER.`007`0006 
V`011`000`026`000`000`000Print`000C`000 PRINT causes the current file to be sen
Vt to the printer defined by`000D`000 SWING$PRINT.  SWING looks for translation
Vs in the following tables,B`000 in the following order: LNM$PROCESS, LNM$JOB, 
Vand LNM$SYSTEM.  If9`000 this logical name is not defined, the default is $PRI
VNT.`000`008`0006 RenameB`000 RENAME prompts the user for a new name to be give
Vn to the current>`000 file.  The display will reflect the change and keep the 
Vfiles`030`000 listed in alphabetical order.`008`0006 OptionC`000 This command 
Xallows for expansion of the file
V`010`000`027`000`000`000r.  Available options`000A`000 are listed in the pulld
Vown menu and a selection is made by using`000D`000 the arrow keys to highlight
V the desired option then hitting RETURN.`013`0007 DCL Command`000>`000 This op
Vtion allows the user to execute any DCL at the prompt.<`000 SWING WILL NOT ref
Vlect changes made to the directory struc-<`000 ture by these commands.  This o
Vption is non-interactive and>`000 should not be used for commands that do not 
Vreturn to the DCL;`000 prompt after completion.  The output is printed in the 
XDCL`0006`000 Command windo
V`012`000`028`000`000`000w and reverse scrolling is not possible.`000`000>`000 
VWARNING: THIS OPTION IS PRONE TO RANDOM BUGS.  THE OUTPUT MAY=`000 NOT MATCH T
VHE OUTPUT SEEN AT COMMAND LEVEL.  THIS OPTION MAY`000>`000 ALSO CAUSE SWING TO
V HANG.  THIS CAN BE OVERCOME WITH A CTRL-Y8`000 BUT THE SUBPROCESS 'SWING_DCL_
VPROC' MUST BE STOPPED FOR`022`000 FURTHER USE OF SWING.`006`0006 QuitK`000 QUI
VT causes the filer to be stored and returns control to SWING.  The keys`000'`0
V00 Q, control-Z and ENTER quit the filer.`000`006`0003 ExitI`000 EXIT causes t
Xhe SWING to exit to the currently sele
`003`000`000`000`000`000cted subdirectory or `000;`000 directory.  The keys E,
V X, CONTROL-Z and ENTER exit SWING.`000`003`000w`000w`000`000`000`000`000`000`
V000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`00
V0`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`
V000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`00
V0`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`
V000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`00
V0`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`
V000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`00
V0`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`
V000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`00
V0`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`000`
X000`000`000`000`000`000`000`000`000`000`000`000`
$ GoSub Convert_File
$ Goto Part03
