From: MERC::"uunet!CRVAX.SRI.COM!RELAY-INFO-VAX" 29-OCT-1992 18:29:26.17 To: info-vax@kl.sri.com CC: Subj: C-Swing (New Version)! A new version to C-swing is being relased. The Patches to uppgrade from 3.6.2 to 3.6.3 will be posted to vmsnet.sources. If you like to have the new version it's on anonymous ftp at rigel.efd.lth.se (130.235.52.10) This information is from the readme file. C Swing is a file and directory management utility. New in v3.6.3: All of the following changes for v3.6.3 are from Foteos Macrides, who has done a great deal of work. Thanks! o Fixed more bugs in code for searching for directories under a 000000 directory if the device__000000_SWSVE.DAT file exists and the device__directory__SWSVE.DAT file doesn't. Made this behavior an option via a -0 or /0 qualifier. It can be made the default (i.e., regardless of whether -0 or /0 is entered on the command line) by defining ALWAYS_TRY_000000 in SWING.H. o Enhanced or debugged aspects of logical device name handling. However, earlier modifications to respect terminal and concealed device logicals have broken some of CSWING's capacity to deal with search lists, and it can't all be restored without a major rewrite. o Added code such that arguments or logicals which translate to SYS$SYSROOT:[directory] will cause SYS$SPECIFIC:[directory] and SYS$COMMON:[directory] trees to be displayed (SYS$SPECIFIC is not in the SYS$SYSROOT search list, so it must be treated as a special case). Optional defines (SPECIFIC_EXITS_TO_SYSROOT and COMMON_EXITS_TO_SYSROOT) in SWING.H enable setting the default device to SYS$SYSROOT on exit in SYS$SPECIFIC or SYS$COMMON if an original call was for SYS$SYSROOT. Added a -s or /s and a -c or /c qualifier to evoke this behavior if SPECIFIC_EXITS_TO_SYSROOT and COMMON_EXITS_TO_SYSROOT, respectively, are not defined in SWING.H. For all other search lists that can be handled, the default directory on exit is always that of the particular tree you were in at the time of exit. o Modified the command line (-h) help module to describe the -0, -s and -c qualifiers if they were not made defaults via logicals in SWING.H or by including them in the foreign command definition for CSWING. o Added capacity to handle relative directory specs (e.g., [.foo] or [-.-.foo]). An argument with such a spec is handled relative to the directory from which CSWING was called, regardless of its position in an argument list (e.g., the list SYS$MANAGER,[] will put up trees for SYS$SPECIFIC:[SYSMGR], SYS$COMMON:[SYSMGR], and your calling default, in that order). o Added pause and prompt features for displays of CSWING.HLB (like those when reading help libraries via DCL). The help page length is determined by the value of page_length, determined at startup of CSWING. o Modified swing_8.c and swing_38.c to enable calling MOST with a set of selected files, and thereby use MOST's windowing features for multiple files (and appropriately modified the quick help list in swing_22.c). Made numerous modifications/enhancements of MOST for maximum compatibility with CSWING, as described in the header of MOST's main.c. Most noteably, command keys are now the same as or homologous to those of CSWING wherever possible. MOST called from CSWING will read and use MOST_SWITCHES and MOST_EDITOR if defined, can spawn editors and will use that defined for CSWING if its own logical is not defined, and can spawn to DCL in a manner analogous to spawns from CSWING (or will respect the 'captive' restriction if set). Also modified main.c so that a standalone MOST can be built with the same code at that for CSWING. Added confirmation of intent to edit in swing_16.c and MOST (our users too often hit E with intent to exit, not edit). Provided a MOST.DOC_FM for this version of MOST (Note that the original copyright applies to it, and to any programs derived from it: You must freely distribute the source code.). There is also a new DCL_SWING.HLP file from Greg Orman which you may wish to include in the system-wide help library (SYS$HELP:HELPLIB.HLB). For those not familiar with C Swing, here's an excerpt from the readme file: SWING is a VAX/VMS utility for displaying the graphic representation of the VMS directory structure on any terminal that can support the SMG routines - that is primarily the VT100, VT200 and VT300 series of terminals. SWING is designed to make life easy for a user who frequently performs directory or file operations within his or her directories. SWING displays the top eight directory levels of the user's directory structure. If there are more than eight levels a diamond is displayed in the right-most column indicating that there are non-displayed directories. SWING has a two level help facility. Quick menus are available via the ? option. Standard VMS help is available via the H or HELP (LK201) option. The C language version of SWING was written by Simon Brown, and maintained by him through V3.2. It has been modified by many people, and is currently maintained primarily by Mats Akerberg and Harry Flowers (see end of file). Most of the documentation has been rewitten by Chris Butler. Although the online help is good, you should read the manual. The re-write was necessary as he did not have a Fortran compiler, and felt that C was a more appropriate language. Also, colleagues required major enhancements, so the software was started from scratch. The result that you see here consumed something in the region of 400 to 500 hours of spare time. The software has been placed back in the public domain. As always, we're interested in any bug reports/enhancement requests that you might have (not that we promise to fix/implement them ;-), but chances are much better if we know about them). -- Mats Akerberg, System Manager (mats@efd.lth.se),(MATS@SELDC52) on Earn/Bitnet Lund Institute of Technology ,School of Electrical Engineering and Computer Sciences. Snail: Box 118 S-221 00 Lund Sweden Phone: + 46 46-109847 FAX: + 46 46-104013