2BOOKMAN, Utilities, Processes DECW$BOOKSHELF Files BOOKMAN (version 1.0) -------EThis program allows one to peruse the DECW$BOOKSHELF file tree and toGbuild a list of DECW$BOOK files to be copied. There is also a .COM fileto do the copying. GI should add a disclaimer that I wrote this code to get the job done, IFmake no claims that it's anything more than sufficient for the purposeGand in particular if I were selling it I'd do several iterations on theMinterface (exactly which keystrokes are best, what to display on the screen)..I leave this as an exercise for the recipient!PThis software is supplied subject to the terms of the GNU General Public License0Version 2. See the file COPYING.TXT for details.Building the program--------------------LExecute the build procedure @BUILD from the directory with all the files in.It's written in (VAX) C.Using the program-----------------JThe present structure of the DEC CD doc set is that ALL the DECW$BOOKSHELFFfiles are on disc 1 (and duplicated on the other two disks, but that'sIirrelevant). If they ever stop doing this you'll have to start by copyingIall the shelf files off each CD into a common directory before you start.FAt present, all you have to do is mount CD #1 on (say) CDROM: and then"$ ASSIGN CDROM:[DECW$BOOK] SOURCE: $ RUN BOOKMAN8from a VT-something terminal or window. The commands areJcursor up/down select previous/next line. Selected line in reverse video.<CR or ENTER display the selected shelf (ie down a level)?Control/Z up a level; up from top level exits the programKKP. Mark selected file or shelf for copying. Shelf selection isK recursive. Selected files are marked with an asterisk.?KP0 Un-mark selected file or shelf (also recursive)KThere is code in the program to display the sizes of files. It is commentedLout because unless you have a very big scratch disk or as many CD-ROM drivesJas disks, you can't make all the book files accessible while you run this Nprogram. It also slowed the program down quite a bit, because seek on an RRD40 is so lousy.KWhen you exit it writes a file called BOOKLIST.DAT. This is a text file andGis fairly self-explanatory, you can edit it if you want, concatenate itMwith other similar files, etc. (Duplicate lines don't matter). It is input toLthe command procedure GETBOOKS.COM which you execute once for each CD in theLdoc set. It copies all files in BOOKLIST.DAT to a directory TARGET: (logicalGname). It doesn't copy if there is already an identical file in TARGET:5which is why duplicates in BOOKLIST.DAT don't matter. Wish-list ---------FHandle updates. Re-loading the symbol table from the last run is quiteHeasy. However, there's a lot of other things to think about and the lastHtime I updated VMS I found it was fairly trivial just to start over. YouOcan easily add new selections at present; it's evicting obsolete manuals that'snot so trivial. Better user interface? Nigel Arnot5 Dept. Physics, Kings College, London WC2R 2LS, UK.$ NRA@UK.AC.KCL.PH.IPG (big-endian) 27-AUG-1993