home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / larcos.zip / MANUAL.DOC < prev    next >
Text File  |  1995-03-03  |  229KB  |  6,491 lines

  1.             ╔═══════════════════════════════════════════════╗
  2.             ║                        ║
  3.             ║                        ║
  4.             ║                        ║
  5.             ║                        ║
  6.               █████                        ║
  7.     ╔═════════════█████═════════════════════════════════════════════╝
  8.     ║               ║
  9.     ║               ║
  10.     ║               ║    LARC USER'S GUIDE
  11.     ║               ║
  12.     ║               ║
  13.     ║               ║    Library Administration
  14.     ║               ║    and Release Control System
  15.     ║               ║    for DOS and OS/2
  16.     ║               ║
  17.     ║               ║
  18.     ║               ║
  19.     ║               ║
  20.     ║               ║
  21.     ║               ║
  22.     ║               ║
  23.     ║               ║
  24.     ║               ║
  25.     ║               ║
  26.     ╚═══════════════╝
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.     │
  45.     │ ║
  46.     │ ║ │
  47.     │ ║ │
  48.     │ ║ │
  49.     │ ║ │
  50.     │ ║ │    SouthWind Software Incorporated
  51.     │ ║ │    1738 Tahiti Lane
  52.     │ ║ │    Alabaster, Alabama 35007
  53.     │ ║ │
  54.     │ ║ │    Phone (205) 620-0827
  55.     │ ║ │    Fax   (205) 620-0871
  56.     │ ║ │
  57.     │ ║ └──────────────────────────────────────────────────
  58.     │ ╚═════════════════════════════════════════════════════════
  59.     └────────────────────────────────────────────────────────────────
  60.     LARC User's Guide                      Legal Stuff
  61.     ═════════════════════════════════════════════════════════════════
  62.  
  63.     The LARC System
  64.     ═══════════════
  65.         The software described in this manual is furnished under a
  66.     license agreement and may be used only in accordance with the
  67.     terms of the agreement.  See the file LICENSE.DOC for the
  68.     complete description of the license agreement.
  69.  
  70.  
  71.     Disclaimer
  72.     ══════════
  73.     This document contains the latest information available at the
  74.     time of publication.  However, SouthWind Software Incorporated
  75.     reserves the right to modify the software described herein at
  76.     any time, with or without published notification.
  77.  
  78.         SouthWind Software Incorporated offers no warranties, express
  79.     or implied, regarding the accuracy, sufficiency, suitability or
  80.     merchantability of the software or other materials delivered
  81.     herewith.  Customers have the sole responsibility for inspecting
  82.     and testing all aspects of the software described herein before
  83.     using it with important data.
  84.  
  85.  
  86.     Copyright Notice
  87.     ════════════════
  88.     Copyright (c) 1994-95 SouthWind Software Incorporated.
  89.     All Rights Reserved.
  90.  
  91.     No part of this publication may be reproduced, transmitted,
  92.     transcribed, stored in a retrieval system, or translated into
  93.     any other language or computer language in whole or in part,
  94.     in any form or by any means, whether it be electronic,
  95.     mechanical, magnetic, optical, manual or otherwise, without
  96.     prior written permission of SouthWind Software Incorporated,
  97.     1738 Tahiti Lane, Alabaster, Alabama  35007.
  98.  
  99.     Trademarks
  100.     ══════════
  101.     LARC is a trademark of SouthWind Software Incorporated.
  102.        
  103.     MS-DOS and Windows are trademarks of Microsoft Corporation.
  104.  
  105.         OS/2 is a trademark of International Business Machines,
  106.     Incorporated.
  107.  
  108.     Netware and Novell are registered trademarks of Novell, Inc.
  109.  
  110.     PKWARE and PKUNZIP are registered trademarks of PKWARE, Inc.
  111.  
  112.     All other product names mentioned in this document may be
  113.     trademarks or registered trademarks of their respective
  114.     companies and are hereby acknowledged.
  115.  
  116.  
  117.     ─────────────────────────────────────────────────────────────────
  118.                     1
  119.     ╔══════════════╗
  120.     ║              ║
  121.     ║ ╔════════════╩════════════════════════════════════════════════╗
  122.     ║ ║ Table of Contents                        ║
  123.     ║ ╚════════════╦════════════════════════════════════════════════╝
  124.     ║      ▄▄      ║
  125.     ║    ██  ██    ║
  126.     ║    ▀▀  ██    ║
  127.     ║       ██     ║
  128.     ║      ██      ║
  129.     ║      ▄▄      ║
  130.     ║              ║
  131.     ╚══════════════╝
  132.  
  133.     Chapter I - Introduction
  134.         Welcome to LARC  . . . . . . . . . . . . . . . . . .6
  135.         Documentation Layout . . . . . . . . . . . . . . . .6
  136.             Reading the READ.ME File . . . . . . . . . . . . . .7
  137.             Definitions. . . . . . . . . . . . . . . . . . . . .7
  138.             Conventions. . . . . . . . . . . . . . . . . . . . .8
  139.             Symbols. . . . . . . . . . . . . . . . . . .8
  140.             Type Styles. . . . . . . . . . . . . . . . .9
  141.             Technical Support. . . . . . . . . . . . . . . . . .9
  142.             Let Us Know What You Think . . . . . . . . . . . . 10
  143.  
  144.     Chapter 1 - What Is LARC?
  145.         What is Source Control?. . . . . . . . . . . . . . 11
  146.         What is LARC?. . . . . . . . . . . . . . . . . . . 12
  147.         Library Administration.... . . . . . . . . . . . . 13
  148.         ...and Release Control . . . . . . . . . . . . . . 15
  149.         What are Source Files? . . . . . . . . . . . . . . 15
  150.         What is Embedded Control Information?. . . . . . . 15
  151.         LARC Library Structure . . . . . . . . . . . . . . 16
  152.         Where To Begin . . . . . . . . . . . . . . . . . . 17
  153.  
  154.     Chapter 2 - Installing LARC
  155.         DOS System Requirements. . . . . . . . . . . . . . 19
  156.         OS/2 System Requirements . . . . . . . . . . . . . 19
  157.         To Install LARC . . . . . .. . . . . . . . . . . . 20
  158.         Modifying Your DOS System Startup Files. . . . . . 20
  159.         Modifying Your OS/2 System Startup Files . . . . . 21
  160.         LARC's Configuration File. . . . . . . . . . . . . 22
  161.         Multi-User Installation Requirements . . . . . . . 23
  162.  
  163.     Chapter 3 - System Security
  164.         Security Options . . . . . . . . . . . . . . . . . 25
  165.         User Initials and Passwords. . . . . . . . . . . . 25
  166.         Security Access Levels . . . . . . . . . . . . . . 26
  167.         The Security Screen. . . . . . . . . . . . . . . . 26
  168.         Exiting to the Operating System. . . . . . . . . . 27
  169.         Creating a List of Users . . . . . . . . . . . . . 27
  170.  
  171.     Chapter 4 - Library Maintenance
  172.         Library Structure. . . . . . . . . . . . . . . . . 29
  173.         Library Maintenance. . . . . . . . . . . . . . . . 30
  174.         Add a Library. . . . . . . . . . . . . . . . . . . 32
  175.         Modify a Library . . . . . . . . . . . . . . . . . 32
  176.     ─────────────────────────────────────────────────────────────────
  177.                     2
  178.     LARC User's Guide                Table of Contents
  179.     ═════════════════════════════════════════════════════════════════
  180.  
  181.         Delete an Obsolete Library . . . . . . . . . . . . 32
  182.         Show All Libraries . . . . . . . . . . . . . . . . 33
  183.         Print All Libraries. . . . . . . . . . . . . . . . 33
  184.         Compressed Libraries . . . . . . . . . . . . . . . 33
  185.         Installation Files . . . . . . . . . . . . . . . . 34
  186.         Revised Files. . . . . . . . . . . . . . . . . . . 35
  187.  
  188.     Chapter 5 - Extension Maintenance
  189.         File Control Information . . . . . . . . . . . . . 36
  190.         Extension Maintenance. . . . . . . . . . . . . . . 39
  191.         Add an Extension . . . . . . . . . . . . . . . . . 40
  192.         Modify an Extension. . . . . . . . . . . . . . . . 40
  193.         Delete an Obsolete Extension . . . . . . . . . . . 41
  194.         Show All Extensions. . . . . . . . . . . . . . . . 41
  195.         Print All Extensions . . . . . . . . . . . . . . . 41
  196.  
  197.     Chapter 6 - User Maintenance
  198.         User Maintenance . . . . . . . . . . . . . . . . . 42
  199.         Add an User. . . . . . . . . . . . . . . . . . . . 43
  200.         Modify a User. . . . . . . . . . . . . . . . . . . 43
  201.         Delete an Obsolete User. . . . . . . . . . . . . . 43
  202.         Show All Users . . . . . . . . . . . . . . . . . . 44
  203.         Print All Users. . . . . . . . . . . . . . . . . . 44
  204.  
  205.     Chapter 7 - LARC Configuring File
  206.         The LARC Configuration File. . . . . . . . . . . . 45
  207.             SET SYSTEM NAME. . . . . . . . . . . . . . 45
  208.             SET SYSTEM EXECUTABLES . . . . . . . . . . 45
  209.             SET SYSTEM DATAFILES . . . . . . . . . . . 45
  210.             SET SYSTEM TIMEOUT . . . . . . . . . . . . 46
  211.             SET SYSTEM LOGON . . . . . . . . . . . . . 46
  212.             SET SYSTEM DISPLAY . . . . . . . . . . . . 47
  213.             SET SYSTEM PATHTOUSE . . . . . . . . . . . 47
  214.             SET COLOR. . . . . . . . . . . . . . . . . 47
  215.             SET PRINTER ACTIVE . . . . . . . . . . . . 48
  216.             SET PRINTER LINESPAGE. . . . . . . . . . . 48
  217.             SET PRINTER INITIALIZE . . . . . . . . . . 48
  218.             SET PRINTER CONDENSE . . . . . . . . . . . 48
  219.             SET PRINTER NORMAL . . . . . . . . . . . . 48
  220.             SET PRINTER DONE . . . . . . . . . . . . . 48
  221.             SET FLOPPY 360KB . . . . . . . . . . . . . 49
  222.             SET FLOPPY 1.2MB . . . . . . . . . . . . . 49
  223.             SET FLOPPY 720KB . . . . . . . . . . . . . 49
  224.             SET FLOPPY 1.44MB. . . . . . . . . . . . . 49
  225.         Starting LARC. . . . . . . . . . . . . . . . . . . 49
  226.         Starting LARC From Microsoft Windows . . . . . . . 50
  227.         Network Environments . . . . . . . . . . . . . . . 50
  228.  
  229.     Chapter 8 - Command Files
  230.         Command File Descriptions. . . . . . . . . . . . . 52
  231.         How Do the Command Files Work Together?. . . . . . 53
  232.         LARCBLDn.BAT or LARCBLDn.CMD . . . . . . . . . . . 54
  233.         BUILDFIN.CTL . . . . . . . . . . . . . . . . . . . 59
  234.         LARCARC.BAT or LARCARC.CMD . . . . . . . . . . . . 59
  235.     ─────────────────────────────────────────────────────────────────
  236.                     3
  237.     LARC User's Guide                Table of Contents
  238.     ═════════════════════════════════════════════════════════════════
  239.  
  240.         LARCRELn.CUT Parameter Files . . . . . . . . . . . 60
  241.             Comments . . . . . . . . . . . . . . . . . 61
  242.             Installation Defaults Command. . . . . . . 61
  243.             System Name Command. . . . . . . . . . . . 62
  244.             File Copy Command. . . . . . . . . . . . . 62
  245.             Change Directory Command . . . . . . . . . 64
  246.             File Delete Command. . . . . . . . . . . . 64
  247.             Execute Command. . . . . . . . . . . . . . 64
  248.             Make Directory Command . . . . . . . . . . 65
  249.             Remove Directory Command . . . . . . . . . 65
  250.             Unzip Command. . . . . . . . . . . . . . . 65
  251.             Verify File Command. . . . . . . . . . . . 66
  252.             Directory Subsitution Characters . . . . . 66
  253.             Example CUT File . . . . . . . . . . . . . 66
  254.         LARCBUP.BAT or LARCBUP.CMD . . . . . . . . . . . . 69
  255.         DISKnn.CTL . . . . . . . . . . . . . . . . . . . . 69
  256.         LARCBACK.BAT or LARCBACK.CMD . . . . . . . . . . . 69
  257.         LARCFORM.BAT or LARCFORM.CMD . . . . . . . . . . . 70
  258.         LARCSERL.BAT or LARCSERL.CMD . . . . . . . . . . . 70
  259.  
  260.     Chapter 9 - The Menus
  261.         The Main Menu. . . . . . . . . . . . . . . . . . . 71
  262.         The System Maintenance Menu. . . . . . . . . . . . 71
  263.         Recognized Keystrokes. . . . . . . . . . . . . . . 71
  264.         Selecting a Library. . . . . . . . . . . . . . . . 74
  265.  
  266.     Chapter 10 - File Functions
  267.         The Function Selection Menu. . . . . . . . . . . . 75
  268.         Selecting a Library. . . . . . . . . . . . . . . . 77
  269.         Check Out a File . . . . . . . . . . . . . . . . . 77
  270.         Check In a File. . . . . . . . . . . . . . . . . . 77
  271.         Add a New File . . . . . . . . . . . . . . . . . . 78
  272.         Copy a File. . . . . . . . . . . . . . . . . . . . 78
  273.         Cancel a Check Out . . . . . . . . . . . . . . . . 78
  274.         Delete a File. . . . . . . . . . . . . . . . . . . 78
  275.         Get All Files. . . . . . . . . . . . . . . . . . . 79
  276.  
  277.     Chapter 11 - Display Functions
  278.         Display Menu . . . . . . . . . . . . . . . . . . . 80
  279.         Library Contents . . . . . . . . . . . . . . . . . 81
  280.         Source File. . . . . . . . . . . . . . . . . . . . 81
  281.         My Checked Out Files . . . . . . . . . . . . . . . 81
  282.         Checked Out Files. . . . . . . . . . . . . . . . . 81
  283.         Release History. . . . . . . . . . . . . . . . . . 82
  284.         Revised Files. . . . . . . . . . . . . . . . . . . 82
  285.         Activity Log File. . . . . . . . . . . . . . . . . 82
  286.  
  287.     Chapter 12 - Print Functions
  288.         Print Menu . . . . . . . . . . . . . . . . . . . . 83
  289.         Library Contents . . . . . . . . . . . . . . . . . 83
  290.         Source File. . . . . . . . . . . . . . . . . . . . 84
  291.         My Checked Out Files . . . . . . . . . . . . . . . 84
  292.         Checked Out Files. . . . . . . . . . . . . . . . . 85
  293.         Release History. . . . . . . . . . . . . . . . . . 85
  294.     ─────────────────────────────────────────────────────────────────
  295.                     4
  296.     LARC User's Guide                Table of Contents
  297.     ═════════════════════════════════════════════════════════════════
  298.  
  299.         Revised Files. . . . . . . . . . . . . . . . . . . 86
  300.         Activity Log File. . . . . . . . . . . . . . . . . 87
  301.  
  302.     Chapter 13 - Release Generation Functions
  303.         Release Menu . . . . . . . . . . . . . . . . . . . 88
  304.         Creating a Diskette Release. . . . . . . . . . . . 88
  305.         Creating a hard drive Release. . . . . . . . . . . 89
  306.         Release Build. . . . . . . . . . . . . . . . . . . 90
  307.         Backup Library Source Files. . . . . . . . . . . . 90
  308.         Purge Test Release Identifiers . . . . . . . . . . 90
  309.         Execute Serialization Commands . . . . . . . . . . 91
  310.  
  311.     Chapter 14 - Maintenance Functions
  312.         Submit a System Command. . . . . . . . . . . . . . 92
  313.         Backup the Entire System . . . . . . . . . . . . . 92
  314.         Format System Backup Media . . . . . . . . . . . . 92
  315.         Library Maintenance. . . . . . . . . . . . . . . . 93
  316.         Extension Maintenance. . . . . . . . . . . . . . . 93
  317.         User Maintenance . . . . . . . . . . . . . . . . . 93
  318.  
  319.     Chapter 15 - Quitting LARC
  320.         Quitting LARC. . . . . . . . . . . . . . . . . . . 94
  321.  
  322.     Chapter 16 - Utilities
  323.         LDIR - Library Directory Utility . . . . . . . . . 95
  324.         GETLARC - File Information Extraction Utility. . . 96
  325.         INSTALL - LARC Installation Program. . . . . . . . 97
  326.             Disk Number and Version Record . . . . . . 98
  327.             Defaults Record. . . . . . . . . . . . . . 98
  328.             System Name Record . . . . . . . . . . . . 99
  329.             Copy a File. . . . . . . . . . . . . . . . 99
  330.             Change to a Different Directory. . . . . . 99
  331.             Delete a File. . . . . . . . . . . . . . .100
  332.             Execute a Command. . . . . . . . . . . . .100
  333.             Make a Directory . . . . . . . . . . . . .100
  334.             Remove a Directory . . . . . . . . . . . .100
  335.             Unzip a Compressed File. . . . . . . . . .101
  336.             Verify a File Exists.. . . . . . . . . . .101
  337.             End of the Current Diskette. . . . . . . .101
  338.             End of All Diskettes . . . . . . . . . . .102
  339.             Special Directory Replacement Characters .102
  340.             Error Handling . . . . . . . . . . . . . .102
  341.             Example DISKnn.CTL File. . . . . . . . . .103
  342.         KCOPY - Ken's File Copy Program. . . . . . . . . .104
  343.         KDEL - Ken's File Delete Program . . . . . . . . .105
  344.         KFREE - Ken's Free Space Program . . . . . . . . .106
  345.         KVERENV - Ken's Verify Environment Program . . . .107
  346.         KDIR - Ken's Directory Program . . . . . . . . . .108
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.     ─────────────────────────────────────────────────────────────────
  354.                     5
  355.     ╔══════════════╗
  356.     ║              ║
  357.     ║ ╔════════════╩════════════════════════════════════════════════╗
  358.     ║ ║ Chapter                            ║
  359.     ║ ╚════════════╦════════════════════════════════════════════════╝
  360.     ║              ║
  361.     ║    ██████    ║  Introduction
  362.     ║      ██      ║
  363.     ║      ██      ║  This chapter provides a brief introduction to
  364.     ║      ██      ║  LARC and provides the manual structure, some
  365.     ║    ██████    ║  basic definitions and information of obtaining
  366.     ║              ║  support for LARC.
  367.     ╚══════════════╝
  368.  
  369.  
  370.         Welcome To LARC
  371.     ═══════════════
  372.         Welcome to the Library Administration and Release Control system,
  373.     referred to as LARC.
  374.  
  375.         This manual provides the essential information needed to install
  376.     and use LARC to control source files.  Use this manual to acquaint
  377.     yourself with LARC and its straight-forward method of managing
  378.     source files and producing software product releases.
  379.  
  380.  
  381.     Documentation Layout
  382.     ════════════════════
  383.     Chapter 1: What is LARC? - Provides a brief definition of source
  384.     control and the LARC approach to the problem.
  385.  
  386.     Chapter 2: Installing LARC - Provides information required to
  387.     install and execute LARC on your system.
  388.  
  389.     Chapter 3: System Security - Provides a description of the user
  390.     security features provided by LARC.
  391.  
  392.     Chapter 4: Library Maintenance - Provides information on how to
  393.     create the libraries to be controlled by LARC.
  394.  
  395.     Chapter 5: Extension Maintenance - Provides information on how
  396.     to set up the list of files which LARC will search for embedded
  397.     control information.
  398.  
  399.     Chapter 6: User List Maintenance - Provides information on how to
  400.     set up the list of LARC users.
  401.  
  402.     Chapter 7: LARC Configuring File - Provides information on how to
  403.     set up LARC's configuration file.
  404.  
  405.     Chapter 8: Command Files - Provides information on the system
  406.     command and parameter files that LARC uses to manage your source
  407.     files and build your product release.
  408.  
  409.     Chapter 9: The Menus - Provides information on the LARC menu
  410.     structure.
  411.  
  412.     ─────────────────────────────────────────────────────────────────
  413.                     6
  414.     LARC User's Guide                     Introduction
  415.     ═════════════════════════════════════════════════════════════════
  416.  
  417.     Chapter 10: File Functions - Provides information on moving files
  418.     to and from LARC libraries.
  419.  
  420.     Chapter 11: Display Functions - Provides information on the
  421.     information that can be displayed to the screen.
  422.  
  423.     Chapter 12: Print Functions - Provides information on the
  424.     information that can be sent to the printer.
  425.  
  426.     Chapter 13: Release Generation Functions - Provides information
  427.     for using LARC to build product releases and create release
  428.     diskettes.
  429.  
  430.     Chapter 14: Maintenance Functions - Provides information for
  431.     using the LARC system maintenance functions.
  432.  
  433.     Chapter 15: Quitting LARC - Provides information on exiting LARC
  434.     and returning to the operating system prompt.
  435.  
  436.     Chapter 16: Utilities - Describes the utility programs that are
  437.     provided to support your LARC configuration.
  438.  
  439.  
  440.     Reading the READ.ME File
  441.     ════════════════════════
  442.         If present, the READ.ME file will contain last minute
  443.     information on the LARC system files, or corrections to this
  444.     manual.  Please    print and read the file before continuing.
  445.  
  446.  
  447.     Definitions
  448.     ═══════════
  449.         The LARC User's Guide uses the following definitions:
  450.  
  451.     build            The process of producing a releasable
  452.                 software product from a collection of
  453.                 source and data files.  This includes
  454.                 (but in no was is not limited to)
  455.                 compiling, linking, and compressing the
  456.                 executable files that make up a software
  457.                 product.
  458.     
  459.     cut            The process of copying the software
  460.                 product files from a release directory to
  461.                 a specific diskette or directory.  In
  462.                 other words, "cutting" a set of release
  463.                 diskettes that may be distributed to the
  464.                 end-user for installation and use.
  465.     
  466.     drive            The letter designating a hard drive or
  467.                 diskette drive.
  468.     
  469.  
  470.  
  471.     ─────────────────────────────────────────────────────────────────
  472.                     7
  473.     LARC User's Guide                     Introduction
  474.     ═════════════════════════════════════════════════════════════════
  475.  
  476.     extension        One to three characters that comprise the
  477.                 filename extension which is the portion
  478.                 of the file name that follows the period
  479.                 (.).
  480.     
  481.     library            This term is used to indicate a group of
  482.                 source and release files that are being
  483.                 managed by LARC.
  484.     
  485.     library name        A 1 to 50 character descriptive name
  486.                 associated with a library.
  487.     
  488.     path            The drive letter and directory name.
  489.     
  490.     filename        A file name, comprised of a one to eight
  491.                 character file name, followed by a period
  492.                 (.), followed by an optional 1 to three
  493.                 character file extension.  Only valid
  494.                 DOS style "8.3" filename formats and
  495.                 characters are recognized.
  496.     
  497.     parameter        Additional command line information.  The
  498.                 format and use of parameters will be
  499.                 described when referenced.
  500.     
  501.     release            The outcome of a product build process.
  502.                 Releases are typically comprised of the
  503.                 executable programs and data files which
  504.                 constitute a releasable software product.
  505.     
  506.     release directory    From one to five directories that have
  507.                 been set reserved for use by LARC for
  508.                 each library to be used when building a
  509.                 release of the source contained in the
  510.                 library.  A release directory will contain
  511.                 the executable programs and data files
  512.                 which result from a product build.
  513.     
  514.     /switch            A command line control option.  When used,
  515.                 the definition and contents of the switch
  516.                 will be defined.
  517.  
  518.     Conventions
  519.     ═══════════
  520.         The following conventions have been used to help you find and
  521.     better understand the information presented in this guide.
  522.     
  523.     Symbol        Meaning
  524.     ──────        ─────────────────────────────────────────────────
  525.         o        Indicates a "bullet" point list of features,
  526.             recommendations or ideas.
  527.     
  528.     <Esc>        The escape key, which is typically marked with
  529.             the letters "Esc" on most PC keyboards.
  530.     ─────────────────────────────────────────────────────────────────
  531.                     8
  532.     LARC User's Guide                     Introduction
  533.     ═════════════════════════════════════════════════════════════════
  534.  
  535.     <Fn>        One of the functions keys F1 through F10 (or F1
  536.             through F12 on enhanced keyboards).  These keys
  537.             are typically marked with the letter F followed
  538.             by the function key number (i.e. F1, F2, etc.).
  539.     
  540.         <Enter>        The return, or enter key, which is typically
  541.             marked with the word "Enter" and a left arrow.
  542.             A second key marked "Enter" is also provided on
  543.             most keyboards on the numeric keypad portion of
  544.             the keyboard.
  545.  
  546.     <Ins>        The insert key, which is typically marked with
  547.             the letters "Ins" or "Insert" on most PC keyboards.
  548.     
  549.     <Del>        The delete key, which is typically marked with
  550.             the letters "Del" or "Delete" on most PC keyboards.
  551.     
  552.     <x>        Used to denote a key to be pressed.  When used in
  553.             the manual, "x" will be replaced with the specific
  554.             key letter.
  555.     
  556.     
  557.     Type Style    Meaning
  558.     ──────────    ─────────────────────────────────────────────────
  559.     ALL CAPS    Indicates text entered as shown, such as a drive
  560.             letter or path name.
  561.     
  562.     lowercase    Indicates parameters that you replace with actual
  563.             information specific to your configuration or set
  564.             up.
  565.     
  566.         []        Indicates optional parameter or switch information.
  567.     
  568.     ...        Indicates that you may repeat the operation or step.
  569.     
  570.     space        Indicates a single space character.
  571.  
  572.  
  573.     Technical Support
  574.     ═════════════════
  575.         Limited technical support is provided for non-licensed LARC
  576.     users.  Licensed LARC users are provided immediate response on
  577.     any support issue encountered, as well as many other benefits.
  578.     Please refer to the ORDER.FRM file for more information on
  579.     licensing LARC.
  580.  
  581.     The following support options are provided:
  582.  
  583.       1.  You may receive support through CompuServe E-MAIL.  Send
  584.           your questions to SouthWind Software at 71033,3521.
  585.           Licensed users will receive a response within 24 hours.
  586.  
  587.  
  588.  
  589.     ─────────────────────────────────────────────────────────────────
  590.                     9
  591.     LARC User's Guide                     Introduction
  592.     ═════════════════════════════════════════════════════════════════
  593.  
  594.           2.  You may FAX your support questions or comments to
  595.           SouthWind Software Incorporated at 1-205-620-0871.
  596.           Licensed users will receive a response within 24.
  597.  
  598.       3.  You may mail your support questions or comment to:
  599.  
  600.         SouthWind Software Incorporated
  601.         Attn: LARC Product Support
  602.         1738 Tahiti Lane
  603.         Alabaster, AL  35007
  604.  
  605.  
  606.     When contacting us in any of the above methods, please be
  607.     prepared to provide as much information about the problem as
  608.     possible.  Include the LARC version number and as much
  609.     information concerning your system configuration as you can
  610.     obtain.  Include the command(s) you have tried to use, the
  611.     results and a complete descriprion of the problem.
  612.  
  613.     When faxing a problem, please include a listing of the following
  614.     files:
  615.  
  616.          AUTOEXEC.BAT     CONFIG.SYS     LARC.BAT     LARC.CFG
  617.  
  618.     Licensed users receive immediate attention.  When you license
  619.     LARC, you will be provided a unique Customer Identification
  620.     Number (CIN).  Record your CIN in the space provided below and
  621.     be sure to include this number when requesting support or
  622.     assistance with a problem.
  623.  
  624.         ┌───────────────────────────────────────┐
  625.         │                    │
  626.         │                    │
  627.         └───────────────────────────────────────┘
  628.              Customer Identification Number
  629.  
  630.     Failure to provide the CIN may result in delays receiving support.
  631.  
  632.  
  633.     Let Us Know What You Think
  634.     ══════════════════════════
  635.         LARC was designed to make your life easier.  Due to the diversity
  636.     of operating environments, it's possible that you may encounter
  637.     situations where LARC could be improved.  We want to hear any
  638.     suggestions you have for making LARC easier to use.  Send or FAX
  639.     your suggestions to:
  640.     
  641.         SouthWind Software Incorporated
  642.         Attn: LARC Product Suggestions
  643.         1738 Tahiti Lane
  644.         Alabaster, AL  35007
  645.         FAX: 1-205-620-0871
  646.  
  647.  
  648.     ─────────────────────────────────────────────────────────────────
  649.                     10
  650.     ╔══════════════╗
  651.     ║              ║
  652.     ║ ╔════════════╩════════════════════════════════════════════════╗
  653.     ║ ║ Chapter 1                            ║
  654.     ║ ╚════════════╦════════════════════════════════════════════════╝
  655.     ║              ║
  656.     ║     ███      ║  What is LARC?
  657.     ║      ██      ║
  658.     ║      ██      ║  This chapter will discuss source control and
  659.     ║      ██      ║  the specific approach taken by LARC to assist
  660.     ║    ██████    ║  you with the management OF your source files.
  661.     ║              ║
  662.     ╚══════════════╝
  663.  
  664.  
  665.     What is Source Control?
  666.     ═══════════════════════
  667.     Managing source files is not an easy job.  It seems simple when
  668.     you have only one or two people working with the files, but add
  669.     more people and in no time at all the job becomes full time.
  670.     Just keeping track of who has what file can be overwhelming.
  671.     Then add the task of producing a release from the various
  672.     collections of sources which are now being produced by several
  673.     people (all of whom seem to keep their files in different
  674.     locations or formats), and you quickly reach the conclusion that
  675.     you need a full time person to act as your software librarian.
  676.  
  677.     Many companies elect to tackle their source control problems by
  678.     hiring someone to be their software librarian.  This person is
  679.     told to oversee which developer has which set of sources and to
  680.     ensure that the latest versions are included in the product when
  681.     it is built.
  682.  
  683.     The problems with a human librarian are obvious, once you realize
  684.     there is a problem.  First, all of the control methodology exists
  685.     with a person which could leave your company at any time, taking
  686.     with them all of your control and release standards.  Next, since
  687.     you rely heavily on a person, you are vulnerable to an irate
  688.     employee corrupting your files.  Also, no one else can easily
  689.     access the sources or build a release if the librarian is either
  690.     sick or away on vacation.
  691.  
  692.     Another method employed by some companies is the use of a central
  693.     depository of sources, typically on a network server, with some
  694.     form of manual check in and check out process.  These manually
  695.     driven control procedures rely heavily on the premise that
  696.     everyone will follow the procedures exactly.  The manual control
  697.     procedures also usually rely on a single individual who is in
  698.     charge of producing the product builds.  Manually driven control
  699.     procedures are both time consuming and extremely error prone.
  700.  
  701.     The worst method, and sadly the one employed by most companies,
  702.     is no source control procedure at all.  The people in charge of
  703.     developing software product releases in this company typically
  704.     argue that a structured release control procedure is not needed
  705.  
  706.  
  707.     ─────────────────────────────────────────────────────────────────
  708.                     11
  709.     LARC User's Guide            Chapter 1 - What is LARC?
  710.     ═════════════════════════════════════════════════════════════════
  711.  
  712.     because they have never encountered a problem which they believed
  713.     was caused by the lack of software control.  Too often the
  714.     problems are hidden by programmers that do not want to admit
  715.     that they made a mistake.  Regrettably, it usually takes a
  716.     serious and sometimes fatal software release failure to enlighten
  717.     them as to the magnitude of their problem.
  718.  
  719.     Since you are reading this guide, it is safe to assume that you
  720.     have become aware of your needs to control your sources or that
  721.     you are at least evaluating the various options available to you.
  722.     We are pleased that you are taking steps to control your software.
  723.     We sincerely hope that you see this project through to completion
  724.     and that you initiate some form of source control, be it LARC or
  725.     some other package.
  726.  
  727.     We do have one recommendation to make before you proceed.  You
  728.     should ensure that your entire company is 100% behind your efforts
  729.     to control your software and product releases.  On numerous
  730.     occasions we have witnessed development groups attempt to place
  731.     their software under a control procedure only to have someone at
  732.     the top request that the procedure be violated "just this once".
  733.     We have also seen that once a precedence is set of violating a
  734.     procedure, the procedure will be violated again and again, until
  735.     you find no one using the procedure at all.  We believe LARC is
  736.     so simple to use that you are not likely to be put in the
  737.     position of violating LARC's control procedures.  Even though
  738.     LARC is easily used, you are still urged to get a strong
  739.     corporate policy statement on software control procedures before
  740.     proceeding with your plans.  In the long run, this will it much
  741.     easier to implement your new source control tool.
  742.  
  743.  
  744.     What is LARC?
  745.     ═════════════
  746.     So, what is LARC and, more importantly, how does LARC define
  747.     source control?  Well, LARC's definition of source control is
  748.     that it is simply the process of replacing nonexistent, or
  749.     manual, control procedures with a simple and easy to use
  750.     "electronic librarian".  As your librarian, LARC helps reduce
  751.     human error without over burdening the development group with
  752.     an awkward or difficult to understand control procedure.
  753.  
  754.     LARC is a DOS or OS/2 character mode application which wraps an
  755.     easy to use menu around your source files and provides an
  756.     automated process for generating your software releases.  The
  757.     DOS version of LARC can be installed and used in a wide variety
  758.     of operating environments, including Windows, virtual DOS "boxes"
  759.     under OS/2 and Windows NT, or any other environment which
  760.     supports DOS applications.  The OS/2 version of LARC is a
  761.     character-mode, full OS/2 program.  You install and run the OS/2
  762.     version in either a full or windowed OS/2 screen.
  763.  
  764.     LARC is not a tool that will get in your way.  Here are some of
  765.     the things that LARC will not do to you:
  766.     ─────────────────────────────────────────────────────────────────
  767.                     12
  768.     LARC User's Guide            Chapter 1 - What is LARC?
  769.     ═════════════════════════════════════════════════════════════════
  770.  
  771.       o  LARC does not modify your source files in any way. Files
  772.          are maintained just the way you create or edit them.
  773.  
  774.       o  LARC does not use delta compression techniques used by some
  775.          source control systems. Your source files remain intact so
  776.          you do not have to worry about your system hard drive
  777.          crashing, and suddenly being stuck with a bunch of "delta"
  778.          files that you can't work with.  Since LARC keeps your
  779.          files in their original format, you will find it easier to
  780.          access your sources in such cases.
  781.  
  782.       o  LARC does not automatically adjust the file version during
  783.          check in of files.  You remain in control of which files
  784.          changed and which did not.
  785.  
  786.       o  LARC does not create its own directory structure to hide
  787.          your sources from you.  LARC uses standard DOS directories
  788.          for storing your files.
  789.  
  790.       o  LARC does not rely on the date of your system for the
  791.          revision identifier.  You will not have to worry about
  792.          someone changing the system date and then having the
  793.          "control" of your files corrupted.
  794.  
  795.     LARC is designed to be a simple-to-use tool that helps you manage
  796.     your sources.  LARC is also designed to be easily removed from
  797.     your system in the case of a catastrophic system failure, virus
  798.     or other ailments that require manual recovery of your system
  799.     hard drive.  Since LARC uses standard DOS directories for its
  800.     libraries, and since LARC maintains your files as standard DOS
  801.     files, you can easily access your files from DOS if ever
  802.     necessary.
  803.  
  804.  
  805.     Library Administration...
  806.     ═════════════════════════
  807.     The process of managing source files is very much like the
  808.     process of managing a library of books.  If you go to the library
  809.     to check out a particular book, it is only possible to do if no
  810.     one else has the book checked out.  The comparison of source
  811.     control with the process of managing a library full of books is
  812.     why many companies first attempt to solve their source control
  813.     problems by actually hiring a human librarian.  It seems the
  814.     logical thing to do.
  815.  
  816.     As the electronic librarian for your source files, LARC ensures
  817.     that only one person at a time has a particular file checked out
  818.     of a library.  LARC ensures that changes to the file can not be
  819.     made by more than one person at a time, which eliminates lost
  820.     changes caused when two or more people are making changes to the
  821.     same file at the same time.  Since there is no human involved,
  822.     LARC can be made available around the clock to match the
  823.     preference of your programmers.
  824.  
  825.     ─────────────────────────────────────────────────────────────────
  826.                     13
  827.     LARC User's Guide            Chapter 1 - What is LARC?
  828.     ═════════════════════════════════════════════════════════════════
  829.  
  830.     If you are a product manager or lead programmer in charge of a
  831.     product, LARC creates various reports that help you track what's
  832.     happening to your product.  Reports can be generated showing the
  833.     number of files that have been checked out during the current
  834.     development effort.  You can print a report listing all of the
  835.     releases that have been created for a product.  And, you can
  836.     report on how many files are presently check out of a library.
  837.     How many times have you started to build a release of your product
  838.     only to learn half way through the build process that someone
  839.     failed to give you the most current files?  LARC tells you if any
  840.     files are checked out of the library before it begins building
  841.     your product.
  842.  
  843.     LARC was originally created with software developers in mind.
  844.     However, LARC is well suited for anyone needing to control files.
  845.     Examples of others who may find LARC useful include:
  846.  
  847.     Technical Writers    who typically maintain large numbers of
  848.                 files associated with specifications,
  849.                 technical references, user guides or
  850.                 marketing material.  LARC allows the
  851.                 technical writer to easily locate the
  852.                 latest copy of a particular manual.
  853.  
  854.     Secretaries        with numerous letters, memorandum,
  855.                 company policies and procedures and other
  856.                 documents produced during the year, can
  857.                 use LARC to maintain an easy to access
  858.                 library of their documents.
  859.  
  860.     Network Administrators    must maintain an increasingly overwhelming
  861.                 number of files required to properly setup
  862.                 the unique configurations required by
  863.                 their users.  LARC could be used to create
  864.                 libraries of user configuration files,
  865.                 driver releases, network sign-on scripts
  866.                 and any number of other items required to
  867.                 properly maintain network users.
  868.  
  869.     Customer Support    must maintain any number of files relating
  870.                 to the configuration of a customer.  LARC
  871.                 could be used to create libraries of
  872.                 customer specific files and assist the
  873.                 support specialist in maintaining the
  874.                 often overlooked area of customer files.
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.     ─────────────────────────────────────────────────────────────────
  885.                     14
  886.     LARC User's Guide            Chapter 1 - What is LARC?
  887.     ═════════════════════════════════════════════════════════════════
  888.  
  889.     ...and Release Control
  890.     ══════════════════════
  891.     The process of creating releases from a set of controlled files
  892.     is often overlooked.  However, it is a vital step in the process
  893.     of creating a product release.  If you create a release which
  894.     contains incorrect files, then all of your efforts at controlling
  895.     your sources were of little or no use.  The recipient of the
  896.     release will assume the worst about your control standards and
  897.     your quality assurance image is likely to suffer a severe blow.
  898.  
  899.     LARC considers the task of creating releases equally as important
  900.     as controlling the files that constitute the release.  You define
  901.     the steps necessary to build the release, and LARC will ensure
  902.     that those steps are properly repeated every time you build the
  903.     product or every time you create a set of release diskettes.
  904.  
  905.  
  906.     What are Source Files?
  907.     ══════════════════════
  908.     The term "source" usually refers to an ASCII file that contains
  909.     commands for some sort of language compiler.  LARC refers to a
  910.     source file as any file that you need to manage that is a part
  911.     of your software product. Examples of source files are:
  912.  
  913.       o  ASCII text files such as compiler source files, command
  914.          files or text files.
  915.  
  916.       o  Binary files such as object modules to be linked into a
  917.          product, executable program files or data files.
  918.  
  919.       o  Word processing output files such as those produced by
  920.          WordPerfect and Microsoft Word.
  921.  
  922.       o  Any other files that are required to make and release
  923.          your product.
  924.  
  925.  
  926.     What is Embedded Control Information?
  927.     ═════════════════════════════════════
  928.     Most source control systems require that you define a special
  929.     character string that you will place in your source files.  These
  930.     strings usually tell the source control system things such as
  931.     what group of sources the file belongs to, the file's edit
  932.     version and the name or description of the file.  LARC also uses
  933.     embedded strings but does not require them for all files being
  934.     managed.  For example, it would be impossible for you to embed
  935.     strings in a vendor supplied object module, so LARC allows the
  936.     strings for these types of files to be manually entered.
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.     ─────────────────────────────────────────────────────────────────
  944.                     15
  945.     LARC User's Guide            Chapter 1 - What is LARC?
  946.     ═════════════════════════════════════════════════════════════════
  947.  
  948.     LARC searches for three special strings:
  949.  
  950.     Library Name        This string contains the name of the
  951.                 library to  which the file belongs.  The
  952.                 string ensures that the file is checked
  953.                 into the proper library.
  954.  
  955.     File Version        This string contains the edit version of
  956.                 the file.  The edit version must be
  957.                 increased prior to the file being checked
  958.                 back into the library.
  959.  
  960.     File Description    This string contains a brief description
  961.                 of the file which LARC shows whenever you
  962.                 request a display or report of files in
  963.                 the library.  The string is not required,
  964.                 though it is recommended since it helps
  965.                 you to identify your files.
  966.  
  967.     You provide LARC with a list of file extensions that you want to
  968.     contain embedded control information.  More information on
  969.     embedded control information is contained in later chapters of
  970.     this guide.
  971.  
  972.  
  973.     LARC Library Structure
  974.     ══════════════════════
  975.     LARC uses standard directories for the libraries it manages.
  976.     Whenever you add a new library to LARC, you tell LARC which
  977.     directories are to be used.  There are two types of directories
  978.     maintained for each library you create:
  979.  
  980.     Source Directory    This directory contains your source files.
  981.  
  982.     Release Directories    Each library can have up to five
  983.                 directories which may contain the output
  984.                 of a software build procedure.  You are
  985.                 not required to specify a release
  986.                 directory for the library.  You only
  987.                 need release directories if LARC is
  988.                 controlling software that will be built
  989.                 and released.
  990.  
  991.     A good example of why you may need more that one release directory
  992.     per library would be if you needed to produce a multi-language
  993.     release of your product.
  994.  
  995.     You could define three release directories to contain:
  996.  
  997.       Release Directory 1    English language executable files.
  998.  
  999.       Release Directory 2    French language executable files.
  1000.  
  1001.       Release Directory 3    Spanish language executable files.
  1002.     ─────────────────────────────────────────────────────────────────
  1003.                     16
  1004.     LARC User's Guide            Chapter 1 - What is LARC?
  1005.     ═════════════════════════════════════════════════════════════════
  1006.  
  1007.     Another example would be to use one directory for Windows files,
  1008.     second for DOS files and a third for OS/2 files:
  1009.  
  1010.       Release Directory 1    Windows specific release files.
  1011.  
  1012.       Release Directory 2    DOS specific release files.
  1013.  
  1014.       Release Directory 3    OS/2 specific release files.
  1015.  
  1016.     Providing up to five release directories allows you to manage
  1017.     your release directories from a single reference point: LARC.
  1018.     You no longer are forced to rely on a manual procedure or a
  1019.     single person to know where the latest release (or releases) for
  1020.     a given product reside.
  1021.  
  1022.  
  1023.     Where To Begin
  1024.     ══════════════
  1025.     LARC is not as complicated as other source control systems so it
  1026.     is relatively simple to place your files under LARC control.  If
  1027.     you are currently using a manual procedure to control your
  1028.     sources, you should have little difficulty migrating to LARC.
  1029.  
  1030.     However, don't underestimate the task that awaits you.  Even with
  1031.     LARC's simplistic approach to source control, you still have some
  1032.     work ahead of you.  Placing your files under LARC control consists
  1033.     of the following steps:
  1034.  
  1035.       o  Install LARC on your system.  LARC may be installed either
  1036.          on a stand alone system, or on a network server.  Chapter 2
  1037.          describes the installation process in detail.
  1038.  
  1039.       o  Define the list of LARC users.  Chapters 3 and 6 should be
  1040.          referenced for detailed information on user security and
  1041.          adding users to LARC.
  1042.  
  1043.       o  Perform a detailed review of your current source files.  You
  1044.          will need to define which groups of source files you want to
  1045.          place in separate libraries.
  1046.  
  1047.       o  Compile a detailed list of all of the file extensions which
  1048.          contain source code and which you want to have LARC
  1049.          automatically search for embedded control information.
  1050.          Chapter 5 describes embedded control information in more
  1051.          detail.
  1052.  
  1053.       o  Once you have defined the number of libraries you need, use
  1054.          LARC to create the libraries.  Chapter 4 describes the
  1055.          process of adding new libraries to LARC.
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.     ─────────────────────────────────────────────────────────────────
  1062.                     17
  1063.     LARC User's Guide            Chapter 1 - What is LARC?
  1064.     ═════════════════════════════════════════════════════════════════
  1065.  
  1066.       o  Once you have compiled the list of source files which LARC
  1067.          will search for embedded control information, use LARC to
  1068.          create the list of file extensions to be automatically
  1069.          searched.  Chapter 5 describes the process of adding file
  1070.          extensions to LARC.
  1071.  
  1072.       o  You must then edit all of the source files that you have
  1073.          told LARC will contain embedded control information and
  1074.          add the information to the files.
  1075.  
  1076.       o  Once the control information has been added to the files,
  1077.          check the files into LARC and verify that you indeed added
  1078.          them to the correct library.  Chapter 10 describes the
  1079.          process of adding new files to a LARC library.
  1080.  
  1081.       o  If the library contains sources that will be built and
  1082.          released, you will need to create and debug the build,
  1083.          release generation and backup control files for the library.
  1084.          Chapter 8 describes the files required to create releases.
  1085.  
  1086.       o  Document the newly created library structure and provide this
  1087.          information to any other LARC users in your company.
  1088.  
  1089.       o  Perform a complete system backup of your newly configured
  1090.          LARC system as a safeguard against any possible system
  1091.          failure.  You are also highly recommended to define a
  1092.          rigorous backup schedule for your LARC system files.
  1093.  
  1094.     This is a brief overview of the steps required to create a LARC
  1095.     library.  Creating your first library will take longer than
  1096.     others to create because you have some one-time LARC configuration
  1097.     steps to complete.  More detailed information on each of these
  1098.     steps may be found in subsequent chapters in this guide.
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.     ─────────────────────────────────────────────────────────────────
  1121.                     18
  1122.     ╔══════════════╗
  1123.     ║              ║
  1124.     ║ ╔════════════╩════════════════════════════════════════════════╗
  1125.     ║ ║ Chapter 2                            ║
  1126.     ║ ╚════════════╦════════════════════════════════════════════════╝
  1127.     ║              ║
  1128.     ║    ▄████▄    ║  Installing LARC
  1129.     ║    ▀▀  ██    ║
  1130.     ║      ▄█▀     ║  This chapter explains how to install LARC on
  1131.     ║    ▄█▀       ║  your hard disk.
  1132.     ║    ██████    ║
  1133.     ║              ║
  1134.     ╚══════════════╝
  1135.  
  1136.     DOS System Requirements
  1137.     ═══════════════════════
  1138.         LARC requires the following of a DOS host system:
  1139.  
  1140.       o  Intel 80286 compatible or higher based personal computer.
  1141.  
  1142.       o  DOS 3.3 or later (MS-DOS 6.0 or later is recommended).
  1143.  
  1144.       o  300K of conventional memory (up to 530k of conventional
  1145.          memory if you use compressed libraries).
  1146.  
  1147.       o  One 3½" (720K or 1.44 MB) or one 5¼" (360k or 1.2 MB)
  1148.          floppy diskette drive, or both.
  1149.  
  1150.       o  A hard disk drive with 800K of free space for installing
  1151.          LARC.  More space will be required for the files which
  1152.          LARC will maintain.
  1153.  
  1154.       o  A standard VGA monitor.
  1155.  
  1156.       o  A standard dot matrix or laser printer is recommended.
  1157.  
  1158.  
  1159.     OS/2 System Requirements
  1160.     ════════════════════════
  1161.     LARC requires the following of a OS/2 host system:
  1162.  
  1163.       o  Intel386SX compatible or higher based personal computer.
  1164.  
  1165.       o  OS/2 2.0 or later (OS/2 2.1 is recommended).
  1166.  
  1167.       o  4.0 of memory minimum (6.0 or greater is recommended).
  1168.  
  1169.       o  One 3½" (720K or 1.44 MB) or one 5¼" (360k or 1.2 MB)
  1170.          floppy diskette drive, or both.
  1171.  
  1172.       o  A hard disk drive with 600K of free space for installing
  1173.          LARC.  More space will be required for the files which
  1174.          LARC will maintain.
  1175.  
  1176.       o  A standard VGA monitor.
  1177.  
  1178.       o  A standard dot matrix or laser printer is recommended.
  1179.     ─────────────────────────────────────────────────────────────────
  1180.                     19
  1181.     LARC User's Guide              Chapter 2 - Installing LARC
  1182.     ═════════════════════════════════════════════════════════════════
  1183.  
  1184.     Installing LARC
  1185.     ═══════════════
  1186.     Before installing LARC, print and the review the READ.ME file.
  1187.     READ.ME may contain last minute changes to the installation
  1188.     procedure.
  1189.  
  1190.       1.  It is recommended that you perform a complete backup of
  1191.           your target hard drive prior to installing any new software
  1192.           on your system.  Having this backup on hand will provide
  1193.           extra insurance in case you accidentally enter an incorrect
  1194.           command durring the installation period.
  1195.  
  1196.       2.  Create a LARC system directory by entering the command:
  1197.  
  1198.         md C:\LARC3
  1199.  
  1200.           Of course you will replace the "C:" with the letter of the
  1201.           drive that you want LARC to be installed on.  You can also
  1202.           use a different directory name, if so desired.
  1203.  
  1204.       3.  LARC is provided in a self-extracting file.  Enter:
  1205.           
  1206.                 LARCDOS            (for DOS)
  1207.  
  1208.               or:
  1209.  
  1210.             LARCOS2            (for OS/2)
  1211.  
  1212.       4.  Make any necessary changes to your system startup files.
  1213.           The possible changes are described in the following section
  1214.           "Modifying Your DOS (or OS/2) System Startup Files".
  1215.  
  1216.       5.  Edit the LARC Configuration File to reflect the location of
  1217.           the LARC system files.  The changes required are described
  1218.           in the following section "LARC's Configuration File".
  1219.  
  1220.       6.  Start LARC and establish your list of users, file names that
  1221.           will contain embedded control information, and libraries to
  1222.           be managed.  More information on establishing users and
  1223.           libraries are described in subsequent chapters.
  1224.  
  1225.  
  1226.     Modifying Your DOS System Startup Files
  1227.     ═══════════════════════════════════════
  1228.     In order to run the DOS version of LARC, you must edit your
  1229.     AUTOEXEC.BAT file and include the LARC installation drive letter
  1230.     and path in the system PATH statement.  For example, assuming you
  1231.     installed into the default path, your PATH statement would be:
  1232.  
  1233.       PATH=C:\DOS;C:\LARC3;C:\UTIL
  1234.  
  1235.  
  1236.  
  1237.  
  1238.     ─────────────────────────────────────────────────────────────────
  1239.                     20
  1240.     LARC User's Guide              Chapter 2 - Installing LARC
  1241.     ═════════════════════════════════════════════════════════════════
  1242.  
  1243.     LARC submits files for printing using the DOS system PRINT command.
  1244.     Unless you use a replacement print spooler, you may need to load
  1245.     PRINT when your system starts in order to eliminate memory
  1246.     fragmentation.  Since PRINT is a terminate-and-stay-resident (TSR)
  1247.     program, it loads into memory at the first available free space,
  1248.     and then stays there!  If LARC causes PRINT to be loaded into
  1249.     memory, it will be loaded behind LARC.  To illustrate, lets assume
  1250.     LARC uses 200kb of 500kb of available memory.  If LARC prints a
  1251.     file, PRINT will be loaded into memory at about the 200kb mark.
  1252.     This means that you will be left with 200kb and 300kb as the
  1253.     largest available free "chunks" of memory.  This could cause LARC
  1254.     or other DOS applications to fail with an "insufficient memory"
  1255.     error.  To load PRINT when your system starts, include the
  1256.     following line in your AUTOEXEC.BAT command file:
  1257.  
  1258.         PRINT /D:LPTn:
  1259.  
  1260.     Replace "n" with the printer port number you are using.  You will
  1261.     most often use LPT1:.
  1262.  
  1263.     If LARC will run on a dedicated PC, you may want to have LARC
  1264.     started automatically whenever the PC is turned on.  If so, you
  1265.     will need to edit your AUTOEXEC.BAT file to include the following
  1266.     commands at the end of the file:
  1267.  
  1268.         drive:
  1269.         CD LARC-path
  1270.         LARC
  1271.  
  1272.     "drive" is the drive letter and "LARC-path" is the path name where
  1273.     you install the LARC program.
  1274.  
  1275.     You must add the LARC installation directory to the system PATH
  1276.     statement in the AUTOEXEC.BAT file.  For example, if your current
  1277.     path statement contains a "C:\DOS;C:\UTIL", then you should change
  1278.     the statement to "C:\DOS;C:\UTIL;C:\LARC3".  "C:\LARC3" would be
  1279.     the LARC installation drive and directory name.
  1280.  
  1281.     If you installed LARC into any directory other than C:\LARC3, you
  1282.     will need to edit the LARC.BAT file that is delivered with LARC and
  1283.     adjust it according to where you installed LARC.  For example, if
  1284.     you installed LARC to D:\LARC3, then LARC.BAT would need to be
  1285.     changed to:
  1286.  
  1287.          D:\LARC3\LARC3 D:\LARC3\LARC.CFG
  1288.  
  1289.  
  1290.     Modifying Your OS/2 System Startup Files
  1291.     ════════════════════════════════════════
  1292.     The OS/2 version of LARC requires that you include your installation
  1293.     drive and directory in the LIBPATH.  This is required so LARC will
  1294.     be able to properly locate the DLL files included with the OS/2
  1295.     version of LARC.
  1296.  
  1297.     ─────────────────────────────────────────────────────────────────
  1298.                     21
  1299.     LARC User's Guide              Chapter 2 - Installing LARC
  1300.     ═════════════════════════════════════════════════════════════════
  1301.  
  1302.     If you need to access LARC from various directories on your system,
  1303.     you will need to either include the LARC installation drive and
  1304.     directory in your search path, or move the LARC.CMD file from the
  1305.     LARC directory to a directory which is currently in your PATH
  1306.     statement.  For example, if your path contains a "\UTIL" directory
  1307.     in which you keep your utility programs and command files, then the
  1308.     "\UTIL" directory would be a perfect location for the LARC.BAT file.
  1309.  
  1310.     If you installed LARC into any directory other than C:\LARC3, you
  1311.     will need to edit the LARC.CMD file and adjust it according to where
  1312.     you installed LARC.  For example, if you installed LARC to D:\LARC3,
  1313.     then LARC.CMD would need to be changed to:
  1314.  
  1315.          D:\LARC3\LARC3 D:\LARC3\LARC.CFG
  1316.  
  1317.  
  1318.     LARC's Configuration File
  1319.     ═════════════════════════
  1320.     Once LARC has been installed on your system, you will need to edit
  1321.     the configuration file LARC.CFG.  LARC.CFG is an ASCII file that
  1322.     you can edit to change the characteristics of many of LARC's
  1323.     features.  LARC.CFG specifies several details on your particular
  1324.     installation, including:
  1325.  
  1326.       o  LARC program and data file location.
  1327.  
  1328.       o  screen inactivity timeout interval.
  1329.  
  1330.       o  the type of access security to be used.
  1331.  
  1332.       o  default file check in and check out path handling.
  1333.  
  1334.       o  existing file check out overwrite handling.
  1335.  
  1336.       o  LARC system screen colors.
  1337.  
  1338.       o  printer condensed and normal print settings.
  1339.  
  1340.       o  floppy diskette drive letters.
  1341.  
  1342.  
  1343.     The majority of these settings will be described in a subsequent
  1344.     chapter.  The default configuration file installed with LARC
  1345.     assumes that you installed LARC to C:\LARC3.  If you installed
  1346.     LARC to a different drive or path, then you must edit the
  1347.     configuration file and change the following SET commands and
  1348.     specify the correct directories:
  1349.  
  1350.       SET SYSTEM EXECUTABLES     C:\LARC      ; Program files
  1351.       SET SYSTEM DATAFILES       C:\LARC      ; Data files
  1352.  
  1353.     You may also need to set up the correct drive letters for the
  1354.     floppy diskettes configured on your LARC system.  If so, then
  1355.     inspect the following SET commands and change them as required:
  1356.     ─────────────────────────────────────────────────────────────────
  1357.                     22
  1358.     LARC User's Guide              Chapter 2 - Installing LARC
  1359.     ═════════════════════════════════════════════════════════════════
  1360.  
  1361.       SET FLOPPY 360KB     B     ; 360kb floppy drive letter
  1362.       SET FLOPPY 1.2MB     B     ; 1.2mb floppy drive letter
  1363.       SET FLOPPY 720KB     A     ; 720kb floppy drive letter
  1364.       SET FLOPPY 1.44MB    A     ; 1.44mb floppy drive letter
  1365.  
  1366.     The remaining SET commands may be inspected and changed (if
  1367.     necessary) as you become more familiar with the setup and
  1368.     operational features provided by LARC.  Refer to chapter 7
  1369.     for more information on LARC's configuration file.
  1370.  
  1371.  
  1372.     Multi-User Installation Requirements
  1373.     ════════════════════════════════════
  1374.     LARC monitors which functions are being used in order to ensure
  1375.     that multiple users are not trying to check out or check in the
  1376.     same file to the same library at the same time!  LARC allows
  1377.     several users in a multi-user environment (such as a Novell
  1378.     network) to access it's libraries simultaneously without loss of
  1379.     information.
  1380.  
  1381.     This means that LARC may be installed on a network drive and
  1382.     accessed as if it were installed on your local hard drive.  You
  1383.     may also choose to install the LARC system files on each local
  1384.     machine yet have the LARC data files reside on a network drive.
  1385.     Either method is acceptable and depends on personal preference,
  1386.     speed of your network, and your license agreement.
  1387.  
  1388.     One good example of when you may want to install LARC differently
  1389.     comes to light when you consider a laptop machine.  Lets assume
  1390.     that you develop a product and have access to a network.  Your
  1391.     office machine is connected to the network via a high speed link
  1392.     (Ethernet, etc.) so you elect to install LARC on a network drive
  1393.     so that you and the other developers in your group can access a
  1394.     single LARC system.  This eases the process of maintaining the LARC
  1395.     system files by limiting the number of installed copies to one!
  1396.     Now, lets assume that you need to travel to a customer site and
  1397.     possibly make changes after seeing your code execute in the field.
  1398.     You could install the LARC executable files directly onto your
  1399.  
  1400.     laptop and use a modem gateway into your network to access the
  1401.     LARC controlled sources from the field.  The advantage to this
  1402.     method is, of course, increased speed of loading the LARC
  1403.     executable files since they would be loaded from your laptop and
  1404.     not loaded remotely over the modem.
  1405.  
  1406.     A very important consideration for network installation is with
  1407.     drive letter mapping.  LARC requires that you specify the hard
  1408.     drive letter for each library when the library entry is created.
  1409.     For example, a "Product Tools" library may have been established
  1410.     and directed to hard drive M: which is mapped to server SERVER-A.
  1411.     If a user maps drive M: to any server other than SERVER-A, then
  1412.     tries to access the library with LARC, LARC will complain that
  1413.     the library files can not be located.  You will need to ensure
  1414.     that all LARC users map the LARC drive letters the same way every
  1415.     ─────────────────────────────────────────────────────────────────
  1416.                     23
  1417.     LARC User's Guide              Chapter 2 - Installing LARC
  1418.     ═════════════════════════════════════════════════════════════════
  1419.  
  1420.     time they use LARC.  If your mapping changes often, then you may
  1421.     want to add the appropriate mapping commands to the LARC.BAT file
  1422.     in order to always ensure that the drive letter is properly mapped
  1423.     when LARC is started.
  1424.  
  1425.     How often is your network taken down, either voluntarily or
  1426.     involuntarily?  If your network is frequently brought down for
  1427.     maintenance, reconfiguration, power outages, testing, etc., then
  1428.     you may want to install LARC and all of your LARC libraries on a
  1429.     stand alone system.
  1430.  
  1431.     Otherwise, assuming that you are in a stable network environment
  1432.     and that all of your LARC users are consistently mapped, then LARC
  1433.     is oblivious as to whether it is being executed from a network
  1434.     server or from a local or stand alone system.  The only requirement
  1435.     is to edit the LARC configuration file LARC.CFG and start up file
  1436.     LARC.BAT to point them to the proper network drive and path.
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.     ─────────────────────────────────────────────────────────────────
  1475.                     24
  1476.     ╔══════════════╗
  1477.     ║              ║
  1478.     ║ ╔════════════╩════════════════════════════════════════════════╗
  1479.     ║ ║ Chapter 3                            ║
  1480.     ║ ╚════════════╦════════════════════════════════════════════════╝
  1481.     ║              ║
  1482.     ║    ▄████▄    ║  System Security
  1483.     ║    ▀▀  ██    ║
  1484.     ║      ███     ║  This chapter explains the system security
  1485.     ║    ▄▄  ██    ║  provided by LARC.
  1486.     ║    ▀████▀    ║
  1487.     ║              ║
  1488.     ╚══════════════╝
  1489.  
  1490.     Security Options
  1491.     ════════════════
  1492.     LARC provides three types of user access security:
  1493.  
  1494.       o  No security.  Everyone has access to all LARC files and
  1495.          features.
  1496.  
  1497.       o  One time log on security.  Users must be known to LARC and
  1498.          log on once when LARC is started.  Security is not checked
  1499.          before exiting LARC to the operating system.  This option is
  1500.          intended for users who will either run LARC on their local
  1501.          machine or from a shared network environment.
  1502.  
  1503.       o  Complete security.  Users must be known to LARC and log on
  1504.          every time a library or function is selected.  Security will
  1505.          be checked before exiting LARC to the operating system and
  1506.          only users with a specific access level will be allowed to
  1507.          exit LARC.  This option is intended for users who will run
  1508.          LARC on a stand alone system.  It provides the highest level
  1509.          of security and ensures that LARC remains in control of the
  1510.          system on which it is running.  Most users are not allowed
  1511.          to exit LARC, which reduces the chances that a user could
  1512.          accidentally change the setup of the system on which LARC
  1513.          is running.
  1514.  
  1515.  
  1516.     User Initials and Passwords
  1517.     ═══════════════════════════
  1518.     Each user has several parameters that are used by LARC whenever
  1519.     he or she logs on to LARC.  There are:
  1520.  
  1521.     User Initials:    1 to 3 characters that are the initials of the
  1522.             user.  LARC uses these initials to determine the
  1523.             user's access rights and to record user activity
  1524.             in the system activity log.
  1525.  
  1526.     Password:    1 to 10 characters that are the password for the
  1527.             user.
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.     ─────────────────────────────────────────────────────────────────
  1534.                     25
  1535.     LARC User's Guide              Chapter 3 - System Security
  1536.     ═════════════════════════════════════════════════════════════════
  1537.  
  1538.     Level:        1 character security access level for the user.
  1539.             Level 9 users have the highest access rights and
  1540.             are known as System Administrators.  System
  1541.             Administrators have complete access to all of
  1542.             LARC's files and features.
  1543.  
  1544.     Path:        1 to 66 character path name that is the default
  1545.             file check out and check in path.  This path is
  1546.             used as the default file copy path if the user
  1547.             does not provide a path to the check in and check
  1548.             out functions.  If you leave this path blank, then
  1549.             LARC will check out files and check in files using
  1550.             the path from which LARC was started.
  1551.  
  1552.          ╔═════════════════════════════════════════════════════╗
  1553.          ║ NOTE: Neither the user's initials nor the user's    ║
  1554.          ║       password are case sensitive.  So, "ABC",      ║
  1555.          ║       "abc" and "AbC" would all be equivalent.      ║
  1556.          ╚═════════════════════════════════════════════════════╝
  1557.  
  1558.  
  1559.     Security Access Levels
  1560.     ══════════════════════
  1561.     The LARC System Administrator will assign a unique security access
  1562.     level ranging from 1 to 9 to each LARC user.  When the user logs
  1563.     onto LARC, this security access level will determine which LARC
  1564.     features the user may use.  Level 1 is the lowest level and level
  1565.     9 is the highest.  Level 9 provides complete access to all of
  1566.     LARC's features.
  1567.  
  1568.     Table 3-1 defines the list of features and the security access
  1569.     level required to gain access to each feature.  LARC is delivered
  1570.     with no user security file defined so access rights will not be
  1571.     initiated until after the System Administrator creates a list of
  1572.     users.
  1573.  
  1574.  
  1575.     The Security Screen
  1576.     ═══════════════════
  1577.     Depending on how LARC has been configured, the security screen
  1578.     may be presented only once when LARC is started.  However, LARC
  1579.     may have been configured to present the security screen every
  1580.     time a function is selected that requires a security access level
  1581.     check.   Most LARC functions require that the user's initials and
  1582.     password be entered before access can be granted.  If the initials
  1583.     and password are valid, LARC performs a security access level
  1584.     check and will not allow the user to access the function if he
  1585.     fails to meet the function's access level requirements.
  1586.  
  1587.     You may press the <Esc> key to back out to the previous menu or
  1588.     screen if you decide that you do not want to continue.  However,
  1589.     if LARC has been configured so that you only log on once when LARC
  1590.     is started, then pressing the <Esc> will exit LARC and return you
  1591.     to the operating system prompt.
  1592.     ─────────────────────────────────────────────────────────────────
  1593.                     26
  1594.     LARC User's Guide              Chapter 3 - System Security
  1595.     ═════════════════════════════════════════════════════════════════
  1596.  
  1597.     If you enter an incorrect user name or password, or if your
  1598.     security access level is insufficient to allow access to the
  1599.     selected function, a warning message will be displayed and access
  1600.     to the function will be denied.
  1601.  
  1602.     If you are unable to access a function, then you have probably
  1603.     not been given a high enough access level to use the function.
  1604.     You should discuss your needs with your LARC System Administrator
  1605.     to determine if it is possible for your security access level to
  1606.     be increased.
  1607.  
  1608.  
  1609.     Exiting to the Operating System
  1610.     ═══════════════════════════════
  1611.     If your security access level allows you to exit to the operating
  1612.     system, and if LARC has been configured to require a security
  1613.     check before exiting, you must enter your user name and password
  1614.     before you can exit LARC.  If you have sufficient security rights,
  1615.     LARC will exit and return you to the operating system prompt.
  1616.  
  1617.  
  1618.     Creating a List of Users
  1619.     ════════════════════════
  1620.     Refer to Chapter 6 for details on establishing and maintaining the list of LARC users.
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.     ─────────────────────────────────────────────────────────────────
  1652.                     27
  1653.     LARC User's Guide              Chapter 3 - System Security
  1654.     ═════════════════════════════════════════════════════════════════
  1655.  
  1656.          ╔══════════════════════════════════╦════════════════╗
  1657.          ║ Feature                          ║ Security Level ║
  1658.          ╠══════════════════════════════════╬════════════════╣
  1659.          ║ Select a library                 ║       1        ║
  1660.          ║ Check in a file                  ║       5        ║
  1661.          ║ Check out a file                 ║       5        ║
  1662.          ║ Add a new file                   ║       5        ║
  1663.          ║ Copy a file                      ║       5        ║
  1664.          ║ Cancel a file check out          ║       5        ║
  1665.          ║ Get All Files                    ║       5        ║
  1666.          ║ Delete a file                    ║       7        ║
  1667.          ║ Display library contents         ║       1        ║
  1668.          ║ Display source file              ║       1        ║
  1669.          ║ Display my checked out files     ║       5        ║
  1670.          ║ Display checked out files        ║       1        ║
  1671.          ║ Display release history          ║       1        ║
  1672.          ║ Display revised files            ║       1        ║
  1673.          ║ Display system activity log      ║       5        ║
  1674.          ║ Print library contents           ║       1        ║
  1675.          ║ Print source file                ║       3        ║
  1676.          ║ Print my checked out files       ║       5        ║
  1677.          ║ Print checked out files          ║       1        ║
  1678.          ║ Print release history            ║       1        ║
  1679.          ║ Print revised files              ║       1        ║
  1680.          ║ Print system activity log        ║       5        ║
  1681.          ║ Create 360kb release diskettes   ║       4        ║
  1682.          ║ Create 1.2mb release diskettes   ║       4        ║
  1683.          ║ Create 720kb release diskettes   ║       4        ║
  1684.          ║ Create 1.44mb release diskettes  ║       4        ║
  1685.          ║ Create hard drive release        ║       4        ║
  1686.          ║ Release build                    ║       5        ║
  1687.          ║ Backup library source files      ║       1        ║
  1688.          ║ Purge test release identifiers   ║       8        ║
  1689.          ║ Submit a system command          ║       5        ║
  1690.          ║ Backup the entire system         ║       1        ║
  1691.          ║ Format system backup media       ║       1        ║
  1692.          ║ Library maintenance              ║       8        ║
  1693.          ║ Extension maintenance            ║       8        ║
  1694.          ║ User maintenance                 ║       8        ║
  1695.          ║ Exit to the Operating System     ║       8        ║
  1696.          ╚══════════════════════════════════╩════════════════╝
  1697.          ────────────────────────────────────────────────────────────
  1698.          Table 3-1 - Security Access Levels
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.     ─────────────────────────────────────────────────────────────────
  1711.                     28
  1712.     ╔══════════════╗
  1713.     ║              ║
  1714.     ║ ╔════════════╩════════════════════════════════════════════════╗
  1715.     ║ ║ Chapter 4                            ║
  1716.     ║ ╚════════════╦════════════════════════════════════════════════╝
  1717.     ║              ║
  1718.     ║      ▄███    ║  Library Maintenance
  1719.     ║    ▄█▀ ██    ║
  1720.     ║    ██▄▄██    ║  This chapter explains how to configure the
  1721.     ║        ██    ║  libraries that LARC will maintain.
  1722.     ║      █████   ║  
  1723.     ║              ║
  1724.     ╚══════════════╝
  1725.  
  1726.     Library Structure
  1727.     ═════════════════
  1728.     Libraries are simply a set of standard system directories which
  1729.     LARC uses to store files.  There are two types a directories:
  1730.  
  1731.     Source Directories:    These directories contain your source
  1732.                 files.
  1733.  
  1734.     Release Directories:    Each library can have up to five directories
  1735.                 which will contain the output of your build
  1736.                 procedures.  You are not required to specify
  1737.                 a release directory for every library.  In
  1738.                 fact, there will be some cases where you
  1739.                 only define a source directory for a library.
  1740.                 The five release directories allow you to
  1741.                 create up to five unique releases from the
  1742.                 same set of sources.
  1743.  
  1744.     LARC supports directory names of up to 64 characters in length.
  1745.     This provides the ability to segment your files into logical
  1746.     directories based upon any number of categories you may need to
  1747.     define.
  1748.  
  1749.     It is important to know that LARC loosely associates libraries
  1750.     that share a common initial directory.  Lets assume you are
  1751.     defining four libraries that will contain source files for your
  1752.     product.  An example directory structure could be:
  1753.  
  1754.       C:\PRODUCT\
  1755.       C:\PRODUCT\MAIN\
  1756.       C:\PRODUCT\REPORTS
  1757.       C:\PRODUCT\COMMS
  1758.  
  1759.     Since these four libraries all share the same initial directory
  1760.     "PRODUCT", LARC will group these libraries together when it
  1761.     performs the following functions:
  1762.  
  1763.     Display or Print Checked Out Files - Whenever you ask LARC to
  1764.     show or print a list of all of the checked out files from a
  1765.     library, LARC will show you any file checked out of all of the
  1766.     libraries that share the same initial directory.  Using the
  1767.     previous directory structure example, LARC would show you any
  1768.     files that were checked out of any one of the four libraries that
  1769.     ─────────────────────────────────────────────────────────────────
  1770.                     29
  1771.     LARC User's Guide          Chapter 4 - Library Maintenance
  1772.     ═════════════════════════════════════════════════════════════════
  1773.  
  1774.     share the "PRODUCT" initial directory.
  1775.  
  1776.     Release Build - Whenever you ask LARC to build a release, LARC
  1777.     scans the library and lets you know if any files are still
  1778.     checked out of the library.  When libraries share an initial
  1779.     directory, LARC will scan all of the libraries which share the
  1780.     initial directory and let you know if any files are still
  1781.     checked out of any one of the libraries.  Again using the
  1782.     previous directory structure example, LARC would let you know if
  1783.     any files were checked out of any one of the four libraries that
  1784.     share the "PRODUCT" initial directory.
  1785.  
  1786.     Other than this loose association of initial directories, you are
  1787.     free to define your LARC directory structure to meet your specific
  1788.     needs.  The only thing that must occur is that a previous level
  1789.     directory must exist before you try to specify a new sub-directory
  1790.     name.  For example, you must create a library (or there must
  1791.     already be a directory present) that uses the "PRODUCT" directory
  1792.     before you define a library that uses the "\PRODUCT\REPORTS\"
  1793.     directory.  This is necessary because LARC will not scan the
  1794.     entire directory name to create previous directory levels.  LARC
  1795.     enforces this restriction to help reduce the possibility that
  1796.     someone could enter an incorrect directory name, which would
  1797.     then cause several erroneous directories to be created.
  1798.  
  1799.  
  1800.     Library Maintenance
  1801.     ═══════════════════
  1802.     The Library Maintenance function is selected from the Main Menu
  1803.     by moving the  highlight bar to maintenance on the Maintenance
  1804.     pull down menu.  Only the System Administrator can use this
  1805.     function to maintain the libraries in the system.
  1806.  
  1807.     Select the library maintenance option by pressing the <L> key or
  1808.     by moving the menu bar to library maintenance and pressing <Enter>.
  1809.  
  1810.     The following field names are used by the library maintenance
  1811.     functions:
  1812.  
  1813.     Library number:        This is the three digit library number
  1814.                 that LARC automatically assigns to the
  1815.                 library whenever it is created.  This
  1816.                 library number is important because you
  1817.                 use this number when defining the LARC
  1818.                 release diskette creation (cut) files
  1819.                 (LARCRELn.CUT).  Refer to Chapter 13 more
  1820.                 information on release creation files.
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.     ─────────────────────────────────────────────────────────────────
  1829.                     30
  1830.     LARC User's Guide          Chapter 4 - Library Maintenance
  1831.     ═════════════════════════════════════════════════════════════════
  1832.  
  1833.     Library name:        Up to fifty alphanumeric characters that
  1834.                 contain the name of the library.  The
  1835.                 system name string embedded in source
  1836.                 files destined for this library must
  1837.                 match this name exactly before LARC will
  1838.                 allow the file to be added or checked in
  1839.                 to the library.
  1840.  
  1841.     Compress files?:    "Y" indicates that the library is a
  1842.                 compressed library and that files checked
  1843.                 into the library will be compressed into
  1844.                 a single compressed file.  See the section
  1845.                 "Compressed Libraries" below for more
  1846.                 information.
  1847.  
  1848.     Third party library?:    "Y" indicates that the library contains
  1849.                 files supplied by a third party vendor.
  1850.                 "N" indicates that the library is standard
  1851.                 library.  Unlike other libraries, source
  1852.                 files checked into a third party library
  1853.                 will not be searched for embedded control
  1854.                 strings.  This allows you to put original
  1855.                 copies of vendor supplied files under LARC
  1856.                 control with modification.
  1857.  
  1858.     Installation files?:    A "Y" in this column indicates that
  1859.                 installation control files will be created
  1860.                 by LARC when a set of release diskettes
  1861.                 are created.  See the section "Installation
  1862.                 Files" below for more information.
  1863.  
  1864.     Write protect files?:    "Y" indicates that the library files
  1865.                 should be marked as read-only after they
  1866.                 are added to the library.  "N" indicates
  1867.                 that the files should not be marked
  1868.                 read-only.  It is highly recommended that
  1869.                 libraries be marked read-only unless you
  1870.                 encounter a specific reason not to do so.
  1871.                 For example, some third party tools may
  1872.                 not function correctly if they are marked
  1873.                 read-only.
  1874.  
  1875.     Maintain revisions?:    A "Y" in this column indicates that the
  1876.                 last version of the updated files will
  1877.                 be kept by LARC.  See the section "Revised
  1878.                 Files" below for more information.
  1879.  
  1880.     Source:            Up to 64-alphanumeric characters that
  1881.                 contain the name of the source file
  1882.                 directory.  The directory will be created
  1883.                 by LARC if it does not already exist.
  1884.                 Begin the directory name with the drive
  1885.                 letter, colon and backslash characters.
  1886.                 For example, "C:\PRODUCT\SOURCES".
  1887.     ─────────────────────────────────────────────────────────────────
  1888.                     31
  1889.     LARC User's Guide          Chapter 4 - Library Maintenance
  1890.     ═════════════════════════════════════════════════════════════════
  1891.  
  1892.     Release n:        Up to 64-alphanumeric characters that
  1893.                 contain the name of the release directory.
  1894.                 There may be from zero to five of these
  1895.                 entries.  The release directories will be
  1896.                 created if they do not already exist.
  1897.                 Begin the directory name with the drive
  1898.                 letter, colon and backslash characters.
  1899.                 For example, "C:\PRODUCT\RELEASES".
  1900.  
  1901.  
  1902.     Add a Library
  1903.     ═════════════
  1904.     This function is used to add a new library to LARC.  Press the
  1905.     <End> key when you have entered the new library information.  The
  1906.     information will be stored in the library name file and you will
  1907.     return to the System Maintenance Menu screen.
  1908.  
  1909.  
  1910.     Modify a Library
  1911.     ════════════════
  1912.     This function is used to modify library information.  You will be
  1913.     presented a list of available libraries.  Select the library that
  1914.     is to be modified and the details of the library will be displayed.
  1915.  
  1916.     Press the <End> key when you have entered the modified library
  1917.     information.  The information will be stored in the library name
  1918.     file and you will return to the System Maintenance Menu screen.
  1919.  
  1920.          ╔═════════════════════════════════════════════════════╗
  1921.          ║ NOTE: You should be very careful when changing      ║
  1922.          ║       library information.  You can modify the      ║
  1923.          ║       parameters for any library, even libraries    ║
  1924.          ║       with active releases, so make sure that you   ║
  1925.          ║       carefully review all of the displayed         ║
  1926.          ║       information to ensure that the correct        ║
  1927.          ║       library is being changed.                     ║
  1928.          ╚═════════════════════════════════════════════════════╝
  1929.  
  1930.     If you change the source directory name, LARC will move all of
  1931.     the source files contained in the old directory to the new
  1932.     directory.  The old directory will be removed from the system.
  1933.  
  1934.     If you change one or more of the release directory names, LARC
  1935.     will move all of the files contained in the old directory to the
  1936.     new directory.  The old directory will be removed from the system.
  1937.  
  1938.  
  1939.     Delete an Obsolete Library
  1940.     ══════════════════════════
  1941.     This function is used to remove an old library and the system.
  1942.     You will be presented a list of available libraries.  Select the
  1943.     library that is to be deleted and the details of the library will
  1944.     be displayed.  You will then be asked to verify that you want to
  1945.     deleted the displayed library from LARC.
  1946.     ─────────────────────────────────────────────────────────────────
  1947.                     32
  1948.     LARC User's Guide          Chapter 4 - Library Maintenance
  1949.     ═════════════════════════════════════════════════════════════════
  1950.  
  1951.     Press the <Y> key if you are absolutely sure you want to delete
  1952.     the library.  Press any other key to abort the delete process.
  1953.  
  1954.          ╔═════════════════════════════════════════════════════╗
  1955.          ║ NOTE: You should be very careful when deleting      ║
  1956.          ║       libraries from LARC.  You can delete any      ║
  1957.          ║       library, even libraries with active releases. ║
  1958.          ║       Make sure that you carefully review all of    ║
  1959.          ║       the displayed information to ensure that the  ║
  1960.          ║       correct library is being deleted.             ║
  1961.          ╚═════════════════════════════════════════════════════╝
  1962.  
  1963.  
  1964.     Show All Libraries
  1965.     ══════════════════
  1966.     When you choose the Show All Libraries function, you will be
  1967.     presented with a list of all of the available libraries.  When you
  1968.     select a library, the information for that library will be
  1969.     displayed on the screen.
  1970.  
  1971.     Select the desired library and the information for that library
  1972.     will be displayed.  Libraries are sorted in ascending order based
  1973.     on the name of the library.  If you press the first letter of the
  1974.     library, the highlight bar will be moved to that library.  For
  1975.     example, pressing the <H> key will move the highlight bar to the
  1976.     first library whose name begins with the letter H.
  1977.  
  1978.  
  1979.     Print All Libraries
  1980.     ═══════════════════
  1981.     This function creates a printed report listing of all of the
  1982.     libraries that LARC is maintaining.
  1983.  
  1984.  
  1985.     Compressed Libraries
  1986.     ════════════════════
  1987.     LARC allows each library you create to be marked as a compressed
  1988.     library.  Marking a library as a compressed library simple
  1989.     instructs LARC to use the file compression utilities PKZIP
  1990.     provided by PKWare, Incorporated, to compress the library files
  1991.     into a single compressed "ZIP" file.  The resulting compressed
  1992.     file name will reside in the source directory with the name of
  1993.     the last directory in the source library path name.  For example,
  1994.     if you create a compressed library and define its source directory
  1995.     name as C:\EXAMPLE\FILES, then the compressed ZIP file will be
  1996.     named FILES.ZIP.
  1997.  
  1998.     Any library can be marked as a compressed library.  However, you
  1999.     should consider the following issues before creating a compressed
  2000.     library:
  2001.  
  2002.  
  2003.  
  2004.  
  2005.     ─────────────────────────────────────────────────────────────────
  2006.                     33
  2007.     LARC User's Guide          Chapter 4 - Library Maintenance
  2008.     ═════════════════════════════════════════════════════════════════
  2009.  
  2010.       o  Compressed libraries save considerable disk space, especially
  2011.          for ASCII files such as sources or text file.  You will, of
  2012.          course, be required to decompress the library as part of your
  2013.          build process in order to build your product.
  2014.  
  2015.       o  Space required for word processing files is also considerably
  2016.          reduced when stored in compressed libraries.  If possible,
  2017.          word processing files should always be stored in compressed
  2018.          libraries.  However, you do not necessarily have to do so
  2019.          using a compressed library.  You could compress them
  2020.          manually and store the resulting compressed file in a standard
  2021.          library.  Either method achieves the same end result of saving
  2022.          disk space.
  2023.  
  2024.       o  LARC is designed to use PKZIP.EXE and PKUNZIP.EXE version
  2025.          2.04g for DOS.  PKZIP.EXE and PKUNZIP.EXE are sold and
  2026.          licensed by PKWARE Incorporated and you must have a properly
  2027.          licensed version.  These utilities can be downloaded from
  2028.          CompuServe as well as many local Bulletin Board Systems and
  2029.          the downloaded file contains detailed information on how to
  2030.          license the utilities from PKWARE, Incorporated.
  2031.  
  2032.       o  Since LARC relies heavily on PKZIP and PKUNZIP for managing
  2033.          compressed libraries, the possibility exists that your
  2034.          compressed files could be corrupted should either PKZIP or
  2035.          PKUNZIP encounter some unforeseen problem.  You should be
  2036.          completely aware of this risk and make sure that you back
  2037.          up your sources often to reduce your risk.
  2038.  
  2039.          ╔═════════════════════════════════════════════════════╗
  2040.          ║ NOTE: PKZIP.EXE and PKUNZIP.EXE are not provided    ║
  2041.          ║       with LARC.  If you want to take advantage of  ║
  2042.          ║       the compressed library feature, you need to   ║
  2043.          ║       obtain and license PKZIP and PKUNZIP from     ║
  2044.          ║       PKWARE, Incorporated.                         ║
  2045.          ╚═════════════════════════════════════════════════════╝
  2046.  
  2047.  
  2048.     Installation Files
  2049.     ══════════════════
  2050.     When you create a library, you have the option of having LARC
  2051.     create what are referred to as installation files on your release
  2052.     diskettes.  Installation files are simple ASCII files that LARC
  2053.     creates on your release diskettes which list, among other things,
  2054.     the contents of the release diskettes.  These installation files
  2055.     can be used by the LARC installation program to provide a simple
  2056.     automated installation procedure for your product releases.  Refer
  2057.     to Chapter 16 for more information on the LARC installation
  2058.     program.
  2059.  
  2060.     The installation files are named DISKnn.CTL where the nn portion
  2061.     of the file name refers to the release diskette sequence number.
  2062.     For example, DISK01.CTL would list the installation files and
  2063.     commands for the first release diskette, DISK02.CTL would list
  2064.     ─────────────────────────────────────────────────────────────────
  2065.                     34
  2066.     LARC User's Guide          Chapter 4 - Library Maintenance
  2067.     ═════════════════════════════════════════════════════════════════
  2068.  
  2069.     the installation files and commands for the second release
  2070.     diskette, and so on.
  2071.  
  2072.     You control what gets written to these installation files as part
  2073.     of creating the release definition files for the library.  The
  2074.     release definition files, and the process of defining the
  2075.     installation file commands, will be discussed in greater detail
  2076.     in Chapter 13.
  2077.  
  2078.  
  2079.     Revised Files
  2080.     ═════════════
  2081.     Each library that you create can be configured to retain previous
  2082.     revisions of files.  LARC's management of previous revisions is
  2083.     quite simple.  Lets say you have file EXAMPLE.TXT checked into a
  2084.     library that has been configured to maintain revisions.  You edit
  2085.     the file and increase the embedded version number from 100 to 101.
  2086.     When you check the file back into the library, LARC will rename
  2087.     the version 100 copy of the file to LARCRVSN.nnn where "nnn" is a
  2088.     sequential number that starts at 001.  LARC updates the library
  2089.     control file to show you the newly created LARCRVSN file and
  2090.     stores the original file name in the description field.
  2091.  
  2092.     You have complete access to all previous revisions using the
  2093.     standard LARC menus.  Previous revisions can't be checked out,
  2094.     but they can be copied and deleted from the library.
  2095.  
  2096.     You can have up to 999 revisions per library.  If you delete an
  2097.     early revision, LARC will reuse the deleted revision number.  For
  2098.     example, if you had forty revisions in a library, then deleted
  2099.     the first ten, LARC would reuse number 001 the next time you
  2100.     checked in a file.
  2101.  
  2102.     This simple approach to maintaining previous revisions makes it
  2103.     possible for you to quickly return to a previous version of a
  2104.     file if that ever becomes necessary.  Also, you do not have to
  2105.     decide to maintain revisions when the library is created.  You
  2106.     can turn this option on later.  Likewise, if you turned the
  2107.     option on, then later decided it was no longer required, you may
  2108.     turn it off and previous revisions saves will cease.
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.     ─────────────────────────────────────────────────────────────────
  2124.                     35
  2125.     ╔══════════════╗
  2126.     ║              ║
  2127.     ║ ╔════════════╩════════════════════════════════════════════════╗
  2128.     ║ ║ Chapter 5                            ║
  2129.     ║ ╚════════════╦════════════════════════════════════════════════╝
  2130.     ║              ║
  2131.     ║    ██████    ║  Extension Maintenance
  2132.     ║    ██        ║
  2133.     ║    ▀████▄    ║  This chapter explains how to maintain the list
  2134.     ║        ██    ║  of file extensions that LARC will search for
  2135.     ║    █████▀    ║  embedded control information tokens.
  2136.     ║              ║
  2137.     ╚══════════════╝
  2138.  
  2139.     File Control Information
  2140.     ════════════════════════
  2141.     LARC must know three things to control files you add or check
  2142.     into a library:
  2143.  
  2144.       1.  The library in which file belongs.
  2145.  
  2146.       2.  The edit version number of the file.
  2147.  
  2148.       3.  A brief description of the file.
  2149.  
  2150.     LARC will allow you to enter this information in one of two ways.
  2151.     You may either provide the information manually or, for most of
  2152.     your files, you can include three special character strings which
  2153.     LARC can search for to automatically retrieve the information.
  2154.     When you elect to include the information in the file, LARC calls
  2155.     the three special character strings "embedded control information
  2156.     tokens" or simply "tokens".
  2157.  
  2158.     You will likely be required to manually enter the information for
  2159.     binary files such as object modules or program files because
  2160.     these files can not be easily edited.  However, it is likely that
  2161.     most of your ASCII files can be edited to include the embedded
  2162.     control information.  Including the information in your ASCII
  2163.     files will greatly reduce the amount of manual information you
  2164.     must enter when adding or checking files into a library.
  2165.  
  2166.     In order to embed control information in your files, you must
  2167.     first define the list of file types that can contain embedded
  2168.     information.  You then provide this list to LARC so that LARC will
  2169.     know which files you expect to be automatically searched.  Note
  2170.     that if you add an extension to LARC's list, then the embedded
  2171.     control information tokens must exist in the file before the file
  2172.     can be added or checked into a library.
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.     ─────────────────────────────────────────────────────────────────
  2183.                     36
  2184.     LARC User's Guide        Chapter 5 - Extension Maintenance
  2185.     ═════════════════════════════════════════════════════════════════
  2186.  
  2187.     The three embedded control information tokens are:
  2188.  
  2189.     Library Name:        This token contains the one to fifty
  2190.                 character name of the library that "owns"
  2191.                 the file and this token ensures that the
  2192.                 file is checked into the proper library.
  2193.                 The token must match the library name of
  2194.                 the library into which the file is being
  2195.                 added.  The text defined by the token is
  2196.                 case sensitive, so you need to make sure
  2197.                 you enter the name of the library exactly
  2198.                 as appears for the owner library.
  2199.  
  2200.     File Version:        This token contains the three character
  2201.                 edit version of the file.  The edit version
  2202.                 must be incremented before you try to
  2203.                 return a checked out file to the library.
  2204.                 Failure to properly increment the version
  2205.                 number will cause LARC to reject the check
  2206.                 in operation.
  2207.  
  2208.     File Description:    This token contains a brief one to forty
  2209.                 character description of the file.  LARC
  2210.                 shows this description whenever you request
  2211.                 a display or report that lists the files
  2212.                 in the library.  The token is not required,
  2213.                 though it is recommended since it allows
  2214.                 you to easily identify your files.
  2215.  
  2216.     When you add or check in a file, LARC first determines if the
  2217.     extension portion of the file name matches one of the automatic
  2218.     search extensions.  If a match is found, LARC will search the file
  2219.     for the embedded control information tokens.  You get to control
  2220.     which files contain embedded control tokens by creating and
  2221.     maintaining a list of extensions to be searched.
  2222.  
  2223.     Some examples may help clarify how this works.  Lets assume you
  2224.     are developing a small C-based program that uses the following
  2225.     files:
  2226.  
  2227.       EXAMPLE.C        C language main source file.
  2228.       SUBS.C        C language subroutine file.
  2229.       EXAMPLE.H        Included header definition file.
  2230.       EXAMPLE.MAK        Program make definition file.
  2231.       GO.BAT        DOS Make-n-Execute batch file.
  2232.  
  2233.     You would tell LARC that there are four extension types that it
  2234.     should search for embedded control information.  These four types
  2235.     are C, H, MAK and BAT.  However, in order to tell LARC about the
  2236.     extensions, you need to define the character sequences that you
  2237.     want to use for the three tokens.  To do this, you must decide
  2238.     how the three strings will be used in your code.  For example,
  2239.     it's possible to use the control strings as part of a C-based
  2240.     routine so that the description and version used by LARC are
  2241.     ─────────────────────────────────────────────────────────────────
  2242.                     37
  2243.     LARC User's Guide        Chapter 5 - Extension Maintenance
  2244.     ═════════════════════════════════════════════════════════════════
  2245.  
  2246.     also used by your code.  The token information containing the
  2247.     program description and version could be displayed on the screen
  2248.     when the program is executed.  So for a C-based source, you
  2249.     could define your embedded tokens in one of two ways:
  2250.  
  2251.     As comments only:
  2252.  
  2253.         //
  2254.         // LARC-L "Example Library"
  2255.         // LARC-D "Program Description"
  2256.         // LARC-V "100"
  2257.         //
  2258.             :
  2259.             :
  2260.         [ actual code ]
  2261.             :
  2262.             :
  2263.  
  2264.     
  2265.     As integrated code
  2266.  
  2267.         #define LARC_L "Example Library"
  2268.         #define LARC_D "Program Description"
  2269.         #define LARC_V "100"
  2270.             :
  2271.             :
  2272.         printf( "%s\n%s V%s", LARC_L, LARC_D, LARC_V);
  2273.             :
  2274.             :
  2275.  
  2276.     It is highly advantageous to use the embedded information for
  2277.     both LARC control and your code because the end user would be
  2278.     able to speak to you using the same terms that your programmers
  2279.     use.  However, this may be a bit much to accomplish while trying
  2280.     to get a large system under LARC control for the first time.  You
  2281.     may find it easier to start by adding the information as comments,
  2282.     then integrate them into your source codes at a later time.  LARC
  2283.     certainly supports either decision.
  2284.  
  2285.     You can use any data string for your embedded tokens, but it is
  2286.     recommended that you use a unique sequence of characters to ensure
  2287.     that LARC does not find false tokens in your file.  Lets assume
  2288.     that you are adding a C language source file extension of "C" to
  2289.     your list.  You could define your tokens as follows:
  2290.  
  2291.       o  Use a double quote " character as your token separator.
  2292.  
  2293.       o  Use LARC-L as your library name token.
  2294.  
  2295.       o  Use LARC-D as your file description token.
  2296.  
  2297.       o  Use LARC-V as your file version token.
  2298.  
  2299.  
  2300.     ─────────────────────────────────────────────────────────────────
  2301.                     38
  2302.     LARC User's Guide        Chapter 5 - Extension Maintenance
  2303.     ═════════════════════════════════════════════════════════════════
  2304.  
  2305.     Your batch command file would contain the following lines of code
  2306.     to comply with the above listed embedded control token information:
  2307.  
  2308.          ECHO OFF
  2309.          REM
  2310.          REM LARC-L "Library Administration and Release Control"
  2311.          REM LARC-D "Example DOS Command File"
  2312.          REM LARC-V "100"
  2313.          REM
  2314.  
  2315.          DIR *.* >PRN:
  2316.  
  2317.     
  2318.         ╔═════════════════════════════════════════════════════╗
  2319.         ║ NOTE: LARC also makes the system wide release build ║
  2320.         ║       version token available to your build process ║
  2321.         ║       which means an overall system release build   ║
  2322.         ║       identifier can be included in your sources.   ║
  2323.         ║       Chapter 13 describes this system wide release ║
  2324.         ║       build version token in more detail.           ║
  2325.         ╚═════════════════════════════════════════════════════╝
  2326.  
  2327.     
  2328.     Extension Maintenance
  2329.     ═════════════════════
  2330.     The Extension Maintenance function is selected from the Main Menu
  2331.     by moving the highlight bar to extension maintenance on the
  2332.     Maintenance pull down menu.  Only the System Administrator can use
  2333.     this function to maintain the list of extensions in the system.
  2334.  
  2335.     Select the extension maintenance option by pressing the <E> key
  2336.     or by moving the menu bar to extension maintenance and pressing
  2337.     <Enter>.
  2338.  
  2339.     The following field names are used by the extension maintenance
  2340.     functions:
  2341.  
  2342.     Extension:        One to three character file extension.
  2343.                 All files with this extension must contain
  2344.                 embedded token strings.
  2345.  
  2346.     Separator:        One character delimiter such as  ' or "
  2347.                 which defines the character that will
  2348.                 signal the start and end of the text that
  2349.                 is to be associated with each of the
  2350.                 embedded tokens.
  2351.  
  2352.     Library name token:    One to twenty character library name token.
  2353.                 When found in the source file, the text
  2354.                 string is compared against the name of the
  2355.                 selected library to ensure that files are
  2356.                 not accidentally checked into the wrong
  2357.                 library.
  2358.  
  2359.     ─────────────────────────────────────────────────────────────────
  2360.                     39
  2361.     LARC User's Guide        Chapter 5 - Extension Maintenance
  2362.     ═════════════════════════════════════════════════════════════════
  2363.  
  2364.     File description token:    One to twenty character file description
  2365.                 token.  This token is used to define an
  2366.                 optional descriptive text for the file
  2367.                 which will be display and printed by LARC
  2368.                 whenever the file name is referenced.
  2369.  
  2370.     File version token:    One twenty character file version token.
  2371.                 This token is used to define the edit
  2372.                 version of the file.  When found, this
  2373.                 version number is compared against the
  2374.                 previous file version number to ensure
  2375.                 that the user properly increments the
  2376.                 version before checking the file back
  2377.                 into the library.
  2378.  
  2379.  
  2380.     Add an Extension
  2381.     ════════════════
  2382.     This function is used to add a new extension to LARC.  When
  2383.     selected, you will be asked to enter the new extension you are
  2384.     adding to the system.
  2385.     
  2386.     Once you have entered a unique new extension, you may then enter
  2387.     the token information that you want associated with the new
  2388.     extension.
  2389.  
  2390.     Press the <End> key when you have entered the new extension
  2391.     information.  The information will be stored in the extension
  2392.     name file and you will return to the System Maintenance Menu
  2393.     screen.
  2394.  
  2395.  
  2396.     Modify an Extension
  2397.     ═══════════════════
  2398.     This function is used to modify extension information.  Enter the
  2399.     extension that is to be modified and the details of the extension
  2400.     will be displayed.
  2401.  
  2402.         ╔═════════════════════════════════════════════════════╗
  2403.         ║ NOTE: You should be very careful when changing      ║
  2404.         ║       extension information.  You can modify the    ║
  2405.         ║       parameters for any extension, even extensions ║
  2406.         ║       with active files, so make sure that you      ║
  2407.         ║       carefully review all of the displayed         ║
  2408.         ║       information to ensure that the correct        ║
  2409.         ║       extension is being changed.                   ║
  2410.         ╚═════════════════════════════════════════════════════╝
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.     ─────────────────────────────────────────────────────────────────
  2419.                     40
  2420.     LARC User's Guide        Chapter 5 - Extension Maintenance
  2421.     ═════════════════════════════════════════════════════════════════
  2422.  
  2423.     Once you have selected the extension you may then change the
  2424.     token information for that extension.  Press the <End> key when
  2425.     you have entered the modified extension information.  The
  2426.     information will be stored in the library name file and you will
  2427.     return to the System Maintenance Menu screen.
  2428.  
  2429.  
  2430.     Delete an Obsolete Extension
  2431.     ════════════════════════════
  2432.     This function is used to remove obsolete extensions from the
  2433.     system.  Enter the extension that is to be deleted and the details
  2434.     of the extension will be displayed.  You must then verify that
  2435.     you have indeed entered the correct extension before it can be
  2436.     deleted.
  2437.  
  2438.         ╔═════════════════════════════════════════════════════╗
  2439.         ║ NOTE: You should be very careful when deleting      ║
  2440.         ║       extensions from LARC.  You can delete any     ║
  2441.         ║       extension, even extensions with active files. ║
  2442.         ║       Make sure that you carefully review all of    ║
  2443.         ║       the displayed information to ensure that the  ║
  2444.         ║       correct extension is being deleted.           ║
  2445.         ╚═════════════════════════════════════════════════════╝
  2446.  
  2447.     Press the <Y> key if you are absolutely sure you want to delete
  2448.     the extension from the system.  Press any other key to return to
  2449.     the System Maintenance Menu screen.
  2450.  
  2451.     
  2452.     Show All Extensions
  2453.     ═══════════════════
  2454.     This function will display a list of all of the available
  2455.     extensions.
  2456.     
  2457.     Print All Extensions
  2458.     ════════════════════
  2459.     This function will print a list of all of the available
  2460.     extensions.
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.     ─────────────────────────────────────────────────────────────────
  2478.                     41
  2479.     ╔══════════════╗
  2480.     ║              ║
  2481.     ║ ╔════════════╩════════════════════════════════════════════════╗
  2482.     ║ ║ Chapter 6                            ║
  2483.     ║ ╚════════════╦════════════════════════════════════════════════╝
  2484.     ║              ║
  2485.     ║    ▄████▄    ║  User Maintenance
  2486.     ║    ██  ▀▀    ║
  2487.     ║    █████▄    ║  This chapter explains how to maintain the list
  2488.     ║    ██  ██    ║  of users that LARC will allow to access the
  2489.     ║    ▀████▀    ║  libraries.
  2490.     ║              ║
  2491.     ╚══════════════╝
  2492.  
  2493.  
  2494.     User Maintenance
  2495.     ════════════════
  2496.     The User Maintenance function is selected from the Main Menu by
  2497.     moving the highlight bar to user maintenance on the Maintenance
  2498.     pull down menu.  The System Administrator can use this function
  2499.     to maintain information for all users.  Individual users can use
  2500.     this function to maintain their own information. 
  2501.     
  2502.     Select the user maintenance option by pressing the <U> key or by
  2503.     moving the menu bar to user maintenance and pressing <Enter>.
  2504.     
  2505.     The following field names are used by the user maintenance
  2506.     functions:
  2507.     
  2508.     User Initials:    One to three characters that are the initials of
  2509.             the user.  LARC uses these initials to determine
  2510.             the user's access rights and to record user
  2511.             activity in the system activity log.
  2512.     
  2513.     Password:    One to ten characters that are the password for
  2514.             the user.
  2515.     
  2516.     Level:        One character security access level for the user.
  2517.             Level 9 users are have the highest access rights
  2518.             and are referred to as System Administrators.
  2519.             System Administrators have complete access to
  2520.             all of LARC's files and features.
  2521.     
  2522.     Path:        One to sixty-six character path name that is the
  2523.             default file check out and check in path for the
  2524.             user.  This path is used as the default file copy
  2525.             path if the user does not provide a path to the
  2526.             check in and check out functions.  If you leave
  2527.             this path blank, then LARC will check out files
  2528.             and check in files using the path from which LARC
  2529.             was started.
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535.  
  2536.     ─────────────────────────────────────────────────────────────────
  2537.                     42
  2538.     LARC User's Guide             Chapter 6 - User Maintenance
  2539.     ═════════════════════════════════════════════════════════════════
  2540.  
  2541.     Add a User
  2542.     ══════════
  2543.     This function is used to add a new user to LARC.  Press the <End>
  2544.     key when you have entered the new user information.  The
  2545.     information will be stored in the user name file and you will
  2546.     return to the System Maintenance Menu screen.
  2547.     
  2548.     
  2549.     Modify a User
  2550.     ═════════════
  2551.     This function is used to modify user information.  Select the
  2552.     user that is to be modified and the details of the user will be
  2553.     displayed.    
  2554.     
  2555.         ╔═════════════════════════════════════════════════════╗
  2556.         ║ NOTE: You should be very careful when changing user ║
  2557.         ║       information.  You can modify the parameters   ║
  2558.         ║       for any user, even active users, so make sure ║
  2559.         ║       that you carefully review all of the displayed║
  2560.         ║       information to ensure that the correct user is║
  2561.         ║       being changed.                                ║
  2562.         ╚═════════════════════════════════════════════════════╝
  2563.     
  2564.     Once you have entered the initials, you may then enter the changes
  2565.     to that user's information.  Press the <End> key when you have
  2566.     entered the changes for the user.  The information will be stored
  2567.     in the user name file and you will return to the System Maintenance
  2568.     Menu screen.
  2569.  
  2570.  
  2571.     Delete an Obsolete User
  2572.     ═══════════════════════
  2573.     This function is used to remove obsolete users from the system.
  2574.     Enter the initials of the user that is to be deleted and the
  2575.     details of that user will be displayed.
  2576.     
  2577.         ╔═════════════════════════════════════════════════════╗
  2578.         ║ NOTE: You should be very careful when deleting users║
  2579.         ║       from LARC.  You can delete any user, even     ║
  2580.         ║       active users with files still checked out.    ║
  2581.         ║       Also, you need to make sure that the user does║
  2582.         ║       not have any files currently checked out      ║
  2583.         ║       before he is deleted.  Make sure that you     ║
  2584.         ║       carefully review all of the displayed         ║
  2585.         ║       information to ensure that the correct user   ║
  2586.         ║       is being deleted.                             ║
  2587.         ╚═════════════════════════════════════════════════════╝
  2588.     
  2589.     Once you have entered a unique set of initials, you must then
  2590.     verify that you have indeed entered the correct user before they
  2591.     will be deleted.  Press the <Y> key if you are absolutely sure
  2592.     you want to delete the user from the system.  The user will be
  2593.     deleted from the user name file and you will return to the System
  2594.     Maintenance Menu screen.
  2595.     ─────────────────────────────────────────────────────────────────
  2596.                     43
  2597.     LARC User's Guide             Chapter 6 - User Maintenance
  2598.     ═════════════════════════════════════════════════════════════════
  2599.  
  2600.     Show All Users
  2601.     ══════════════
  2602.     The Show All Users function displays a list of all of the
  2603.     available users.    
  2604.     
  2605.  
  2606.     Print All Users
  2607.     ═══════════════
  2608.     The Print All Users function prints a list of all of the
  2609.     available users.    
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.     ─────────────────────────────────────────────────────────────────
  2655.                     44
  2656.     ╔══════════════╗
  2657.     ║              ║
  2658.     ║ ╔════════════╩════════════════════════════════════════════════╗
  2659.     ║ ║ Chapter 7                            ║
  2660.     ║ ╚════════════╦════════════════════════════════════════════════╝
  2661.     ║              ║
  2662.     ║    ██████    ║  LARC Configuring File
  2663.     ║        ██    ║
  2664.     ║       ██     ║  This chapter explains how to set up and maintain
  2665.     ║      ██      ║  the LARC system configuration file for single
  2666.     ║     ██       ║  or multiple users.  It also describes the LARC
  2667.     ║              ║  startup parameters and provides some tips on
  2668.     ╚══════════════╝  how best to start LARC for your users.
  2669.  
  2670.  
  2671.     The LARC Configuration File
  2672.     ═══════════════════════════
  2673.     When started, LARC is passed the name of a configuration file.
  2674.     This configuration file tells LARC several things about the system
  2675.     on which LARC is running.  The configuration file tells LARC:
  2676.  
  2677.       o  the location of LARC programs and data files
  2678.  
  2679.       o  the type of access security to be used
  2680.  
  2681.       o  LARC system screen colors
  2682.  
  2683.       o  the characteristics of the printer that you will be using
  2684.          with LARC
  2685.  
  2686.       o  the drive letters of the floppy diskettes configured on your
  2687.          system
  2688.  
  2689.     Each line in the file contains a SET command.  These SET commands
  2690.     are described in the following sections.
  2691.  
  2692.     SET SYSTEM NAME "system-name"
  2693.     ─────────────────────────────
  2694.     This command tells LARC where to find the LARC executable
  2695.     programs and command files.  "system-name" can contain any
  2696.     sequence of 50 characters.
  2697.  
  2698.     SET SYSTEM EXECUTABLES d:\path
  2699.     ──────────────────────────────
  2700.     This command tells LARC where to find the LARC executable
  2701.     programs and command files.  "d:\path" can contain any valid
  2702.     drive letter and path designator.
  2703.  
  2704.     SET SYSTEM DATAFILES d:\path
  2705.     ────────────────────────────
  2706.     This command tells LARC where to find the LARC data files.
  2707.     "d:\path" can contain any valid drive letter and path
  2708.     designator.
  2709.  
  2710.  
  2711.  
  2712.  
  2713.     ─────────────────────────────────────────────────────────────────
  2714.                     45
  2715.     LARC User's Guide        Chapter 7 - LARC Configuring File
  2716.     ═════════════════════════════════════════════════════════════════
  2717.  
  2718.         ╔═════════════════════════════════════════════════════╗
  2719.         ║ NOTE: You should never change the two previous SET  ║
  2720.         ║       commands unless you also move all of the files║
  2721.         ║       from the old directories to the new           ║
  2722.         ║       directories.  Changing these two SET commands ║
  2723.         ║        could result in LARC no longer running        ║
  2724.         ║       properly.                                     ║
  2725.         ╚═════════════════════════════════════════════════════╝
  2726.  
  2727.     SET SYSTEM TIMEOUT nnnn
  2728.     ───────────────────────
  2729.     This command defines the amount of time to wait for a keyboard
  2730.     key to be pressed before timing out and returning to the previous
  2731.     screen or menu.  Nearly every place where LARC is waiting for
  2732.     keyboard input, it is also watching to see how much time has
  2733.     elapsed since the last time a key was pressed.  If the wait
  2734.     period specified by this command is reached, LARC will cancel the
  2735.     current keyboard input request and backup to the previous screen
  2736.     or menu.
  2737.  
  2738.     The timeout feature reduces the risk of someone logging onto LARC,
  2739.     then leaving before signing off which could allow some unknown
  2740.     person access to LARC.
  2741.  
  2742.     The timeout interval nnn is specified in seconds.  For example,
  2743.     0120 would specify that the keyboard wait interval is 120 seconds,
  2744.     or two minutes.  A value of 0000 disables the timeout feature.
  2745.  
  2746.         ╔═════════════════════════════════════════════════════╗
  2747.         ║ NOTE: If you are using the OS/2 version of LARC and ║
  2748.         ║       want to leave LARC running in an OS/2 window, ║
  2749.         ║       you should set the time out interval to 0000. ║
  2750.         ║       Otherwise, LARC would timeout and exit which  ║
  2751.         ║       would cause you window to be closed.          ║
  2752.         ╚═════════════════════════════════════════════════════╝
  2753.  
  2754.     SET SYSTEM LOGON n
  2755.     ──────────────────
  2756.     This command defines the system security method to be used.  "n"
  2757.     must be set to one of the following numbers:
  2758.  
  2759.       1    Logon once only when LARC is started.  No logoff to exit
  2760.         to the operating system.  Access to the various LARC
  2761.         functions are controlled via the security setting assigned
  2762.         to each user by the LARC System Administrator.
  2763.  
  2764.       2    Logon each time a library is selected.  Logoff to exit to
  2765.         the operating system.  Access to the various LARC
  2766.         functions are controlled via the security setting assigned
  2767.         to each user by the LARC System administrator.  Only users
  2768.         with the appropriate access level will be allowed to exit
  2769.         LARC and return to the operating system.
  2770.  
  2771.  
  2772.     ─────────────────────────────────────────────────────────────────
  2773.                     46
  2774.     LARC User's Guide        Chapter 7 - LARC Configuring File
  2775.     ═════════════════════════════════════════════════════════════════
  2776.  
  2777.     SET DISPLAY xxxx
  2778.     ────────────────
  2779.     This command tells LARC what type of screen I/O to perform.
  2780.     "xxxx" can be set to one of the following values:
  2781.  
  2782.       DOS        Perform DOS level screen I/O.  This mode is the
  2783.             slowest mode, but is the most compatible with
  2784.             non-standard machines.
  2785.  
  2786.       BIOS        Perform BIOS level screen I/O.  This mode is
  2787.             slightly faster than DOS mode, and can be used on
  2788.             any system that is 100% compatible with standard
  2789.             AT BIOS.
  2790.  
  2791.       MAPPED    Perform direct video memory mapped screen I/O
  2792.             (default).  This is the fastest mode and can be
  2793.             used with any machine that is 100% compatible
  2794.             with the original AT specification.
  2795.  
  2796.     It is recommended that you use MAPPED mode unless you encounter a
  2797.     display problem.
  2798.  
  2799.     SET SYSTEM PATHTOUSE n
  2800.     ──────────────────────
  2801.     This command controls the process of prompting you for a
  2802.     destination or source path.  "n" must be set to one of the
  2803.     following numbers:
  2804.  
  2805.       0    Display the path name prompt and use the path name if one
  2806.         is entered.  If no path is entered, use the path in the
  2807.         user's password file.  If both are blank, use the default
  2808.         path.
  2809.  
  2810.       1    Do not prompt for a path name.  Instead, always use the
  2811.         path in the user's password file.  If the user's password
  2812.         path is blank, use the default path.
  2813.  
  2814.       2    Do not prompt for a path name and ignore the path in the
  2815.         user's password file.  Always use the default path.
  2816.  
  2817.     SET COLOR which foreground ON background
  2818.     ────────────────────────────────────────
  2819.     This command defines the screen colors used by LARC for the
  2820.     various areas or types of information displayed by LARC.  "which"
  2821.     defines the screen area being displayed and must be set to one of
  2822.     the following:
  2823.  
  2824.       NORMAL      Normal screen text
  2825.       HEADER          Screen header
  2826.       HEADER2         Display column heading
  2827.       BARMENU         Menu bar
  2828.       LASTLINE        Screen footer
  2829.       ACTIONS         Menu box selection bar
  2830.       WARNING         Warning messages
  2831.     ─────────────────────────────────────────────────────────────────
  2832.                     47
  2833.     LARC User's Guide        Chapter 7 - LARC Configuring File
  2834.     ═════════════════════════════════════════════════════════════════
  2835.  
  2836.       ABORT           Abort messages
  2837.       INFORMATION     Information boxes
  2838.       EDITS           Edit boxes
  2839.       HOTKEY          Menu hot keys
  2840.       DATAENTRY       Data entry boxes
  2841.       ACTIVE          End of edit
  2842.       SELECTION       Selection scroll bar
  2843.       REVISED         Updated (revised) files
  2844.       SHADOW          Box shadow
  2845.       CHECKEDOUT      Checked out files
  2846.       FILEIOBAR       File I/O activity bar
  2847.       TAGGED          Tagged files
  2848.       FULLRELEASE     Full release information
  2849.       PRINTBOX        Printing... information box
  2850.  
  2851.     Recognized foreground colors names are:
  2852.  
  2853.       BLACK     RED         GREEN     BROWN     BLUE        MAGENTA
  2854.       CYAN      WHITE       GRAY      HI-RED    HI-GREEN    YELLOW
  2855.       HI-BLUE   HI-MAGENTA  HI-CYAN   HI-WHITE
  2856.  
  2857.     Recognized background colors names are:
  2858.  
  2859.       BLACK     RED         GREEN     BROWN
  2860.       BLUE      MAGENTA     CYAN      WHITE
  2861.  
  2862.     SET PRINTER ACTIVE YES|NO
  2863.     ─────────────────────────
  2864.     This command defines whether or not you have a printer attached
  2865.     to LARC.  It is highly recommended that you attach a printer to
  2866.     your system since LARC provides several valuable reports.  You
  2867.     must be set this command to either "YES" or "NO".
  2868.  
  2869.     SET PRINTER LINESPAGE nn
  2870.     ────────────────────────
  2871.     This command defines the number of text lines per page for your
  2872.     reports.  The number of lines per page only counts the body lines.
  2873.     The header lines are not included in the count.  "nn" can be any
  2874.     value from 01 to 99.
  2875.  
  2876.     SET PRINTER INITIALIZE string
  2877.     SET PRINTER CONDENSE string
  2878.     SET PRINTER NORMAL string
  2879.     SET PRINTER DONE string
  2880.     ─────────────────────────────
  2881.     These commands define the printer initialization, condense mode,
  2882.     normal print mode and termination command strings that will be
  2883.     sent to the printer prior to and after a report is printed.  These
  2884.     strings allow you to "customize" LARC for your specific printer.
  2885.     "string" can be any sequence of characters, from 1 to 50
  2886.     characters, which is recognized by your printer for performing
  2887.     the desired function.
  2888.  
  2889.  
  2890.     ─────────────────────────────────────────────────────────────────
  2891.                     48
  2892.     LARC User's Guide        Chapter 7 - LARC Configuring File
  2893.     ═════════════════════════════════════════════════════════════════
  2894.  
  2895.     SET FLOPPY 360KB  d
  2896.     SET FLOPPY 1.2MB  d
  2897.     SET FLOPPY 720KB  d
  2898.     SET FLOPPY 1.44MB d
  2899.     ───────────────────
  2900.     These commands define the drive letters for the floppy diskettes
  2901.     you have available on your system.  LARC uses this information
  2902.     when creating release diskettes to ensure that correctly formatted
  2903.     diskettes are used when you create your releases.  "d" can be any
  2904.     valid floppy drive letter, such as A or B.
  2905.  
  2906.  
  2907.     Starting LARC
  2908.     ═════════════
  2909.     To start LARC, you enter the command:
  2910.  
  2911.       d:\path\LARC3.EXE d:\cfg-path\filename.cfg
  2912.  
  2913.     "d:\path" is the drive and path name of the LARC3.EXE program. 
  2914.     "d:\cfg-path\filename.cfg" is the name of the LARC configuration
  2915.     file to use.
  2916.  
  2917.     The configuration file tells LARC not only were the LARC program
  2918.     and data files live, it also provides other information to LARC
  2919.     such as what screen colors and printer initialization commands to
  2920.     use.  This allows each user to customize LARC to suite their own
  2921.     personal taste.  It also would allow you to customize various
  2922.     configuration of LARC so that you can easily determine which set
  2923.     of libraries you were working with.
  2924.  
  2925.     For example, lets assume that you are developing two distinct
  2926.     software products.  You could create a PROD1.CFG and a PROD2.CFG.
  2927.     Each configuration file could point to two different sets of LARC
  2928.     data files, yet both point to the same set of LARC executable.
  2929.     These two sets of LARC data files could also define a specific
  2930.     set of developers that could access each product's libraries.  You
  2931.     may also decide to change the screen colors of the second LARC so
  2932.     that you can easily tell which system you selected by the color of
  2933.     the screen.
  2934.  
  2935.     The real flexibility of the configuration files is with individual
  2936.     users who are running LARC from a network drive.  Each user
  2937.     provides there own customized configuration file that tells LARC
  2938.     where to find the program and data files on the network, and
  2939.     provides LARC with information on the users printer and diskette
  2940.     configuration.
  2941.  
  2942.     LARC is delivered with a command file named LARC.BAT for DOS
  2943.     versions and LARC.CMD for OS/2 versions.  This file is configured
  2944.     to start LARC3.EXE from the default LARC installation directory
  2945.     C:\LARC.  You may need to modify this command file in order to
  2946.     start LARC from some other drive or directory.  And if you use
  2947.     more than one configuration of LARC, you may need to create a
  2948.  
  2949.     ─────────────────────────────────────────────────────────────────
  2950.                     49
  2951.     LARC User's Guide        Chapter 7 - LARC Configuring File
  2952.     ═════════════════════════════════════════════════════════════════
  2953.  
  2954.     startup command file for each configuration (e.g. LARC1.BAT,
  2955.     LARC1.CMD, etc.).
  2956.  
  2957.     Assuming you installed LARC in the default installation directory
  2958.     and assuming you want to use the default configuration file,
  2959.     simply enter the command:
  2960.  
  2961.       LARC
  2962.  
  2963.     This command assumes that you have the LARC.BAT file in a
  2964.     directory that is included in your path statement.  If not, then
  2965.     you will need to enter the command:
  2966.  
  2967.       C:\LARCDIR\LARC
  2968.  
  2969.     
  2970.     Starting LARC From Microsoft Windows
  2971.     ════════════════════════════════════
  2972.     LARC can be started from Microsoft Windows by simply creating a
  2973.     Windows Program Information File (PIF).  LARC does not require
  2974.     any special resources so a standard PIF should work fine.  LARC
  2975.     does not provide a special Windows icon, so you are free to use
  2976.     any one of Window's standard icons.  We like using the Windows
  2977.     supplied icon that depicts a safe since LARC provides a "safe"
  2978.     environment for controlling your files.
  2979.  
  2980.     When you create your LARC PIF, make sure that you specify the
  2981.     complete LARC command, including the drive and path for the LARC
  2982.     configuration file.
  2983.  
  2984.         ╔═════════════════════════════════════════════════════╗
  2985.         ║ NOTE: We have observed a peculiar behaviour with the║
  2986.         ║       Microsoft Windows windowed DOS box. Under     ║
  2987.         ║       certain undefined conditions, Windows fails to║
  2988.         ║       properly establish the windowed DOS box       ║
  2989.         ║       default path.  We have also observed that     ║
  2990.         ║       under these conditions, the heading for the   ║
  2991.         ║       windowed DOS box contains unexpected text.    ║
  2992.         ║       We urge caution when using the windowed DOS   ║
  2993.         ║       box until after a problem has been better     ║
  2994.         ║       defined and, hopefully, resolved by Microsoft.║
  2995.         ╚═════════════════════════════════════════════════════╝
  2996.     
  2997.     Network Environments
  2998.     ════════════════════
  2999.     Users in a network environment can install and execute LARC on a
  3000.     network drive.  However, you are subject to a network license
  3001.     agreement and must install the proper version of LARC before
  3002.     multiple users will be able to access LARC.
  3003.  
  3004.     Once you have installed a proper version of LARC on the network,
  3005.     setup and maintenance of LARC is the same as for the single user
  3006.     configuration.
  3007.  
  3008.     ─────────────────────────────────────────────────────────────────
  3009.                     50
  3010.     LARC User's Guide        Chapter 7 - LARC Configuring File
  3011.     ═════════════════════════════════════════════════════════════════
  3012.  
  3013.     LARC controls access to the various libraries it is managing to
  3014.     ensure that two or more users are not allowed to check out the
  3015.     same file at the same time.  The second user will be presented a
  3016.     message indicating that the someone else is currently in the
  3017.     library and asks him to try again in a few minutes.
  3018.  
  3019.     Chapter 1 has more information concerning use of LARC in a
  3020.     networked environment.
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.     ─────────────────────────────────────────────────────────────────
  3068.                     51
  3069.     ╔══════════════╗
  3070.     ║              ║
  3071.     ║ ╔════════════╩════════════════════════════════════════════════╗
  3072.     ║ ║ Chapter 8                            ║
  3073.     ║ ╚════════════╦════════════════════════════════════════════════╝
  3074.     ║              ║
  3075.     ║    ▄████▄    ║  Command Files
  3076.     ║    ██  ██    ║
  3077.     ║     ████     ║  This chapter explains how to configure the
  3078.     ║    ██  ██    ║  system command files that LARC uses to produce
  3079.     ║    ▀████▀    ║  releases, create back up sets, and generate
  3080.     ║              ║  release diskettes.
  3081.     ╚══════════════╝
  3082.  
  3083.  
  3084.     Command File Descriptions
  3085.     ═════════════════════════
  3086.         In addition to the source files contained in a library, LARC
  3087.     recognizes several file names that have very specific purposes.
  3088.     These special files are used to build product releases, create
  3089.         release diskettes, produce intermediate backups and produce final
  3090.     off-site archives of final releases.  The DOS version of LARC
  3091.     uses the *.BAT files while the OS/2 version of LARC uses thE
  3092.     *.CMD files.
  3093.  
  3094.     The library specific command files are:
  3095.  
  3096.       LARCBLDn.BAT/CMD:    These files contain the system commands
  3097.                 required to build your product release.
  3098.  
  3099.       BUILDFIN.CTL:        This file is created by the LARC build
  3100.                 command files to let LARC know if the
  3101.                 build completed successfully.
  3102.  
  3103.       LARCARC.BAT/CMD:    This file contains the system commands
  3104.                 required to produce a complete archive of
  3105.                 all sources and built releases for a
  3106.                 product.  This file is automatically
  3107.                 executed whenever you create a final or
  3108.                 full release of your product.
  3109.  
  3110.       LARCRELn.CUT:        This file contains parameters that LARC
  3111.                 uses to know what files to copy to your
  3112.                 release diskettes whenever you create
  3113.                 your release diskette.
  3114.  
  3115.       LARCBUP.BAT/CMD:    These files contain the system commands
  3116.                 required to produce a backup of each
  3117.                 specific library that LARC is maintaining.
  3118.  
  3119.       LARCSERL.BAT/CMD:    These files contain the system commands
  3120.                 required to add serial number information
  3121.                 to your release diskettes.
  3122.  
  3123.       DISKnn.CTL:        These files are optionally created on
  3124.                 your release diskettes for use with an
  3125.                 intelligent installation program.
  3126.     ─────────────────────────────────────────────────────────────────
  3127.                     52
  3128.     LARC User's Guide                Chapter 8 - Command Files
  3129.     ═════════════════════════════════════════════════════════════════
  3130.  
  3131.     The system-wide command files are:
  3132.  
  3133.       LARCBACK.BAT/CMD:    These files contain the system commands
  3134.                 required to produce a complete backup of
  3135.                 all of your LARC executable, data and
  3136.                 library files.
  3137.  
  3138.       LARCFORM.BAT/CMD:    These files contain the system commands
  3139.                 required to produce a complete backup of
  3140.                 all of your LARC executable, data and
  3141.                 library files.
  3142.  
  3143.     How Do the Command Files Work Together?
  3144.     ═══════════════════════════════════════
  3145.     When you ask LARC to build a release, several steps are taken:
  3146.  
  3147.       1.    You select the library that you wish to build.
  3148.  
  3149.       2.    You select the release number for that library.
  3150.  
  3151.       3.    LARC changes to the release directory associated with the
  3152.         release number you selected and deletes any previously
  3153.         existing files from the release directory.  In this way,
  3154.         you are assured that you are always starting with a clean
  3155.         directory.  This is the preferred method since it
  3156.         guarantees that all components will be compiled and
  3157.         linked each time a build is produced.
  3158.  
  3159.       4.    LARC executes the selected command file LARCBLDn.BAT for
  3160.         DOS or LARCBLDn.CMD for OS/2.
  3161.  
  3162.       5.    When the LARC build command finishes and returns to LARC,
  3163.         LARC looks for the file BUILDFIN.CTL in the release
  3164.         directory.  If the file is present in the release
  3165.         directory, this tells LARC that the build completed
  3166.         successfully.  LARC will store the release identifier you
  3167.         selected for the release in the Release Control file.
  3168.  
  3169.       6.    If the BUILDFIN.CTL file is not found in the release
  3170.         directory, LARC assumes that the build failed and does
  3171.         not record the release identifier.  This allows you to
  3172.         correct the problem(s) and restart the build process and
  3173.         use the same release identifier.
  3174.  
  3175.       7.    If you selected a full release build in response to the
  3176.         build number prompt, and if the build completed, then
  3177.         LARC will execute the archive file (LARCARC.BAT for DOS
  3178.         or LARCARC.CMD for OS/2) to produce an archive of the
  3179.         product release.
  3180.  
  3181.     As you may have noticed, the LARC build command files are very
  3182.     important to the process of building your release.  You create
  3183.     and maintain the LARC build files by adding the commands required
  3184.  
  3185.     ─────────────────────────────────────────────────────────────────
  3186.                     53
  3187.     LARC User's Guide                Chapter 8 - Command Files
  3188.     ═════════════════════════════════════════════════════════════════
  3189.  
  3190.     to build your product.  LARC will faithfully ensure that your
  3191.     commands are executed in the same sequence every time you build
  3192.     your product.
  3193.  
  3194.  
  3195.     LARCBLDn.BAT or LARCBLDn.CMD
  3196.     ════════════════════════════
  3197.     Each release directory has a command file named LARCBLDn.BAT for
  3198.     DOS and LARCBLDn.CMD for OS/2.  The "n" portion of the name is a
  3199.     number from one to five that associates the file with the release
  3200.     directory.  These files are known as LARC build files and they
  3201.     contain the commands necessary to build a product.
  3202.  
  3203.     When you select the release build option from the Release pull
  3204.     down menu and select a release number, LARC will execute the
  3205.     build command file associated with the release number you
  3206.     selected.
  3207.  
  3208.     The LARC build command file is simply a command file in which you
  3209.     place the system commands necessary to build your product.  Using
  3210.     a command file in this way allows LARC to provide you complete
  3211.     control in selecting the tools and techniques you require to build
  3212.     your release.  The LARC build command file is by far the most
  3213.     important file in the system since it defines how your product
  3214.     will be built.
  3215.  
  3216.     When LARC executes a build file, it passes the following
  3217.     parameters to the file:
  3218.  
  3219.       %1    The release identifier that you enter when you started
  3220.         the build.
  3221.  
  3222.       %2    The release number or "F" if you selected to build the
  3223.         final release.
  3224.  
  3225.       %3    The library's hard drive letter and colon (e.g., C:)
  3226.  
  3227.       %4    The library's source directory name (e.g.,
  3228.         C:\EXAMPLE\SOURCES).
  3229.  
  3230.       %5    The library's release directory name (e.g.,
  3231.         C:\EXAMPLE\RELEASE).
  3232.  
  3233.       %6    The current system date, formatted as mm-dd-yy.
  3234.  
  3235.       %7    The current system time, formatted as hh:mm:ss.
  3236.  
  3237.       %8    The source library number.  This number can be used with
  3238.         several LARC utilities that may be executed from your
  3239.         LARC build command files.  Further information can be
  3240.         found in Chapter 16.
  3241.  
  3242.  
  3243.  
  3244.     ─────────────────────────────────────────────────────────────────
  3245.                     54
  3246.     LARC User's Guide                Chapter 8 - Command Files
  3247.     ═════════════════════════════════════════════════════════════════
  3248.  
  3249.       %9    This parameter contains the same release identifier that
  3250.         was passed in argument %1.  However, here the identifier
  3251.         has several special characters removed.  These characters
  3252.         are "V" (only if it is the first character), "." or "_".
  3253.         For example, if you entered "V1.00" as your release
  3254.         identifier, this parameter would contain "100".  This
  3255.         parameter allows you to use the release identifier as
  3256.         part of file names that you may need to create when
  3257.         building your product release.
  3258.  
  3259.     The LARC build command files can be as simple as a file that
  3260.     contains a single NMAKE command, or as complex as containing path
  3261.     set statements, copy commands, "IF EXISTS" statements, individual
  3262.     compile and link commands, and any other system level commands
  3263.         required to build your release.
  3264.  
  3265.     The only requirement that LARC places on LARC build command files
  3266.     is that they must create a BUILDFIN.CTL file when they have
  3267.     finished.  This tells LARC that the build completed successfully.
  3268.     We will discuss the BUILDFIN.CTL file in greater detail in a
  3269.     moment.  First we need to see some example LARC build command
  3270.     files.
  3271.  
  3272.     Here is a simple LARC build command file for DOS.  The OS/2
  3273.     version of the file will look very similar and often may be
  3274.     identical to the DOS example provided here:
  3275.  
  3276.         @ECHO OFF
  3277.         REM 
  3278.         REM LARC-L "Example Library"
  3279.         REM LARC-D "Release 1 Build File"
  3280.         REM LARC-V "100"
  3281.         REM 
  3282.         COPY %4\*.* *.* >NUL
  3283.         NMAKE -S -FEXAMPLE.MAK >>MAKE.OUT
  3284.         IF NOT EXIST %4\EXAMPLE.EXE GOTO ERR01
  3285.         ECHO %6%7%2%1 >BUILDFIN.CTL
  3286.         GOTO DONE
  3287.  
  3288.         :ERR01
  3289.         ECHO.>>MAKE.OUT
  3290.         ECHO>>MAKE.OUT Error: EXAMPLE.EXE did not build!
  3291.  
  3292.         :DONE
  3293.         PRINT MAKE.OUT
  3294.  
  3295.     Here is a description of the example LARC build file:
  3296.  
  3297.         @ECHO OFF
  3298.         REM 
  3299.         REM LARC-L "Example Library"
  3300.         REM LARC-D "Release 1 Build File"
  3301.         REM LARC-V "100"
  3302.         REM 
  3303.     ─────────────────────────────────────────────────────────────────
  3304.                     55
  3305.     LARC User's Guide                Chapter 8 - Command Files
  3306.     ═════════════════════════════════════════════════════════════════
  3307.  
  3308.     The LARC build files are checked into your source library and are
  3309.     controlled by LARC just like all of your other source files.  So,
  3310.     they must have proper release control information.
  3311.  
  3312.         COPY %4\*.* *.* >NUL
  3313.  
  3314.     Remember that LARC clears the release directory for you, and sets
  3315.     your active path to the release directory.  The example command
  3316.     file is issuing the copy command to copy the example source files
  3317.     from the source library into the release directory.
  3318.  
  3319.     The %4 parameter is used to help keep the command file "generic"
  3320.     in case the library is moved or the file is used as a base for a
  3321.     future file.  The copy command may not be necessary if the
  3322.     EXAMPLE.MAK file could be made to find the source files in the
  3323.     source directory.  However, since you are likely to want to use
  3324.     the same make file for developing and final release building,
  3325.     using the copy command may be the easiest thing to do.
  3326.  
  3327.         NMAKE -S -FEXAMPLE.MAK >>MAKE.OUT
  3328.  
  3329.     This line shows how you might use the Microsoft C NMAKE utility
  3330.     to perform the build.  EXAMPLE.MAK is checked into your library
  3331.     just like any other source file and it will be copied into the
  3332.     release directory by the previous copy command.  Notice that we
  3333.     have used the system pipe facility ">>MAKE.OUT" to route the
  3334.     screen output into the file MAKE.OUT that will be created in the
  3335.     release directory.  Though not required, it is highly recommended
  3336.     that you take advantage of this type of activity recording
  3337.     otherwise some problem may scroll past you on the screen and be
  3338.     missed.  Piping your tool output to a file will help you debug
  3339.     any problems you encounter with your build files.
  3340.  
  3341.         IF NOT EXIST 3%4\EXAMPLE.EXE GOTO ERR01
  3342.  
  3343.     After NMAKE has completed, a simple "IF EXISTS" command is issued
  3344.     to verify that the EXAMPLE.EXE program was properly created by
  3345.     the NMAKE step.  If not found, then a message is displayed and
  3346.     BUILDFIN.CTL will not be created.
  3347.  
  3348.         ECHO %6%7%2%1 >BUILDFIN.CTL
  3349.         GOTO DONE
  3350.  
  3351.     If the EXAMPLE.EXE program was found, then the date, time,
  3352.     release type and release identifier is piped into the BUILDFIN.CTL
  3353.     file as required by LARC.  Creating this file tells LARC that the
  3354.     build completed successfully.  Piping the date, time, release type
  3355.     and release identifier into the file allows LARC to later identify
  3356.     the release.  As you will see in a later example, you want to be
  3357.     as specific as possible when trying to determine whether the build
  3358.     completed successfully.   Where possible, you would want to check
  3359.     the ERRORLEVEL returned by your tools (compilers, linkers, etc.)
  3360.     to verify the status of the build.
  3361.  
  3362.     ─────────────────────────────────────────────────────────────────
  3363.                     56
  3364.     LARC User's Guide                Chapter 8 - Command Files
  3365.     ═════════════════════════════════════════════════════════════════
  3366.  
  3367.         :ERR01
  3368.         ECHO.>>MAKE.OUT
  3369.         ECHO>>MAKE.OUT Error: EXAMPLE.EXE did not build!
  3370.  
  3371.     The ERR01 section places the error message in the MAKE.OUT file.
  3372.     This allows you to see where the build failed.
  3373.  
  3374.         :DONE
  3375.         PRINT MAKE.OUT
  3376.  
  3377.     The DONE section prints the piped build results file MAKE.OUT and
  3378.     then exits.  When the LARC build command file exits, LARC will
  3379.     display a "press any key to continue" message and check for
  3380.     BUILDFIN.CTL.  As mentioned above, if BUILDFIN.CTL does not exist,
  3381.     LARC assumes that the build did not complete successfully.  This
  3382.     allows you to have complete control over what is a successful
  3383.     build and what is a bad build.
  3384.  
  3385.     Since the LARC build files are standard system batch command
  3386.     files, you can take advantage of the features provided by your
  3387.     operating system to improve the maintenance of your build procedure.
  3388.     For example, you can use a combination of the ECHO command and file
  3389.     output piping to display and record build progress information as
  3390.     shown below.
  3391.  
  3392.         ECHO Compiling %4\MAKEBOOT.SRC
  3393.         ECHO>>MAKE.OUT Compiling %4\MAKEBOOT.SRC
  3394.         IF NOT EXIST %4\MAKEBOOT.SRC GOTO ERR01
  3395.         REALCOB/Q %4\MAKEBOOT.SRC,,NUL; >>MAKE.OUT
  3396.         IF ERRORLEVEL 1 GOTO ERR09
  3397.  
  3398.     Another advantage offered by using standard system command files
  3399.     is the ability to create files using the information that is
  3400.     passed into the LARC build file.  For example, you can create an
  3401.         include file that uses the release identifier and build type so
  3402.     that this information can be included, at build time, in the
  3403.     programs that are being built.
  3404.  
  3405.         REM --------------------------------------------------
  3406.         REM Creating the release ID include modules
  3407.         REM --------------------------------------------------
  3408.  
  3409.         ECHO>RELEASE.H //
  3410.         ECHO>>RELEASE.H // Example Release Include File
  3411.         ECHO>>RELEASE.H //
  3412.         ECHO>>RELEASE.H #define LARC_R     %1
  3413.         ECHO>>RELEASE.H #define LARC_T     %2
  3414.  
  3415.     One other interesting feature provided when using batch command
  3416.     files is the ability to set the system environment specifically
  3417.     for your tools.  For example, issuing the following commands for
  3418.     the DOS version will set the PATH so that the tools are properly
  3419.     located for compiler COMP-A:
  3420.  
  3421.     ─────────────────────────────────────────────────────────────────
  3422.                     57
  3423.     LARC User's Guide                Chapter 8 - Command Files
  3424.     ═════════════════════════════════════════════════════════════════
  3425.  
  3426.         SET PATH=
  3427.         SET PATH=C:\;C:\DOS;C:\COMP-A;
  3428.  
  3429.     This PATH will only be in effect while LARC build is executing
  3430.     and once the build exits the original PATH is restored.  This
  3431.     method allows you to define paths (and any other system
  3432.     environment parameter using the SET command) that only are in
  3433.     effect during your build process.  You can also reset the PATH
  3434.     or SET commands within the same LARC build file.  Doing so
  3435.     allows you to use two or more compilers while in the same build
  3436.     process.
  3437.  
  3438.     Of course you are also free to use any other tools that can be
  3439.     executed from a system command file.  Examples are your compilers
  3440.     and linkers, special procedures that build initial copies of your
  3441.     product data files, enhanced command processing shells, file
  3442.     compression utilities, and any number of other system utility
  3443.     programs.
  3444.  
  3445.     As flexible as system command files are, using them is not
  3446.     without some limitations or warnings.  There are several issues
  3447.     you need to consider when setting up your LARC build files:
  3448.  
  3449.       1.    LARC only knows if the build was successful if you create
  3450.         the BUILDFIN.CTL file.  If your tools return status codes
  3451.         (such as is provided by DOS using the ERRORLEVEL mechanism),
  3452.         you should check the codes for any problems the tool may
  3453.         have encountered.  If the tool returns an error, then you
  3454.         should make sure that the BUILDFIN.CTL file is not created
  3455.         so that LARC will allow you to correct the problem and
  3456.         rebuild the release.
  3457.  
  3458.       2.    Some older tools do not set return status codes.  With
  3459.         these tools you have to resort to checking for the
  3460.         existence of object modules or executable files.
  3461.  
  3462.       3.    The standard DOS or OS/2 system command shells can create
  3463.         simple output files, but complex file processing is not
  3464.         possible.  There are several after market products
  3465.         available which enhance the standard shells (such as
  3466.         REXX for OS/2) and you may take advantage of these tools
  3467.         to enhance your build procedures.  While LARC does not
  3468.         stop you from using these products, they may have memory
  3469.         requirements that exceed the amount available when LARC
  3470.         is running.  We recommend that you carefully test these
  3471.         tools with LARC before using them with your actual live
  3472.         files.
  3473.  
  3474.       4.    When you create a new library, you will likely start with
  3475.         a LARC build file from an existing library when creating
  3476.         the LARC build file for the new one.  You should make sure
  3477.         that you specify the correct path names and commands when
  3478.         you use any existing LARC build file as your base.
  3479.  
  3480.     ─────────────────────────────────────────────────────────────────
  3481.                     58
  3482.     LARC User's Guide                Chapter 8 - Command Files
  3483.     ═════════════════════════════════════════════════════════════════
  3484.  
  3485.       5.    Because the LARC build files are standard system command
  3486.         files, you can issue any valid system command or start
  3487.         any system program.  There are some potentially dangerous
  3488.         commands and utility programs that, if used incorrectly,
  3489.         could result in a loss of data.  LARC marks all library
  3490.         files with the read-only attribute, but some utility
  3491.         programs ignore this attribute when deleting files.
  3492.         Carefully review your build files to ensure that you do
  3493.         not use any command or utility program in a way that
  3494.         could result in the accidental loss of your files.
  3495.         Also, you should back up your files frequently to
  3496.         reduce your risk.
  3497.  
  3498.     BUILDFIN.CTL
  3499.     ════════════
  3500.     The Build Finished control file, as stated previously, tells LARC
  3501.     that the build file completed with no failures.  This file is a
  3502.     simple ASCII file that contains one line of the following format:
  3503.  
  3504.         ddddddttttttxvvvvvvvv
  3505.  
  3506.     Each field is defined:
  3507.  
  3508.       dddddd        The current system date.
  3509.  
  3510.       tttttt        The current system time.
  3511.  
  3512.       x            The build type.
  3513.  
  3514.       vvvvvvvvvvv        The release build identifier.
  3515.  
  3516.     You typically create this file by including the following line in
  3517.     each of your LARC build files and using the parameters passing
  3518.     into the file by LARC:
  3519.  
  3520.         ECHO %6%7%2%1 >BUILDFIN.CTL
  3521.  
  3522.     By not creating this file, you tell LARC that the build did not
  3523.     complete.  LARC will not continue with the next step in the build
  3524.     process unless this file is created when the build file exits.
  3525.  
  3526.  
  3527.     LARCARC.BAT or LARCARC.CMD
  3528.     ══════════════════════════
  3529.     The archive file is executed whenever a final product release
  3530.     build is produced.  This file is used to create the archive
  3531.     backup that you will store in a safe place.  It is highly
  3532.     recommended that these archives be stored off site in a fire safe
  3533.     vault.  You may already have such an off site storage location,
  3534.     especially if you are contractually obligated to produce escrow
  3535.     accounts of your software for your customers.  If not, this is
  3536.     definitely the time to look into this issue further.  Never put
  3537.     disaster recovery off till tomorrow!
  3538.  
  3539.     ─────────────────────────────────────────────────────────────────
  3540.                     59
  3541.     LARC User's Guide                Chapter 8 - Command Files
  3542.     ═════════════════════════════════════════════════════════════════
  3543.  
  3544.     The LARC archive file is started with parameters similar to those
  3545.     passed to the LARC build command files.  The parameters are:
  3546.  
  3547.       %1    The release identifier that you enter when you requested
  3548.         the build.
  3549.  
  3550.       %2    Always a "F" because this command file is only executed
  3551.         when you build the final release.
  3552.  
  3553.       %3    The library's hard drive letter and colon (e.g., C:)
  3554.  
  3555.       %4    The library's source directory name (e.g.,
  3556.         C:\EXAMPLE\SOURCES).
  3557.  
  3558.       %5    Always "FULL RELEASE".
  3559.  
  3560.       %6    The current system date, formatted as mm-dd-yy.
  3561.  
  3562.       %7    The current system time, formatted as hh:mm:ss.
  3563.  
  3564.       %8    The source library number.  This number can be used to
  3565.         back up the LARC system files associated with the library.
  3566.  
  3567.       %9    This parameter contains the same release identifier that
  3568.         is passed in argument %1.  However, here the identifier
  3569.         has several special characters removed.  These characters
  3570.         are "V" (only if it is the first character), "." or "_".
  3571.         For example, if your entered "V1.00" as your release
  3572.         identifier, this parameter would contain "100".  This
  3573.         parameter allows you to use the release identifier when
  3574.         creating your archive files.
  3575.  
  3576.     If possible, you should include statements in your archive file
  3577.     to verify that the archive was successfully created.  However,
  3578.     since there is no guarantee that your archive system can provide
  3579.     good status feedback, LARC will ask you to verify that the backup
  3580.     was successfully created.  If you answer no, then LARC will treat
  3581.     the entire build as if it failed.  Otherwise, LARC considers the
  3582.     entire build a success and adds the release identifier to the
  3583.     control file.
  3584.  
  3585.  
  3586.     LARCRELn.CUT Parameter Files
  3587.     ════════════════════════════
  3588.     Each release directory has a file named LARCRELn.CUT, where "n"
  3589.     is a number from one to five that associates the file with the
  3590.     release directory.  These files are known as release cut (or
  3591.     simply cut) files and they contain the commands that LARC will
  3592.     use when creating release diskettes from the built product
  3593.     release directories.
  3594.  
  3595.  
  3596.  
  3597.  
  3598.     ─────────────────────────────────────────────────────────────────
  3599.                     60
  3600.     LARC User's Guide                Chapter 8 - Command Files
  3601.     ═════════════════════════════════════════════════════════════════
  3602.  
  3603.     These cut parameter files are used to tell LARC how to create a
  3604.     set of release diskettes from your built product release
  3605.     directories.  When you select a release creation options from the
  3606.         menu and choose a release number, LARC will execute the
  3607.     appropriate cut parameter file.
  3608.  
  3609.     The CUT parameter file is an ASCII text file that you create and
  3610.     maintain.  The file contains text lines that tell LARC what to do
  3611.     when creating your release diskettes.  If you want to use the
  3612.     LARC Installation Program to install your product, these commands
  3613.     are written in the installation control files to tell the
  3614.     installation program how to install your software.  Refer to the
  3615.     following information and Chapter 16 for more information on the
  3616.     relationship between CUT file formats and the LARC Installation
  3617.     Program.
  3618.  
  3619.     Using a parameter file in this way allows LARC to provide a high
  3620.     degree of flexibility when creating product release diskettes.
  3621.     The CUT files are very important and must be carefully managed to
  3622.     ensure that the correct files are copied onto your release
  3623.     diskettes.
  3624.  
  3625.     LARC recognizes and uses several CUT parameter commands when it
  3626.     creates the release diskettes.  These are defined in the
  3627.     following sections.
  3628.  
  3629.     Comments
  3630.     ────────
  3631.     Comments are allowed in the LARCREL files but they are not
  3632.     written into the diskette control files.  Any line that begins
  3633.     with ";" or "REM" is considered to be a comment line.
  3634.  
  3635.     Installation Defaults Command
  3636.     ─────────────────────────────
  3637.     The Installation Defaults Command is used to provide a way for
  3638.     you to set the default values for the LARC Installation Program.
  3639.     The command line has the following format:
  3640.  
  3641.     byte 1:        Always "!".
  3642.  
  3643.     byte 2:        Always " ".
  3644.  
  3645.     byte 3:        The default source floppy diskette drive letter.
  3646.             This field should contain either an "A" or "B".
  3647.  
  3648.     byte 4:        The default destination hard drive letter.  This
  3649.             field can contain any valid hard drive letter.
  3650.  
  3651.  
  3652.  
  3653.  
  3654.  
  3655.  
  3656.  
  3657.     ─────────────────────────────────────────────────────────────────
  3658.                     61
  3659.     LARC User's Guide                Chapter 8 - Command Files
  3660.     ═════════════════════════════════════════════════════════════════
  3661.  
  3662.     byte 5-36:    The default destination directory name.  This
  3663.             field should start with the "\" character.  An
  3664.             example could be "\MYPROD".  The LARC Installation
  3665.             Program does not create complex directories, so
  3666.             you should not specify "\LEV1\LEV2" unless your
  3667.             are quite sure that the "\LEV1" directory exists
  3668.             on your target systems.
  3669.  
  3670.     System Name Command
  3671.     ───────────────────
  3672.     The System Name Command is used to provide the name of your
  3673.     system to the LARC Installation Program.  The LARC Installation
  3674.     Program will display this system name on the screen when your
  3675.     product is installed.  The command line has the following format:
  3676.  
  3677.     byte 1:        Always "S".
  3678.  
  3679.     byte 2:        Always " ".
  3680.  
  3681.     byte 3-52:    Defines the name of your system.  An example
  3682.             could be "My Special Product".
  3683.  
  3684.     File Copy Command
  3685.     ─────────────────
  3686.     File Copy Commands are used to define files that are to be copied
  3687.     to the release diskettes.  The command line has the following
  3688.     format:
  3689.  
  3690.     byte 1:        Control byte:
  3691.  
  3692.             " "    Copy the file specified in bytes 2-13 to
  3693.                 the release diskette.  The installation
  3694.                 program will always copy the file from
  3695.                 the diskette to the destination directory.
  3696.  
  3697.             "-"    Copy the file specified in bytes 2-13 to
  3698.                 the release disk.  The installation
  3699.                 program will not copy the file from the
  3700.                 diskette.
  3701.  
  3702.             "*"    Copy the file specified in bytes 2-13 to
  3703.                 the release disk.  The installation
  3704.                 program will only copy the file from the
  3705.                 diskette if the file does not already
  3706.                 exist in the destination directory.
  3707.  
  3708.             "+"    Advance to the next release disk.  All
  3709.                 other fields are ignored.
  3710.  
  3711.     bytes 2-13:    Contains the name of the file to be copied to the
  3712.             release diskette in the standard DOS "filename.ext"
  3713.             format.
  3714.  
  3715.  
  3716.     ─────────────────────────────────────────────────────────────────
  3717.                     62
  3718.     LARC User's Guide                Chapter 8 - Command Files
  3719.     ═════════════════════════════════════════════════════════════════
  3720.  
  3721.     byte 14:      Blank.
  3722.  
  3723.     bytes 15-17:    This field contains the three digit library number
  3724.             that LARC assigned to the library when it was
  3725.             created.  This number is used as a shorthand way
  3726.             of specifying the location of the file you want
  3727.             to copy to the diskette.
  3728.  
  3729.     byte 18:    Blank.
  3730.  
  3731.     bytes 19:    For copying files to the release disks, this
  3732.             field is used with the number from bytes 15-17 to
  3733.             locate the file you want to copy to the release
  3734.             diskette.  Values in this field may be:
  3735.  
  3736.             "S"        Find the file in the source
  3737.                     library.
  3738.  
  3739.             "1" - "9"    Find the file in a release
  3740.                     directory associated with the
  3741.                     library.  The file must have been
  3742.                     copied into, or created in the
  3743.                     release directory by a LARC
  3744.                     build file.
  3745.  
  3746.     byte 20:      Blank.
  3747.  
  3748.     bytes 21-23:    This field contains the three digit library number
  3749.             that LARC assigned to the library when it was
  3750.             created.  This number is used as a shorthand way
  3751.             of specifying the location of a library source
  3752.             file.  LARC will use the number to extract version
  3753.             and description information for the file being
  3754.             copied to the release diskette. This information
  3755.             is written into the release report that LARC
  3756.             produces when you create your release diskettes.
  3757.  
  3758.             This field may be left blank if no version or
  3759.             name is required or available.  If left blank
  3760.             (usually due to no source file being available,
  3761.             such as for build-created ZIP files), bytes 38-87
  3762.             can be used to "hard code" a release file
  3763.             description.
  3764.  
  3765.     byte 24:      Blank.
  3766.  
  3767.     bytes 25-36:    This field contains the name of the source file
  3768.             to look up for the release file's version and
  3769.             name information.  The version and description
  3770.             information will be included on the release
  3771.             creation report produced by LARC.
  3772.  
  3773.     byte 37:      Blank.
  3774.  
  3775.     ─────────────────────────────────────────────────────────────────
  3776.                     63
  3777.     LARC User's Guide                Chapter 8 - Command Files
  3778.     ═════════════════════════════════════════════════════════════════
  3779.  
  3780.     bytes 38-87:    This field contains a one to fifty character text
  3781.             string that you may use to describe the file being
  3782.             copied to the release diskette if you are not able
  3783.             to automatically extract this information from a
  3784.             file located in a LARC library.
  3785.  
  3786.  
  3787.     Change Directory Command
  3788.     ────────────────────────
  3789.     The Change Directory Command is used to tell the LARC
  3790.     Installation Program to change to a different default directory.
  3791.     By default, the LARC Installation Program uses the drive and
  3792.     directory that you provide the program.  Since you are likely to
  3793.     need to always install certain files into specific directories,
  3794.     this command provides a way for you to tell the LARC Installation
  3795.     Program to change to directories.  Use the "Make Directory Command"
  3796.     to create directories.  The command line has the following format:
  3797.  
  3798.     byte 1:        Always "C".
  3799.  
  3800.     byte 2:        Always " ".
  3801.  
  3802.     byte 3-79:    Specifies the name of the directory as
  3803.             "d:\path-name".  See the section "Directory
  3804.             Substitution Characters" below.
  3805.  
  3806.     File Delete Command
  3807.     ───────────────────
  3808.     File Delete Commands are used to tell the LARC Installation
  3809.     Program to delete a file from the installation target system.
  3810.     The command line has the following format:
  3811.  
  3812.     byte 1:        Always "D".
  3813.  
  3814.     byte 2:        Always " ".
  3815.  
  3816.     byte 3-79:    Specifies the name of the file to be deleted.
  3817.  
  3818.     Execute Command
  3819.     ───────────────
  3820.     The Execute Command is used to have the LARC Installation Program
  3821.     execute a system command or start another program.  This allows
  3822.     you to install and execute conversion programs from the LARC
  3823.     Installation Program, and have them automatically executed when
  3824.     your software is installed.  The command line has the following
  3825.     format:
  3826.  
  3827.     byte 1:        Always "E".
  3828.  
  3829.     byte 2:        Always " ".
  3830.  
  3831.     byte 3-79:    Specifies the name of the command or program to
  3832.             be executed.
  3833.  
  3834.     ─────────────────────────────────────────────────────────────────
  3835.                     64
  3836.     LARC User's Guide                Chapter 8 - Command Files
  3837.     ═════════════════════════════════════════════════════════════════
  3838.  
  3839.     Make Directory Command
  3840.     ──────────────────────
  3841.     The Make Directory Command is used to tell the LARC Installation
  3842.     Program to create a directory on the destination system.  Since
  3843.     you may need to install certain files into specific directories,
  3844.     this command provides a way for you to tell the LARC Installation
  3845.     Program to make the directories for you.  Once the directory has
  3846.     been created, use the "Change Directory Command" to set the
  3847.     directory as the default directory.  The command line has the
  3848.     following format:
  3849.  
  3850.     byte 1:        Always "M".
  3851.  
  3852.     byte 2:        Always " ".
  3853.  
  3854.     byte 3-79:    Specifies the name of the directory as
  3855.             "d:\path-name".  See the section "Directory
  3856.             Substitution Characters" below.
  3857.  
  3858.     Remove Directory Command
  3859.     ────────────────────────
  3860.     The Remove Directory command is used to tell the LARC Installation
  3861.     Program to delete a directory.  The directory will only be deleted
  3862.     if all of the files have been deleted from the directory.  The
  3863.     command line has the following format:
  3864.  
  3865.     byte 1:        Always "R".
  3866.  
  3867.     byte 2:        Always " ".
  3868.  
  3869.     byte 3-79:    Specifies the name of the directory as
  3870.             "d:\path-name".  See the section "Directory
  3871.             Substitution Characters" below.
  3872.  
  3873.     Unzip Command
  3874.     ─────────────
  3875.     The Unzip Command is used to tell the LARC Installation Program
  3876.     to issue a PKUNZIP command to cause a compressed file to be
  3877.     unzipped.  The command line has the following format:
  3878.  
  3879.     byte 1:        Always "U".
  3880.  
  3881.     byte 2:        Display control byte:
  3882.  
  3883.             " "    Clear the screen and display run PKUNZIP
  3884.                 so that it displays it's progress on the
  3885.                 screen.
  3886.  
  3887.             "-"    Run PKZIP so that it does not display
  3888.                 it's output to the screen.
  3889.  
  3890.     byte 3-79:    Specifies the name of the file to be unzipped.
  3891.  
  3892.  
  3893.     ─────────────────────────────────────────────────────────────────
  3894.                     65
  3895.     LARC User's Guide                Chapter 8 - Command Files
  3896.     ═════════════════════════════════════════════════════════════════
  3897.  
  3898.     Verify File Command
  3899.     ───────────────────
  3900.     The Verify File Command is used to tell the LARC Installation
  3901.     Program to make sure that the specified file actually exists on
  3902.     the destination system.  The command line has the following format:
  3903.  
  3904.     byte 1:        Always "V".
  3905.  
  3906.     byte 2:        Always " ".
  3907.  
  3908.     byte 3-79:    Specifies the name of the file to be verified.
  3909.  
  3910.  
  3911.     Directory Subsitution Characters
  3912.     ════════════════════════════════
  3913.     Usually, the directory path names will contain directory names
  3914.     such as "C:\LARC\TEMP".  The LARC Installation Program allows you
  3915.     to code these records so that the installation destination
  3916.     information you enter can be used.  You can use "?:?\TEMP" as the
  3917.     directory name.  The program will replace the first "?" character
  3918.     with the destination hard drive letter you entered.  The second
  3919.     "?" character will be replaced by the directory name that you
  3920.     entered.
  3921.  
  3922.     Parameterizing the directory names this way provides flexibility.
  3923.     You do not have to hard code directory creation or force the
  3924.     product to install into a specific set of directories.
  3925.  
  3926.  
  3927.     Example CUT File
  3928.     ════════════════
  3929.     Here is an example CUT parameter file.  The example
  3930.     shown is actually the CUT file used when LARC creates release
  3931.     diskettes of itself!
  3932.  
  3933.         ;
  3934.         ; LARC-S "Library Administration and Release Control"
  3935.         ; LARC-D "Release 1 (DOS) Cut Definition File"
  3936.         ; LARC-V "330"
  3937.         ;
  3938.         ; Define the prompt defaults and the name of the system being installed.
  3939.         ;
  3940.         ! AC\LARC3
  3941.         S Library Administration and Release Control
  3942.         ;
  3943.         ; Free up as much space as possible before beginning to
  3944.         ; copy and expand the new release files.
  3945.         ;
  3946.         D CFREAD.DLL
  3947.         D ERRLOG.DLL 
  3948.         D GETLARC.EXE 
  3949.         D INSTALL.EXE
  3950.         D KCOPY.EXE
  3951.  
  3952.     ─────────────────────────────────────────────────────────────────
  3953.                     66
  3954.     LARC User's Guide                Chapter 8 - Command Files
  3955.     ═════════════════════════════════════════════════════════════════
  3956.  
  3957.         D KDEL.EXE
  3958.         D KDIR.EXE
  3959.         D KFREE.EXE
  3960.         D KVERENV.EXE
  3961.         D LARC3.EXE
  3962.         D LARCLIB.DLL
  3963.         D LDIR.EXE 
  3964.         D MAINT.DLL
  3965.         D MESSAGES.LRC
  3966.         D OVL1.DLL 
  3967.         D OVL2.DLL 
  3968.         D OVL3.DLL 
  3969.         D OVL4.DLL 
  3970.         D OVL5.DLL 
  3971.         D OVL6.DLL 
  3972.         ;
  3973.         ; Copy the files...
  3974.         ;
  3975.          INSTALL.EXE  002 1 002 INSTALL.SRC
  3976.         *LARC.BAT     002 1 002 LARC.BAT
  3977.         *LARC.CFG     002 1 002 LARC.CFG
  3978.         *LARC.PIF     002 1 002 LARC.PIF
  3979.         *MESSAGES.LRC 002 1 002 MESSAGES.ASC
  3980.         *LARCFORM.BAT 002 1 002 LARCFORM.BAT
  3981.         *LARCBACK.BAT 002 1 002 LARCBACK.BAT
  3982.          CFREAD.DLL   002 1 002 CFREAD.SRC
  3983.          ERRLOG.DLL   002 1 002 ERRLOG.SRC
  3984.          GETLARC.EXE  002 1 002 GETLARC.SRC
  3985.          KCOPY.EXE    002 1 002 KCOPY.SRC
  3986.          KDEL.EXE     002 1 002 KDEL.SRC
  3987.          KDIR.EXE     002 1 002 KDIR.SRC
  3988.          KFREE.EXE    002 1 002 KFREE.SRC
  3989.          KVERENV.EXE  002 1 002 KVERENV.SRC
  3990.          LARC3.EXE    002 1 002 LARC.SRC
  3991.          LARCLIB.DLL  002 1                  Realia Runtime Library Routines
  3992.          LDIR.EXE     002 1 002 LDIR.SRC
  3993.          MAINT.DLL    002 1 002 MAINT.SRC
  3994.          OVL1.DLL     002 1 002 OVL1.SRC
  3995.          OVL2.DLL     002 1 002 OVL2.SRC
  3996.          OVL3.DLL     002 1 002 OVL3.SRC
  3997.          OVL4.DLL     002 1 002 OVL4.SRC
  3998.          OVL5.DLL     002 1 002 OVL5.SRC
  3999.          OVL6.DLL     002 1 002 OVL6.SRC
  4000.         ;
  4001.         ; These files are not copied from the diskette
  4002.         ;
  4003.         -READ.ME      002 1 002 READ.ME
  4004.         -EXAMPLES.ZIP 002 1                  Example Build Files
  4005.         -RELEDIT.EXE  002 1 002 RELEDIT.SRC
  4006.         ;
  4007.         ; Perform some post-installation clean-up and verification.
  4008.         ;
  4009.         V CFREAD.DLL
  4010.  
  4011.     ─────────────────────────────────────────────────────────────────
  4012.                     67
  4013.     LARC User's Guide                Chapter 8 - Command Files
  4014.     ═════════════════════════════════════════════════════════════════
  4015.  
  4016.         V ERRLOG.DLL 
  4017.         V GETLARC.EXE 
  4018.         V INSTALL.EXE
  4019.         V KCOPY.EXE
  4020.         V KDEL.EXE
  4021.         V KDIR.EXE
  4022.         V KFREE.EXE
  4023.         V KVERENV.EXE
  4024.         V LARC.BAT
  4025.         V LARC.CFG
  4026.         V LARC3.EXE
  4027.         V LARCBACK.BAT 
  4028.         V LARCFORM.BAT 
  4029.         V LARCLIB.DLL
  4030.         V LDIR.EXE 
  4031.         V MAINT.DLL
  4032.         V MESSAGES.LRC
  4033.         V OVL1.DLL 
  4034.         V OVL2.DLL 
  4035.         V OVL3.DLL 
  4036.         V OVL4.DLL 
  4037.         V OVL5.DLL 
  4038.         V OVL6.DLL 
  4039.         
  4040.     The LARC Installation Program would interpret the commands shown
  4041.     as follows:
  4042.  
  4043.       "!"        Establish the defaults for the program prompts.
  4044.  
  4045.       "S"        Display the system name on all screens.
  4046.  
  4047.       "D"        Delete the file from the installation directory.
  4048.  
  4049.       " "        Copy the file from the diskette to the
  4050.             installation directory, overwriting any
  4051.             previously existing file.
  4052.  
  4053.       "*"        Only copy the file from the installation
  4054.             diskette if a file by the same name does not
  4055.             already exist in the directory where LARC is
  4056.             being installed.
  4057.  
  4058.       "V"        Verify that the file exists in the installation
  4059.             directory.
  4060.  
  4061.     Assuming you want to use the LARC Installation Program to install
  4062.     your product, you can use LARC to consistently create installation
  4063.     script files that automate your product installation. However,
  4064.     LARC will also allow you to create diskettes without these
  4065.     installation control files.  You can, of course, use any third
  4066.     party installation program by simply checking in their script
  4067.     files just as you would any other source file.
  4068.  
  4069.  
  4070.     ─────────────────────────────────────────────────────────────────
  4071.                     68
  4072.     LARC User's Guide                Chapter 8 - Command Files
  4073.     ═════════════════════════════════════════════════════════════════
  4074.  
  4075.     LARCBUP.BAT or LARCBUP.CMD
  4076.     ═════════════════════════════════════════════════════════════════
  4077.     These LARC backup files are provided to allow you to get a quick
  4078.     backup of a single library.  You may want to create "snapshot"
  4079.     backups of a library during periods of heavy development.  Use
  4080.     these command files to provide this feature to your team members
  4081.     without requiring them to exit to the operating system and
  4082.     issuing the commands manually.  These commands allow you to
  4083.     maintain consistent backups across all of your libraries.
  4084.  
  4085.     As with the build and full archive files, LARC passes several
  4086.     parameters to the backup command files:
  4087.  
  4088.       %1    The library's hard drive letter and colon (e.g., C:)
  4089.  
  4090.       %2    The library's source directory name (e.g.,
  4091.         C:\EXAMPLE\SOURCES).
  4092.  
  4093.       %3    The current system date, formatted as mm-dd-yy.
  4094.  
  4095.       %4    The current system time, formatted as hh:mm:ss.
  4096.  
  4097.       %5    The source library number.  This number can be used to
  4098.         backup the LARC system files associated with the
  4099.         library.
  4100.  
  4101.     DISKnn.CTL
  4102.     ══════════
  4103.     If you configure your library to create installation files on
  4104.     your release diskettes, LARC will copy the lines from your CUT
  4105.     files to release control file on your release diskettes.  These
  4106.         release control files are named DISKnn.CTL.  The "nn" portion of
  4107.     the file name corresponds to the release diskette sequence number.
  4108.  
  4109.     Refer to the earlier section "LARCRELn.CUT Parameter File" and to
  4110.     Chapter 16 for more information on the use and format of the
  4111.     release control files.
  4112.  
  4113.  
  4114.     LARCBACK.BAT or LARCBACK.CMD
  4115.     ═════════════════════════════════════════════════════════════════
  4116.     The system backup command file is a simple system command file
  4117.     that you create and maintain.  This file is placed in the LARC
  4118.     executable directory and it contains the commands that work with
  4119.     your backup system.  Since there are more ways to backup a system
  4120.     then we can count (floppy, tape, DAT, CD-ROM, WORM, network, etc.),
  4121.     this command file provides an interface to LARC and allows you
  4122.     create full LARC system backups from the LARC main menu.
  4123.  
  4124.     LARC does not pass any parameters to this command file.  LARC
  4125.     assumes that you will use this command file to backup the entire
  4126.     system so no parameters from LARC's configuration will be required.
  4127.  
  4128.  
  4129.     ─────────────────────────────────────────────────────────────────
  4130.                     69
  4131.     LARC User's Guide                Chapter 8 - Command Files
  4132.     ═════════════════════════════════════════════════════════════════
  4133.  
  4134.     LARCFORM.BAT or LARCFORM.CMD
  4135.     ═════════════════════════════════════════════════════════════════
  4136.     The backup media format command file is a simple system command
  4137.     file that you create and maintain.  This file is placed in the
  4138.     LARC executable directory and it contains the commands necessary
  4139.     to format the media that works with your backup system.  This
  4140.     command file provides an interface to LARC and allows you to
  4141.     format your backup media from the LARC main menu.
  4142.  
  4143.     LARC does not pass any parameters to the format command file.
  4144.     LARC assumes that you will use this command file only to format
  4145.     the backup media so no parameters from LARC's configuration will
  4146.     be required.
  4147.  
  4148.  
  4149.     LARCSERL.BAT or LARCSERL.CMD
  4150.     ═════════════════════════════════════════════════════════════════
  4151.     The release serialization command file is a simple system command
  4152.     file that you create and maintain.  This file is checked into the
  4153.     library and it contains the commands necessary to add serial
  4154.     number, or any other post-release cut information, to your release
  4155.     diskettes.
  4156.  
  4157.     This command file is executed whenever you select the "execute
  4158.     serialization command" option from the "release" menu.  No
  4159.     arguments are passed to this command file.
  4160.  
  4161.  
  4162.  
  4163.  
  4164.  
  4165.  
  4166.  
  4167.  
  4168.  
  4169.  
  4170.  
  4171.  
  4172.  
  4173.  
  4174.  
  4175.  
  4176.  
  4177.  
  4178.  
  4179.  
  4180.  
  4181.  
  4182.  
  4183.  
  4184.  
  4185.  
  4186.  
  4187.  
  4188.     ─────────────────────────────────────────────────────────────────
  4189.                     70
  4190.     ╔══════════════╗
  4191.     ║              ║
  4192.     ║ ╔════════════╩════════════════════════════════════════════════╗
  4193.     ║ ║ Chapter 9                            ║
  4194.     ║ ╚════════════╦════════════════════════════════════════════════╝
  4195.     ║              ║
  4196.     ║    ▄████▄    ║  The Menus
  4197.     ║    ██  ██    ║
  4198.     ║    ▀█████    ║  This chapter explains how to select a library
  4199.     ║        ██    ║  and generally navigate through the LARC menus.
  4200.     ║    █████▀    ║
  4201.     ║              ║
  4202.     ╚══════════════╝
  4203.  
  4204.  
  4205.     The Main Menu
  4206.     ═════════════
  4207.     LARC provides a basic menu system to help you navigate through
  4208.     the system.  Navigating through the menus requires simple use of
  4209.     arrow keys, page keys and minimal input of other information.
  4210.     Depending on how your LARC system is configured, it may be
  4211.     possible for you to do most of your work with just the arrow,
  4212.     page and enter keys.
  4213.  
  4214.     LARC's Main Menu provides a central starting place for accessing
  4215.     all of LARC's features.  
  4216.  
  4217.  
  4218.     The System Maintenance Menu
  4219.     ═══════════════════════════
  4220.     LARC' System Maintenance Menu provides access to LARC's system
  4221.     administration functions.
  4222.  
  4223.  
  4224.     Recognized Keystrokes
  4225.     ═════════════════════
  4226.     LARC uses straight forward cursor movement keys, such as the
  4227.     arrow keys, as much as possible to allow you to navigate the
  4228.     menus and program prompts.  Here is list of the keys that LARC
  4229.     recognizes with a brief description of the action caused by each
  4230.     key.
  4231.  
  4232.       <Esc>        Pressing this key will exit to the previous screen
  4233.             or menu.  If you are on the main menu screen, LARC
  4234.             will terminate and return to the operating system
  4235.             prompt, or return you to the LARC security screen,
  4236.             based upon how LARC has been configured.
  4237.  
  4238.       <>        Move the highlight bar up to the previous field.
  4239.  
  4240.       <>        Move the highlight bar down to the next field.
  4241.  
  4242.       <>        Move the highlight bar to the right one field.
  4243.  
  4244.       <>        Move the highlight bar to the left one field.
  4245.  
  4246.  
  4247.     ─────────────────────────────────────────────────────────────────
  4248.                     71
  4249.     LARC User's Guide                    Chapter 9 - The Menus
  4250.     ═════════════════════════════════════════════════════════════════
  4251.  
  4252.       <PgUp>    Move the highlight bar up 16 lines.
  4253.  
  4254.       <PgDn>    Move the highlight bar down 16 lines.
  4255.  
  4256.       <Hone>    Move the highlight bar to the first item or
  4257.             line being displayed.
  4258.  
  4259.       <End>        Terminate and accept the information being
  4260.             entered.
  4261.  
  4262.       <Tab>        Selects the highlighted item or terminates an
  4263.             input field.
  4264.  
  4265.       <Enter>    Selects the highlighted item or terminates an
  4266.             input field.
  4267.  
  4268.       <F2>        Whenever the Main Menu is displayed, pressing the
  4269.             <F2> key causes the list of libraries to be
  4270.             quickly displayed.  This has the same effect as
  4271.             pressing the <Alt> and <F> keys together, followed
  4272.             by the <S> key, followed by the <Enter> key.
  4273.  
  4274.       <F3>        From any of the file listing screens, such as the
  4275.             check out or check in screens, pressing the <F3>
  4276.             key causes file display sort sequence to be
  4277.             changed.  There are three modes.  One displays
  4278.             files in ascending order based on the full file
  4279.             name.  The second displays files in ascending
  4280.             order besed on the file extension.  The third
  4281.             displays files in ascending date and time stamp
  4282.             order.
  4283.  
  4284.       <F4>        From any of the file listing screens, such as the
  4285.             check out or check in screens, pressing the <F4>
  4286.             key causes file display to be expanded to include
  4287.             the file date and time stamp.  Pressing the <F4>
  4288.             key again causes the display to return to its
  4289.             normal state.
  4290.  
  4291.       <F10>        When adding files to a library that are binary
  4292.             files, LARC will ask you to manually enter the
  4293.             file version number and description information.
  4294.             Since it is possible to select files that you did
  4295.             not intend to add to a library (such as OBJ files
  4296.             from your working directory), pressing the <F10>
  4297.             key provides a way for you to skip incorrectly
  4298.             selected binary files.
  4299.  
  4300.     The menus provide quick access keys which help reduce keystrokes
  4301.     required to move through the system.
  4302.  
  4303.  
  4304.  
  4305.  
  4306.     ─────────────────────────────────────────────────────────────────
  4307.                     72
  4308.     LARC User's Guide                    Chapter 9 - The Menus
  4309.     ═════════════════════════════════════════════════════════════════
  4310.  
  4311.     The Main Menu quick access keys are:
  4312.  
  4313.       <Alt+F>    Pressing the <Alt> key and the <F> key at the same
  4314.             time moves the menu to the "File" menu     functions.
  4315.  
  4316.       <Alt+D>    Pressing the <Alt> key and the <D> key at the same
  4317.             time moves the menu to the "Display" menu functions.
  4318.  
  4319.       <Alt+P>    Pressing the <Alt> key and the <P> key at the same
  4320.             time moves the menu to the "Print" menu functions.
  4321.  
  4322.       <Alt+R>    Pressing the <Alt> key and the <R> key at the same
  4323.             time moves the menu to the "Release" functions.
  4324.  
  4325.       <Alt+M>    Pressing the <Alt> key and the <M> key at the same
  4326.             time moves the menu to the "Maintenance" functions.
  4327.  
  4328.       <Alt+Q>    Pressing the <Alt> key and the <Q> key at the same
  4329.             time moves the menu to the "Quit!" function.
  4330.  
  4331.     The System Maintenance Menu quick access keys are:
  4332.  
  4333.       <Alt+L>    Pressing the <Alt> key and the <L> key at the same
  4334.             time moves the menu to the "Libraries" menu
  4335.             functions.
  4336.  
  4337.       <Alt+E>    Pressing the <Alt> key and the <E> key at the same
  4338.             time moves the menu to the "Extensions" menu
  4339.             functions.
  4340.  
  4341.       <Alt+U>    Pressing the <Alt> key and the <U> key at the same
  4342.             time moves the menu to the "Users" menu functions.
  4343.  
  4344.       <Alt+Q>    Pressing the <Alt> key and the <Q> key at the same
  4345.             time moves the menu to the "Quit!" function.
  4346.  
  4347.     Each menu pull down has an accelerator key that can be pressed to
  4348.     further increase the speed with which you can move through the
  4349.     menus.  These special accelerator keys are displayed in the
  4350.     drop-down menus as a single character of a color differnt from the
  4351.     rest of the menu text.  Simply pressing that letter allows the
  4352.     associated option to be selected without having to move the
  4353.     highlight bar.
  4354.  
  4355.  
  4356.  
  4357.  
  4358.  
  4359.  
  4360.  
  4361.  
  4362.  
  4363.  
  4364.  
  4365.     ─────────────────────────────────────────────────────────────────
  4366.                     73
  4367.     LARC User's Guide                    Chapter 9 - The Menus
  4368.     ═════════════════════════════════════════════════════════════════
  4369.  
  4370.     Selecting a Library
  4371.     ═══════════════════
  4372.     The first thing you must do is select a working library.  To
  4373.     select a library, either:
  4374.  
  4375.       1.    Move the Main Menu highlight bar to "File" and press
  4376.         enter while "select a library" is highlighted.  Or,
  4377.  
  4378.       2.    Press the <F2> key whenever the Main Menu is displayed.
  4379.  
  4380.     Either method will cause the library selection screen to be
  4381.     displayed.  In addition to using the cursor movement keys to
  4382.     position the highlight bar, you can enter the first letter of the
  4383.     library name and the cursor bar will be automatically moved.  For
  4384.     example, if you press the letter <H>, the highlight bar will be
  4385.     moved to the first library that begins with that letter (or a
  4386.     letter greater if no libraries begin with "H").
  4387.  
  4388.     The name of the library that you select will always be displayed
  4389.     at the top of the screen.
  4390.  
  4391.  
  4392.  
  4393.  
  4394.  
  4395.  
  4396.  
  4397.  
  4398.  
  4399.  
  4400.  
  4401.  
  4402.  
  4403.  
  4404.  
  4405.  
  4406.  
  4407.  
  4408.  
  4409.  
  4410.  
  4411.  
  4412.  
  4413.  
  4414.  
  4415.  
  4416.  
  4417.  
  4418.  
  4419.  
  4420.  
  4421.  
  4422.  
  4423.  
  4424.     ─────────────────────────────────────────────────────────────────
  4425.                     74
  4426.     ╔═══════════════╗
  4427.     ║               ║
  4428.     ║ ╔═════════════╩═══════════════════════════════════════════════╗
  4429.     ║ ║ Chapter 10                            ║
  4430.     ║ ╚═════════════╦═══════════════════════════════════════════════╝
  4431.     ║               ║
  4432.     ║  ███   ▄████▄ ║  File Functions
  4433.     ║   ██   ██  ██ ║
  4434.     ║   ██   ██  ██ ║  This chapter explains the file access
  4435.     ║   ██   ██  ██ ║  functions that allow you check files into and
  4436.     ║ ██████ ▀████▀ ║  out of LARC libraries.
  4437.     ║               ║
  4438.     ╚═══════════════╝
  4439.  
  4440.  
  4441.     The Function Selection Menu
  4442.     ═══════════════════════════
  4443.     The File functions are selected from the Main Menu by moving the
  4444.     highlight bar to File then selecting an  option from that pull
  4445.     down menu.  Select the desired file option by either pressing the
  4446.     hot-key letter or by moving the menu bar to desired option and
  4447.     pressing <Enter>.
  4448.  
  4449.     The File screens display the following information:
  4450.  
  4451.       Stat:        Status of the file:
  4452.  
  4453.               " "    The file is available and can be checked
  4454.                 out.
  4455.  
  4456.               "C"    The file is currently checked out.
  4457.  
  4458.               "R"    The file is a revised file.
  4459.  
  4460.       File:        The file name.
  4461.  
  4462.       Version:    The edit version of the file.
  4463.  
  4464.       M:        "Y" indicates that the file has changed since
  4465.             the last full system build.
  4466.  
  4467.       Who:        The initials of the last person to work with
  4468.             the file.
  4469.  
  4470.       Description:    The description of the file.
  4471.  
  4472.     The File functions all basically operate the same.  You use the
  4473.     cursor movement keys to move the highlight bar to the desired
  4474.     file, then press <Enter>, <Tab> or <SpaceBar> to select or
  4475.     unselect the file.  Files are sorted in ascending order based on
  4476.     the name of the file.  If you press the first letter of the file,
  4477.     the highlight bar will be moved to the first file name that begins
  4478.     with that letter.  For example, pressing the <H> key will move the
  4479.     highlight bar to the first file whose name begins with the letter
  4480.     H.
  4481.  
  4482.  
  4483.     ─────────────────────────────────────────────────────────────────
  4484.                     75
  4485.     LARC User's Guide              Chapter 10 - File Functions
  4486.     ═════════════════════════════════════════════════════════════════
  4487.  
  4488.     Pressing the star key <*> will cause a file name prompt to appear.
  4489.     You can use this prompt to enter the name of the file you want to
  4490.     select.  You can enter any standard DOS-style wildcards, so it is
  4491.     possible to select a group of common files.  For example, you
  4492.     could enter "*.BAT" to select all of the batch command files.
  4493.  
  4494.     Pressing the <F3> will toggle the display between full file name
  4495.     and extension order sorting.
  4496.  
  4497.     Pressing the <F4> will expand the listing to show the file date
  4498.     and time stamp.
  4499.  
  4500.     As you select each file, a check mark character will be displayed
  4501.     by the file selected.  Press the <End> key when you have selected
  4502.     all of the desired files.  You will then be asked to verify that
  4503.     you have selected the correct set of files.  Answer <Y> if you
  4504.     selected the right files or <N> to return to the selection screen.
  4505.  
  4506.     Once you answer the yes to the verification screen, LARC will
  4507.     complete the requested operation.  Depending on your LARC
  4508.     configuration, you may be presented several additional prompts
  4509.     when copying or checking out files.  Respond to these prompts
  4510.     appropriately to complete the process:
  4511.  
  4512.       1.    You may be asked to verify the output directory or
  4513.         diskette path name.
  4514.  
  4515.       2.    If a file by the same name already exists in the
  4516.         destination directory, LARC will compare the date, time
  4517.         and size of the file being checked out against those of
  4518.         the of file that already exists.  If the existing file has
  4519.         a date or time that is later than the file being checked
  4520.         out, or the files sizes are different, LARC will ask you
  4521.         to verify that you want to overwrite the existing file.
  4522.         This feature helps prevent lost code caused when you
  4523.         incorrectly edit a file before checking it out.  If this
  4524.         happens, you can save the existing file before it gets
  4525.         overwritten, then apply the changes to the correct file.
  4526.  
  4527.     If you receive the warning, you must specifically tell LARC to
  4528.     overwrite the existing file.  LARC will show the name of the file
  4529.     and ask you to enter one of several choices:
  4530.  
  4531.       <Y>    Yes, overwrite the file.
  4532.  
  4533.       <N>    No, do not overwrite the file.  The file will not be
  4534.         copied or checked out.
  4535.  
  4536.       <G>    Go ahead and overwrite the file, and also have LARC skip
  4537.         checking for the existance of any additional files in
  4538.         your selection list.
  4539.  
  4540.  
  4541.  
  4542.     ─────────────────────────────────────────────────────────────────
  4543.                     76
  4544.     LARC User's Guide              Chapter 10 - File Functions
  4545.     ═════════════════════════════════════════════════════════════════
  4546.  
  4547.       <Q>    Quit.  The displayed file, as well as any remining
  4548.         files, will not be checked out or copied.  Any files that
  4549.         you have already anwered yes to will have been checked
  4550.         out or copied.
  4551.  
  4552.  
  4553.     Selecting a Library
  4554.     ═══════════════════
  4555.     Refer to Chapter 9 for details on how to select a library.
  4556.  
  4557.  
  4558.     Check Out a File
  4559.     ════════════════
  4560.     Use this option to check files out of the library.  When you
  4561.     select this option, a listing of all of the files in the
  4562.     currently selected library will be presented.
  4563.  
  4564.  
  4565.     Check In a File
  4566.     ═══════════════
  4567.     Use this option to check files back into the library.  When you
  4568.     select this option, a listing of all of the files that you have
  4569.     checked out will be presented.
  4570.  
  4571.     Once you answer the verification screen <Y>, LARC will begin to
  4572.     check in the files.  Depending on your LARC configuration, you
  4573.     may be presented with a screen asking you to enter a path name.
  4574.     This prompt appears if you started LARC from some directory other
  4575.     than the directory where the files exist, or if the diskette
  4576.     containing the files is not in the correct drive.  Either enter
  4577.     the correct path, or exit and restart LARC from the correct
  4578.     library.
  4579.  
  4580.     LARC allows you to check in both ASCII text files and binary files.
  4581.     If you check in a file that does not contain embedded release
  4582.     control information, LARC will prompt you to manually enter the
  4583.     version and description of the file.  LARC allows any type of
  4584.     binary file to be placed into a library.  This includes, but in no
  4585.     way is limited to, executable programs, linkable object modules,
  4586.     word processing files, and other non-text files.
  4587.  
  4588.     It may be possible to embed release control information in your
  4589.     word processing files.  For example, WordPerfect files can
  4590.     contain comments that include the embedded tokens and information
  4591.     strings.  LARC can search these files and properly identify the
  4592.     embedded release control information.  Using embedded release
  4593.     control information in your word processing files would allow
  4594.     them to be easily checked in and out of a library without forcing
  4595.     you to manually enter the file's information.
  4596.  
  4597.  
  4598.  
  4599.  
  4600.  
  4601.     ─────────────────────────────────────────────────────────────────
  4602.                     77
  4603.     LARC User's Guide              Chapter 10 - File Functions
  4604.     ═════════════════════════════════════════════════════════════════
  4605.  
  4606.     Add a New File
  4607.     ══════════════
  4608.     Use this option to add new files back to the library.  When you
  4609.     select this option, LARC will prompt you to enter the name of the
  4610.     file you want to add.
  4611.  
  4612.     You may specify the full drive and path name of the file(s) you
  4613.     want to add.  You may also use any valid DOS-style file name
  4614.     substitution character in the file name.  If you leave the path
  4615.     name prompt blank or enter "*.*", then all of the files in the
  4616.     default directory that are not already in the library will be
  4617.     presented.  If you enter a partial file name, say "*.BAT" for
  4618.     example, then only the batch files that are not already in the
  4619.     library will be listed.  When you enter the file name, you will
  4620.     be presented with a list of files to select.
  4621.  
  4622.  
  4623.     Copy a File
  4624.     ═══════════
  4625.     Use this option to copy files out of the library.  Copying files
  4626.     from a library does not mark them as checked out.  When you
  4627.     select this option, a listing of all of the files in the currently
  4628.     selected library will be presented.  You can copy any file from
  4629.     the library.  Even files that you or another user previously
  4630.     checked out can be copied.
  4631.  
  4632.  
  4633.     Cancel a Check Out
  4634.     ══════════════════
  4635.     Use this option to cancel the check out of files.  When you
  4636.     select this option, a listing of all of the files that you have
  4637.     checked out will be presented.  The selection screen only
  4638.     displays files that have been previously checked out by you.
  4639.  
  4640.  
  4641.     Delete a File
  4642.     ═════════════
  4643.     Use this option to delete obsolete files from the library.  When
  4644.     you select this option, a listing of all of the files that are in
  4645.     the library will be presented.
  4646.  
  4647.          ╔═════════════════════════════════════════════════════╗
  4648.          ║ NOTE: You should be very careful when deleting files║
  4649.          ║       from libraries.  As with any delete operation,║
  4650.          ║       it is possible to delete files that should not║
  4651.          ║       be deleted.  Make sure that you carefully     ║
  4652.          ║       review all of the displayed information to    ║
  4653.          ║       ensure that only the proper files are deleted.║
  4654.          ║                                                     ║
  4655.          ║ NOTE: You cannot delete files that are currently    ║
  4656.          ║       checked out.  You can delete any other file,  ║
  4657.          ║       including revised files, at any time.         ║
  4658.          ╚═════════════════════════════════════════════════════╝
  4659.  
  4660.     ─────────────────────────────────────────────────────────────────
  4661.                     78
  4662.     LARC User's Guide              Chapter 10 - File Functions
  4663.     ═════════════════════════════════════════════════════════════════
  4664.  
  4665.     Get All Files
  4666.     ═════════════
  4667.     Use this option to get a copy of all of the files that are in the
  4668.     library.  This option is intended for network users.  The
  4669.     function simply recreates LARC's same directory structure on your
  4670.     local hard drive and copies all of the files to your drive.  When
  4671.     you select the get all function, LARC will ask you the several
  4672.     questions:
  4673.  
  4674.       1.    You will be asked to enter the destination hard driver
  4675.         letter. This hard drive must be different from the drive
  4676.         where the libraries are stored.
  4677.  
  4678.       2.    Do you want to get just the files from the currently
  4679.         selected library, or those files plus any files that
  4680.         are associated with that library.  Libraries are
  4681.         "associated" when they share the same root directory
  4682.         name.
  4683.  
  4684.       3.    Do you want to copy the files from any release
  4685.         directories that have been defined for the libraries
  4686.         that will be cpied?
  4687.  
  4688.       4.    Do you want to delete any existing files from the
  4689.         destination directories before the files are copied from
  4690.         the libraries?
  4691.  
  4692.     Answer these questions according to your needs and LARC will then
  4693.     begin copying the files.  Note that LARC will skip any files that
  4694.     you had previously checked out.  LARC will also warn you if a
  4695.     file is encountered in the destination directory that has a date
  4696.     and time that is later than the source file.
  4697.  
  4698.     When the get all function completes, LARC will display a summary
  4699.     box showing the number of files that were copied and skipped.
  4700.  
  4701.          ╔═════════════════════════════════════════════════════╗
  4702.          ║ WARNING: If you ask LARC to delete the destination  ║
  4703.          ║          directories, then any files that you had   ║
  4704.          ║          previously checked out to one of the       ║
  4705.          ║          destination directories will be deleted!   ║
  4706.          ║          This option is intended to provide an easy ║
  4707.          ║          "cleanup" at the start of your work in a   ║
  4708.          ║          set of libraries.                          ║
  4709.          ╚═════════════════════════════════════════════════════╝
  4710.  
  4711.  
  4712.  
  4713.  
  4714.  
  4715.  
  4716.  
  4717.  
  4718.  
  4719.     ─────────────────────────────────────────────────────────────────
  4720.                     79
  4721.     ╔═══════════════╗
  4722.     ║               ║
  4723.     ║ ╔═════════════╩═══════════════════════════════════════════════╗
  4724.     ║ ║ Chapter 11                            ║
  4725.     ║ ╚═════════════╦═══════════════════════════════════════════════╝
  4726.     ║               ║
  4727.     ║  ███    ███   ║  Display Functions
  4728.     ║   ██     ██   ║
  4729.     ║   ██     ██   ║  This chapter explains the file display
  4730.     ║   ██     ██   ║  functions which allow you display file and
  4731.     ║ ██████ ██████ ║  other LARC information on the screen.
  4732.     ║               ║
  4733.     ╚═══════════════╝
  4734.  
  4735.  
  4736.     Display Menu
  4737.     ════════════
  4738.     The Display functions are selected from the Main Menu by moving
  4739.     the highlight bar to Display then selecting one of the available
  4740.     options from that pull down menu.  Select the desired display
  4741.     option by either pressing the hot-key letter or by moving the
  4742.     menu bar to desired option and pressing <Enter>.
  4743.  
  4744.     Several of the display screens use the following fields.
  4745.  
  4746.       Stat:        This is the status of the file:
  4747.  
  4748.               " "    The file is available and can be
  4749.                 checked out.
  4750.  
  4751.               "C"    The file is currently checked out by
  4752.                 the person whose initials appear under
  4753.                 the "who" column.
  4754.  
  4755.               "R"    The file is a revised file.  It was
  4756.                 revised by the person whose initials
  4757.                 appear under the "who" column and the
  4758.                 original file name appears in the
  4759.                 "description" column.
  4760.  
  4761.       Lib.:        The library number that owns the file that has
  4762.             been listed.  Since LARC associates libraries that
  4763.             share the same initial directory name, viewing a
  4764.             list of checked out files may show files that you
  4765.             have checked out of several libraries.  This
  4766.             number identifies the library for the checked out
  4767.             file.  Also, as the number changes, the "Library:"
  4768.             heading name will change.
  4769.  
  4770.       File:        The file name.
  4771.  
  4772.       Version:    The edit version of the file.  If this is a
  4773.             revised file, this is the version number of the
  4774.             file prior to it being revised.
  4775.  
  4776.  
  4777.  
  4778.     ─────────────────────────────────────────────────────────────────
  4779.                     80
  4780.     LARC User's Guide           Chapter 11 - Display Functions
  4781.     ═════════════════════════════════════════════════════════════════
  4782.  
  4783.       M:        "Y" indicates that the file has changed since
  4784.             the last full system build.
  4785.  
  4786.       Who:        The initials of the last person to work with the
  4787.             file.  If the file is currently checked out, these
  4788.             are the initials of the person that has the file
  4789.             checked out.  For revised files, these are the
  4790.             initials of the person who updated the file.
  4791.  
  4792.       Description:    The description of the file.
  4793.  
  4794.  
  4795.     Library Contents
  4796.     ════════════════
  4797.     Use this option to display a listing of all of the files in the
  4798.     currently selected library.
  4799.  
  4800.  
  4801.     Source File
  4802.     ═══════════
  4803.     Use this option to display show source files that exist in a
  4804.     library on the screen.  When you select this option, lets you
  4805.     select the a list of files to be shown.  You can use all of the
  4806.     features available when selecting files to be copied or checked
  4807.     out.  So, you can use the <*> file selection key and specify a
  4808.     group of files (using wildcard characters) to be viewed.
  4809.  
  4810.     Pressing the <Esc> key will exit viewing of the current file.  If
  4811.     there are more files in the selection list, the next file will be
  4812.     displayed.  If there are no more files to be viewed, the menu will
  4813.     be redisplayed.
  4814.  
  4815.  
  4816.     My Checked Out Files
  4817.     ════════════════════
  4818.     Use this option to display a listing of the files that you have
  4819.     checked out of the library.  Remember that LARC associates
  4820.     libraries that share a common initial directory name.  This option
  4821.     will show all of the files that you have checked out of the
  4822.     currently selected library, plus any libraries have the same
  4823.     initial directory name.
  4824.  
  4825.  
  4826.     Checked Out Files
  4827.     ═════════════════
  4828.     Use this option to display a listing of the files that all users
  4829.     have checked out of the library.  Remember that LARC associates
  4830.     libraries that share a common initial directory name.  This option
  4831.     will show all of the files that are checked out of the currently
  4832.     selected library, plus any libraries that have the same initial
  4833.     directory name.
  4834.  
  4835.  
  4836.  
  4837.     ─────────────────────────────────────────────────────────────────
  4838.                     81
  4839.     LARC User's Guide           Chapter 11 - Display Functions
  4840.     ═════════════════════════════════════════════════════════════════
  4841.  
  4842.     Release History
  4843.     ═══════════════
  4844.     Use this option to display a listing of the release that have
  4845.     been created for this library.  The listing is displayed in
  4846.     ascending order based on the date and time that the release was
  4847.     created.  Final release will be shown in a unique color.
  4848.  
  4849.  
  4850.     Revised Files
  4851.     ═════════════
  4852.     Use this option to display a listing of the files that have been
  4853.     revised in the library.  Remember that LARC associates libraries
  4854.     that share a common initial directory name.  This option will
  4855.     show all of the files that have been revised in the currently
  4856.     selected library, plus any libraries that have the same initial
  4857.     directory name.
  4858.  
  4859.  
  4860.     Activity Log File
  4861.     ═════════════════
  4862.     Use this option to display the LARC system activity log file.
  4863.     This screen displays the following fields.
  4864.  
  4865.       Date:        The date of the log file entry in YYMMDD format.
  4866.  
  4867.       Time:        The time of the log file entry in HHMMSStt format.
  4868.  
  4869.       Lib:        The LARC library number for the library that was
  4870.             selected by the user.
  4871.  
  4872.       Who:        The initials of the person that selected the
  4873.             library.
  4874.  
  4875.       Logged text:    The activity log text.  Examples of logged events
  4876.             are LARC start and stop messages, file check out
  4877.             and check in operations and warning messages.
  4878.  
  4879.  
  4880.  
  4881.  
  4882.  
  4883.  
  4884.  
  4885.  
  4886.  
  4887.  
  4888.  
  4889.  
  4890.  
  4891.  
  4892.  
  4893.  
  4894.  
  4895.  
  4896.     ─────────────────────────────────────────────────────────────────
  4897.                     82
  4898.     ╔═══════════════╗
  4899.     ║               ║
  4900.     ║ ╔═════════════╩═══════════════════════════════════════════════╗
  4901.     ║ ║ Chapter 12                            ║
  4902.     ║ ╚═════════════╦═══════════════════════════════════════════════╝
  4903.     ║               ║
  4904.     ║  ███   ▄████▄ ║  Print Functions
  4905.     ║   ██   ▀▀  ██ ║
  4906.     ║   ██     ▄█▀  ║  This chapter explains the file print functions
  4907.     ║   ██   ▄█▀    ║  which allow you create hard copy listings of
  4908.     ║ ██████ ██████ ║  file and other LARC information.
  4909.     ║               ║
  4910.     ╚═══════════════╝
  4911.  
  4912.  
  4913.     Print Menu
  4914.     ══════════
  4915.     The Print functions are selected from the Main Menu by moving the
  4916.     highlight bar to Print then selecting one of the available
  4917.     options from that pull down menu.  Select the desired print
  4918.     option by either pressing the hot-key letter or by moving the menu
  4919.     bar to desired option and pressing <Enter>.
  4920.  
  4921.     As each option is selected, a small message will appear indicating
  4922.     that the report is being produced.  You continue as soon as that
  4923.     message is removed from the screen.
  4924.  
  4925.          ╔═════════════════════════════════════════════════════╗
  4926.          ║ NOTE: LARC writes all report files into a file named║
  4927.          ║       LARCPRN.xxx where xxx is your initials.  You  ║
  4928.          ║       need to wait until after the file is          ║
  4929.          ║       completely printed before requesting a second ║
  4930.          ║       print option.  The length of time you need to ║
  4931.          ║       wait depends on your environment.  If you are ║
  4932.          ║       using a print spooler, then a few seconds     ║
  4933.          ║       should be sufficient.                         ║
  4934.          ╚═════════════════════════════════════════════════════╝
  4935.  
  4936.  
  4937.     Library Contents
  4938.     ════════════════
  4939.     Use this option to create a listing of all of the files in the
  4940.     currently selected library.
  4941.  
  4942.     This report uses the following fields.
  4943.  
  4944.       No.:        This is a sequential count of the files in the
  4945.             library.
  4946.  
  4947.       S:        File status:
  4948.  
  4949.               " "    The file is available.
  4950.  
  4951.               "C"    Checked out.
  4952.  
  4953.               "R"    Revised file.
  4954.  
  4955.     ─────────────────────────────────────────────────────────────────
  4956.                     83
  4957.     LARC User's Guide             Chapter 12 - Print Functions
  4958.     ═════════════════════════════════════════════════════════════════
  4959.  
  4960.       Module:    The file name.
  4961.  
  4962.       Version:    The edit version of the file.
  4963.  
  4964.       M:        "Y" indicates that the file has changed since the
  4965.             last full system build.
  4966.  
  4967.       Who:        The initials of the last person to work with the
  4968.             file.  If the file is currently checked out, these
  4969.             are the initials of the person that has the file
  4970.             checked out.
  4971.  
  4972.       Date:        Date of the file.
  4973.  
  4974.       Time:        Time of the file.
  4975.  
  4976.       Size:        Size of the file in bytes.
  4977.  
  4978.       Description:    The description of the file.
  4979.  
  4980.  
  4981.     Source File
  4982.     ═══════════
  4983.     Use this option to print source files that exist in a library.
  4984.     When you select this option, LARC lets you select a list of files
  4985.     to be printed.  You can use all of the features available when
  4986.     selecting files to be copied or checked out.  So, you can use the
  4987.     <*> file selection key and specify a group of files (using
  4988.     wildcard characters) to be printed.
  4989.  
  4990.     LARC will print each file once you complete these selection
  4991.     process.
  4992.  
  4993.  
  4994.     My Checked Out Files
  4995.     ════════════════════
  4996.     Use this option to create a listing of the files that you have
  4997.     checked out of the library.
  4998.  
  4999.     This report uses the following fields.
  5000.  
  5001.       Lib:        This is the number for the library that owns the
  5002.             file that you have checked out.  This number is
  5003.             used whenever a group of libraries share a common
  5004.             initial directory.
  5005.  
  5006.       Module:    The file name.
  5007.  
  5008.       Version:    The edit version of the file.
  5009.  
  5010.       M:        "Y" indicates that the file has changed since the
  5011.             last full system build.
  5012.  
  5013.  
  5014.     ─────────────────────────────────────────────────────────────────
  5015.                     84
  5016.     LARC User's Guide             Chapter 12 - Print Functions
  5017.     ═════════════════════════════════════════════════════════════════
  5018.  
  5019.       Who:        This will always be your initials for this report.
  5020.  
  5021.       Date:        Date of the file.
  5022.  
  5023.       Time:        Time of the file.
  5024.  
  5025.       Size:        Size of the file in bytes.
  5026.  
  5027.       Description:    The description of the file.
  5028.  
  5029.  
  5030.     Checked Out Files
  5031.     ═════════════════
  5032.     Use this option to create a listing of the files that all users
  5033.     have checked out of the library.       
  5034.  
  5035.     This report uses the following fields.
  5036.  
  5037.       Lib:        This is the number for the library that owns the
  5038.             file that you have checked out.  This number is
  5039.             used whenever a group of libraries share a common
  5040.             initial directory.
  5041.  
  5042.       Module:    The file name.
  5043.  
  5044.       Version:    The edit version of the file.
  5045.  
  5046.       M:        "Y" indicates that the file has changed since the
  5047.             last full system build.
  5048.  
  5049.       Who:        The initials of the person that checked the
  5050.             file out.
  5051.  
  5052.       Date:        Date of the file.
  5053.  
  5054.       Time:        Time of the file.
  5055.  
  5056.       Size:        Size of the file in bytes.
  5057.  
  5058.       Description:    The description of the file.
  5059.  
  5060.  
  5061.     Release History
  5062.     ═══════════════
  5063.     Use this option to create a listing of the release that have
  5064.     been created for this library.
  5065.  
  5066.     This report uses the following fields.
  5067.  
  5068.       No.:        Sequential count of releases built for this
  5069.             library.
  5070.  
  5071.       Release:    One to eight character release identifier.
  5072.  
  5073.     ─────────────────────────────────────────────────────────────────
  5074.                     85
  5075.     LARC User's Guide             Chapter 12 - Print Functions
  5076.     ═════════════════════════════════════════════════════════════════
  5077.  
  5078.       Type:        Release build type.  This field will contain the
  5079.             release build number or "F" if this was a full
  5080.             build.
  5081.  
  5082.       Date:        Date of the release.
  5083.  
  5084.       Time:        Time of the release.
  5085.  
  5086.       Who:        The initials of the person that initiated the
  5087.             build.
  5088.  
  5089.       Description:    The description for the build that was entered
  5090.             by the person when the build was produced.
  5091.  
  5092.  
  5093.     Revised Files
  5094.     ═════════════
  5095.     Use this option to create a listing of the revised files in
  5096.     library.       
  5097.  
  5098.     This report uses the following fields.
  5099.  
  5100.       Lib:        This is the number for the library that owns the
  5101.             file that has been revised.  This number is used
  5102.             whenever a group of libraries share a common
  5103.             initial directory.
  5104.  
  5105.       Module:    The name given to the previous version of a
  5106.             revised file.  The latest version always keeps
  5107.             the original file name and you can inspect the
  5108.             description field to see the original name of
  5109.             the revised file.
  5110.  
  5111.       Version:    The edit version of the file.
  5112.  
  5113.       M:        "Y" indicates that the file has changed since
  5114.             the last full system build.
  5115.  
  5116.       Who:        The initials of the person that revised the file.
  5117.  
  5118.       Date:        This is the date of the file before it was revised.
  5119.  
  5120.       Time:        This is the time of the file before it was revised.
  5121.  
  5122.       Size:        Size of the original file in bytes.
  5123.  
  5124.       Description:    The description field contains the orginal name of
  5125.             the file.
  5126.  
  5127.  
  5128.  
  5129.  
  5130.  
  5131.  
  5132.     ─────────────────────────────────────────────────────────────────
  5133.                     86
  5134.     LARC User's Guide             Chapter 12 - Print Functions
  5135.     ═════════════════════════════════════════════════════════════════
  5136.  
  5137.     Activity Log File
  5138.     ═════════════════════════════════════════════════════════════════
  5139.     Use this option to print the LARC system activity log file.  Each
  5140.     line of the report contains the date and time that the entry was
  5141.     logged.  The report also contains the library number, the user's
  5142.     initials and the event being logged.
  5143.  
  5144.  
  5145.  
  5146.  
  5147.  
  5148.  
  5149.  
  5150.  
  5151.  
  5152.  
  5153.  
  5154.  
  5155.  
  5156.  
  5157.  
  5158.  
  5159.  
  5160.  
  5161.  
  5162.  
  5163.  
  5164.  
  5165.  
  5166.  
  5167.  
  5168.  
  5169.  
  5170.  
  5171.  
  5172.  
  5173.  
  5174.  
  5175.  
  5176.  
  5177.  
  5178.  
  5179.  
  5180.  
  5181.  
  5182.  
  5183.  
  5184.  
  5185.  
  5186.  
  5187.  
  5188.  
  5189.  
  5190.  
  5191.     ─────────────────────────────────────────────────────────────────
  5192.                     87
  5193.     ╔═══════════════╗
  5194.     ║               ║
  5195.     ║ ╔═════════════╩═══════════════════════════════════════════════╗
  5196.     ║ ║ Chapter 13                            ║
  5197.     ║ ╚═════════════╦═══════════════════════════════════════════════╝
  5198.     ║               ║
  5199.     ║  ███   ▄████▄ ║  Release Generation Functions
  5200.     ║   ██   ▀▀  ██ ║
  5201.     ║   ██      ██  ║  This chapter explains how to use LARC to
  5202.     ║   ██   ▄▄  ██ ║  build software releases and how to produce
  5203.     ║ ██████ ▀████▀ ║  release diskettes.
  5204.     ║               ║
  5205.     ╚═══════════════╝
  5206.  
  5207.  
  5208.     Release Menu
  5209.     ════════════
  5210.     The Release functions are selected from the Main Menu by moving
  5211.     the highlight bar to Release then selecting one of the available
  5212.     options from that pull down menu.  Select the desired print
  5213.     option by either pressing the hot-key letter or by moving the
  5214.     menu bar to desired option and pressing <Enter>.
  5215.  
  5216.  
  5217.     Creating a Diskette Release
  5218.     ═══════════════════════════
  5219.     The first four option provided on the release menu all work the
  5220.     same way.  These options allow you to cut a set of release
  5221.     diskettes by specifying which size diskette you want to use.
  5222.     When you select one of the first four options, LARC ensure that
  5223.     the correct diskette size is used.  After selecting one of the
  5224.     first four options, LARC will ask you to enter the type of
  5225.     release being cut.
  5226.  
  5227.     If you enter <A>, then LARC will create all available releases,
  5228.     in order.  As each release is cut, LARC will scan the release cut
  5229.     file and make sure that all of the files it references are
  5230.     available.  Assuming no problems are detected, you will be asked
  5231.     to insert the first release diskette.  LARC will copy your
  5232.     release files to the diskette and prompt you to insert the next
  5233.     diskette if more than one diskette is required.
  5234.  
  5235.     When the release diskettes have been created, LARC will print a
  5236.     report showing the files that were copied to the diskettes.
  5237.  
  5238.     This report uses the following fields.
  5239.        
  5240.       Disk:            This is the release disk number.
  5241.  
  5242.       File(s):        The name of file copied to the disk.
  5243.  
  5244.       Versions:        The version number of the file.
  5245.  
  5246.       Timestamp:        The date and time stamp of the file.
  5247.  
  5248.       Description:        The description of the file.
  5249.  
  5250.     ─────────────────────────────────────────────────────────────────
  5251.                     88
  5252.     LARC User's Guide       Chapter 13 - Release Generation Functions
  5253.     ═════════════════════════════════════════════════════════════════
  5254.  
  5255.       Size:            Size of the file in bytes.
  5256.  
  5257.       Total bytes:        The total space required to copy the
  5258.                 files to the diskette.
  5259.  
  5260.       Remaining bytes:    The amount of free space remaining on the
  5261.                 diskette.
  5262.  
  5263.  
  5264.     Creating a hard drive Release
  5265.     ═════════════════════════════
  5266.     When creating a hard drive release, you select a release cut type
  5267.     just as you would if you were creating a floppy release.  However,
  5268.     before the release can be created, you have to provide LARC with
  5269.     a drive and path name to use.
  5270.  
  5271.     LARC will create the directory if it does not already exist.
  5272.     Once you enter a directory name, LARC will scan the release cut
  5273.     file and make sure that all of the files it references are
  5274.     available.  Assuming no problems are detected, LARC will begin
  5275.     copying the release files to the release directory.
  5276.  
  5277.     When the release diskettes have been created, LARC will print a
  5278.     report showing the files that were copied to the hard drive.
  5279.  
  5280.     This report uses the following fields.
  5281.  
  5282.       Disk:            Always "HD" to indicate that this was a
  5283.                 hard drive release.
  5284.  
  5285.       File(s):        The name of file copied to the disk.
  5286.  
  5287.       Versions:        The version number of the file.
  5288.  
  5289.       Timestamp:        The date and time stamp of the file.
  5290.  
  5291.       Description:        The description of the file.
  5292.  
  5293.       Size:            Size of the file in bytes.
  5294.  
  5295.       Total bytes:        The total space required to copy the
  5296.                 files to the hard drive.
  5297.  
  5298.       Remaining bytes:    The amount of free space remaining on
  5299.                 the hard drive.
  5300.  
  5301.  
  5302.  
  5303.  
  5304.  
  5305.  
  5306.  
  5307.  
  5308.  
  5309.     ─────────────────────────────────────────────────────────────────
  5310.                     89
  5311.     LARC User's Guide       Chapter 13 - Release Generation Functions
  5312.     ═════════════════════════════════════════════════════════════════
  5313.  
  5314.     Release Build
  5315.     ═════════════
  5316.     After selecting the release build options LARC will ask you to
  5317.     enter the type of release to build.  Once you enter the release
  5318.     build type LARC will ask you enter the release identifier to use
  5319.     with this release.
  5320.  
  5321.     You must enter a unique release identifier before LARC will build
  5322.     the release.  Once you have entered a unique release identifier
  5323.     and a reason for the build, LARC will execute the LARC build
  5324.     command file that you selected.  If you selected <F> or <T>, then
  5325.     LARC will execute all of the release build files that have been
  5326.     created for the library.  Also, selecting <F> tells LARC that this
  5327.     is a "final", or "full", system build so LARC will execute the
  5328.     library archive file LARCARC.BAT when the build completes.
  5329.  
  5330.     Once the build process finishes (either successfully or with
  5331.     errors), LARC will display a message and wait for your response.
  5332.     LARC's screen inactivity timer is not active at this screen, so
  5333.     it is safe for you to go do something else while a build is in
  5334.     progress.  When you return, LARC will be waiting with the status
  5335.     of the build.
  5336.  
  5337.  
  5338.     Backup Library Source Files
  5339.     ═══════════════════════════
  5340.     The backup option allows you to produce a backup set of just the
  5341.     sources in the library.  The library contains a file named
  5342.     LARCBUP.BAT for DOS or LARCBUP.CMD for OS/2 that contains the
  5343.     commands necessary to backup the library source files.  Use this
  5344.     command file as an easy way to produce backup sets of your work
  5345.     while it is in progress.
  5346.  
  5347.     When you select this option, LARC reminds you to prepare the
  5348.     backup media before continuing.  Press the <Esc> to exit without
  5349.     creating the backup.  Press any other key to continue and create
  5350.     the backup.
  5351.  
  5352.  
  5353.     Purge Test Release Identifiers
  5354.     ══════════════════════════════
  5355.     Any release that you create that is not a full (<F>) release is
  5356.     classified by LARC as a test release.  It is possible that the
  5357.     majority of the releases that you will build will be test releases.
  5358.     This option provides a means of deleting these test release
  5359.     identifiers from the release control file.
  5360.  
  5361.     When you select this option, LARC asks you to verify that you want
  5362.     to delete the test release identifiers.  Pressing any key than <Y>
  5363.     will exit the prompt and return to the main menu without purging
  5364.     the test release identifiers.
  5365.  
  5366.  
  5367.  
  5368.     ─────────────────────────────────────────────────────────────────
  5369.                     90
  5370.     LARC User's Guide       Chapter 13 - Release Generation Functions
  5371.     ═════════════════════════════════════════════════════════════════
  5372.  
  5373.          ╔═════════════════════════════════════════════════════╗
  5374.          ║ NOTE: Test release identifiers will only be purged  ║
  5375.          ║       for the currently selected library.  No other ║
  5376.          ║       library release identifiers will be effected. ║
  5377.          ╚═════════════════════════════════════════════════════╝
  5378.  
  5379.  
  5380.     Execute Serialization Commands
  5381.     ══════════════════════════════
  5382.     When you select this option, LARC executes the system command
  5383.     file LARCSERL.BAT for DOS or LARCSERL.CMD for OS/2.  This command
  5384.     file allows you to add any post-release "fixups" to the release
  5385.     diskettes created by LARC.
  5386.  
  5387.     This feature can be used to:
  5388.  
  5389.       o  embed serial number information in your executable files
  5390.          once they have been copied to your release diskettes.
  5391.  
  5392.       o  add license information (i.e. user access files) to the
  5393.          release diskette.
  5394.  
  5395.       o  run your favorite virus checking software against the
  5396.          release diskettes.
  5397.  
  5398.       o  perform any other imaginable post-release process in an
  5399.          automated and repeatable environment.
  5400.  
  5401.     Since the LARCSERL command file is checked into the library, you
  5402.     can have unique serialization commands for each library you create.
  5403.  
  5404.  
  5405.  
  5406.  
  5407.  
  5408.  
  5409.  
  5410.  
  5411.  
  5412.  
  5413.  
  5414.  
  5415.  
  5416.  
  5417.  
  5418.  
  5419.  
  5420.  
  5421.  
  5422.  
  5423.  
  5424.  
  5425.  
  5426.  
  5427.     ─────────────────────────────────────────────────────────────────
  5428.                     91
  5429.     ╔═══════════════╗
  5430.     ║               ║
  5431.     ║ ╔═════════════╩═══════════════════════════════════════════════╗
  5432.     ║ ║ Chapter 14                            ║
  5433.     ║ ╚═════════════╦═══════════════════════════════════════════════╝
  5434.     ║               ║
  5435.     ║  ███    ▄███  ║  Maintenance Functions
  5436.     ║   ██  ▄█▀ ██  ║
  5437.     ║   ██  ██▄▄██  ║  This section describes the system maintenance
  5438.     ║   ██      ██  ║  functions provided by the LARC.
  5439.     ║ ██████  █████ ║  
  5440.     ║               ║
  5441.     ╚═══════════════╝
  5442.  
  5443.  
  5444.     Submit a System Command
  5445.     ═══════════════════════
  5446.     Provided you have sufficient security access, you can submit a
  5447.     system level command from within LARC.  You submit the command by
  5448.     selecting submit a system command from the Maintenance main pull
  5449.     down menu.  Select the system command option by pressing the <C>
  5450.     key or be moving the menu bar to submit a system command and
  5451.     pressing <Enter>.
  5452.  
  5453.     Every command that you submit to the system will be logged in the
  5454.     system activity log file.  The date, time, your initials and
  5455.     status of the command will also be logged.
  5456.  
  5457.  
  5458.     Backup the Entire System
  5459.     ════════════════════════
  5460.     The backup entire system function is selected from the
  5461.     maintenance pull down menu provided on Main Menu.  Select the
  5462.     backup option by pressing the <B> key or by moving the menu bar
  5463.     to backup the entire system and pressing <Enter>.  You will be
  5464.     reminded to prepare the system backup media before continuing.
  5465.  
  5466.     Pressing the <Esc> key will exit and return to the Main Menu
  5467.     screen without producing a backup of the system.  Pressing any
  5468.     other key will cause LARC to execute the system backup command
  5469.     file.
  5470.  
  5471.  
  5472.     Format System Backup Media
  5473.     ══════════════════════════
  5474.     The Backup Media Format function is selected from the maintenance
  5475.     pull down menu provided on Main Menu. Select the format option by
  5476.     pressing the <F> key or by moving the menu bar to format system
  5477.     backup media and pressing <Enter>.  You will be reminded to
  5478.     prepare the system backup media before continuing.
  5479.  
  5480.     Pressing the <Esc> key will exit and return to the Main Menu
  5481.     screen without formatting the backup media.  Pressing any other
  5482.     key will cause LARC to execute the backup media format command
  5483.     file.
  5484.  
  5485.  
  5486.     ─────────────────────────────────────────────────────────────────
  5487.                     92
  5488.     LARC User's Guide              Chapter 14 - Maintenance Functions
  5489.     ═════════════════════════════════════════════════════════════════
  5490.  
  5491.     Library Maintenance
  5492.     ═══════════════════
  5493.     Library maintenance is a system administration function that has
  5494.     been described in Chapter 4.  Only users with level 9 security
  5495.     can access this function.
  5496.  
  5497.  
  5498.     Extension Maintenance
  5499.     ═════════════════════
  5500.     Extension maintenance is a system administration function that
  5501.     has been described in Chapter 5.  Only users with level 9
  5502.     security can access this function.
  5503.  
  5504.  
  5505.     User Maintenance
  5506.     ════════════════
  5507.     User maintenance is a system administration function that has
  5508.     been described in Chapter 6.  Only users with level 9 security
  5509.     can access the information of all users in the system.  Any one
  5510.     is able to access this function in order to display and change
  5511.     their own information.
  5512.  
  5513.  
  5514.  
  5515.  
  5516.  
  5517.  
  5518.  
  5519.  
  5520.  
  5521.  
  5522.  
  5523.  
  5524.  
  5525.  
  5526.  
  5527.  
  5528.  
  5529.  
  5530.  
  5531.  
  5532.  
  5533.  
  5534.  
  5535.  
  5536.  
  5537.  
  5538.  
  5539.  
  5540.  
  5541.  
  5542.  
  5543.  
  5544.  
  5545.     ─────────────────────────────────────────────────────────────────
  5546.                     93
  5547.     ╔═══════════════╗
  5548.     ║               ║
  5549.     ║ ╔═════════════╩═══════════════════════════════════════════════╗
  5550.     ║ ║ Chapter 15                            ║
  5551.     ║ ╚═════════════╦═══════════════════════════════════════════════╝
  5552.     ║               ║
  5553.     ║  ███   ██████ ║  Quitting LARC
  5554.     ║   ██   ██     ║
  5555.     ║   ██   ▀████▄ ║  This chapter describes the methods of
  5556.     ║   ██   ▄▄  ██ ║  quitting LARC and exiting to the operating
  5557.     ║ ██████ ▀████▀ ║  system.
  5558.     ║               ║
  5559.     ╚═══════════════╝
  5560.  
  5561.  
  5562.     Quitting LARC
  5563.     ═════════════
  5564.     There are two ways to quit LARC.  From the main menu bar, either
  5565.     select the "Quit" option or press the <Esc> key.  If you have
  5566.     sufficient security, LARC will terminate and exit to the
  5567.     operating system prompt.
  5568.  
  5569.  
  5570.  
  5571.  
  5572.  
  5573.  
  5574.  
  5575.  
  5576.  
  5577.  
  5578.  
  5579.  
  5580.  
  5581.  
  5582.  
  5583.  
  5584.  
  5585.  
  5586.  
  5587.  
  5588.  
  5589.  
  5590.  
  5591.  
  5592.  
  5593.  
  5594.  
  5595.  
  5596.  
  5597.  
  5598.  
  5599.  
  5600.  
  5601.  
  5602.  
  5603.  
  5604.     ─────────────────────────────────────────────────────────────────
  5605.                     94
  5606.     ╔═══════════════╗
  5607.     ║               ║
  5608.     ║ ╔═════════════╩═══════════════════════════════════════════════╗
  5609.     ║ ║ Chapter 16                            ║
  5610.     ║ ╚═════════════╦═══════════════════════════════════════════════╝
  5611.     ║               ║
  5612.     ║  ███   ▄████▄ ║  Utilities
  5613.     ║   ██   ██  ▀▀ ║
  5614.     ║   ██   █████▄ ║  This chapter explains the various utility
  5615.     ║   ██   ██  ██ ║  programs delivered with LARC.
  5616.     ║ ██████ ▀████▀ ║
  5617.     ║               ║
  5618.     ╚═══════════════╝
  5619.  
  5620.  
  5621.     LDIR - Library Directory Utility
  5622.     ════════════════════════════════
  5623.     The Library Directory (LDIR) Utility is provided to allow you to
  5624.     produce files that show the names of all the files in a
  5625.     particular LARC directory.  These output from LDIR is an ASCII
  5626.     text file that is written as a report file.  This output file can
  5627.     be printed and archived with the product backup as a historical
  5628.     listing of the files used to build the release.
  5629.  
  5630.     LDIR is typically executed from either the LARC build files or
  5631.     from the LARCARC full system archive file.  The command format
  5632.     for LDIR is:
  5633.  
  5634.       LDIR/s cfg-name library-number filename.ext
  5635.  
  5636.     where:
  5637.  
  5638.       cfg-name:        This is the name of a LARC configuration
  5639.                 file.  This configuration file should be
  5640.                 the same as the one used when you started
  5641.                 LARC.  LDIR uses this configuration file
  5642.                 in the same way that LARC uses it to find
  5643.                 the library files.
  5644.  
  5645.       library-number:    This is any valid LARC library number.
  5646.                 You can determine the number of the
  5647.                 library that you want listed by producing
  5648.                 a printing of the library configurations.
  5649.                 The number for LARC assigned to each
  5650.                 library is provided as the first line of
  5651.                 the report.
  5652.  
  5653.  
  5654.  
  5655.  
  5656.  
  5657.  
  5658.  
  5659.  
  5660.  
  5661.  
  5662.  
  5663.     ─────────────────────────────────────────────────────────────────
  5664.                     95
  5665.     LARC User's Guide               Chapter 16 - utilities
  5666.     ═════════════════════════════════════════════════════════════════
  5667.  
  5668.       filename.ext:        This field contains the name of output
  5669.                 listing file that you want LDIR to create.
  5670.                 The output file is an ASCII report file
  5671.                 that can be sent to the printer as soon as
  5672.                 LDIR completes.  If you enter the name of
  5673.                 an output listing file that already exists,
  5674.                 the files reported will be appended to the
  5675.                 previous listing file.  This feature allows
  5676.                 you to create one large listing file that
  5677.                 contains all of the libraries used to
  5678.                 produce your product.
  5679.  
  5680.       /s:            There are two switches that LDIR
  5681.                 recognizes.  These are:
  5682.  
  5683.                   /P    LDIR will print the file after it
  5684.                     is created.
  5685.  
  5686.                   /Q    LDIR will run in "quiet" mode and
  5687.                     not display to the screen.
  5688.  
  5689.                 If you specify the two switches together,
  5690.                 do so as "/PQ".
  5691.  
  5692.  
  5693.     GETLARC - File Information Extraction Utility
  5694.     ═════════════════════════════════════════════
  5695.     GETLARC is a utility program used to create an ASCII file that
  5696.     contains the version and description for a LARC library file.
  5697.     This program was written to create a simple ASCII file to be used
  5698.     by the LARC build file as input to PKZIP as a comment.  The PKZIP
  5699.     comments allows you to get the LARC version and description
  5700.     information included in your compressed files.  When LARC copies
  5701.     PKZIP compressed files to your release diskettes, it searches the
  5702.     compressed files and extracts any comments.  The comments are then
  5703.     written to the report that LARC produces that tells you what was
  5704.     copied to the release diskettes.
  5705.  
  5706.     GETLARC is typically executed from the LARC build files.  The
  5707.     command format for GETLARC is:
  5708.  
  5709.       GETLARC/s cfg-name nnn larcname.ext outname.ext
  5710.  
  5711.     Where:
  5712.  
  5713.       cfg-name:        This is the name of a LARC configuration
  5714.                 file.  This configuration file should be
  5715.                 the same as the one used when you started
  5716.                 LARC.   GETLARC uses this configuration
  5717.                 file in the same way that LARC uses it to
  5718.                 find the library files.
  5719.  
  5720.  
  5721.  
  5722.     ─────────────────────────────────────────────────────────────────
  5723.                     96
  5724.     LARC User's Guide               Chapter 16 - utilities
  5725.     ═════════════════════════════════════════════════════════════════
  5726.  
  5727.       nnn:            This number is the three digit LARC
  5728.                 library number that contains the file
  5729.                 that you are searching for.
  5730.  
  5731.       larcname.ext:        This is the name of the file to be found
  5732.                 in the library.  This parameter should
  5733.                 only contain the file name.  Do not
  5734.                 include a drive letter or path in this
  5735.                 parameter.  This name is simply the name
  5736.                 of the file recorded in a LARC library.
  5737.  
  5738.       outname.ext:        This is the name of the file that will
  5739.                 contain the version number and file and
  5740.                 description that GETLARC will extract from
  5741.                 LARC.  The filename can contain a drive
  5742.                 and directory.  However, since you will
  5743.                 typically be executing GETLARC from your
  5744.                 LARC build file, you will not need to
  5745.                 specify either a drive letter or path name.
  5746.  
  5747.       /s:            The only optional switches that GETLARC
  5748.                 recognizes is the /Q switch.  This switch
  5749.                 tells GETLARC to run in "quiet" mode and
  5750.                 not display to the screen.
  5751.  
  5752.     The output file created by GETLARC will contain one record.  This
  5753.     record has the following format:
  5754.  
  5755.       vvv description
  5756.  
  5757.     where:
  5758.  
  5759.       vvv:        This is the version number of the file.
  5760.  
  5761.       description:    This is a one to fifty character description of
  5762.             the file.
  5763.  
  5764.     If you specify a source file name that is not in the LARC library,
  5765.     or specify an incorrect library number, GETLARC will create the
  5766.     output file with "*** NO VERSION OR DESCRIPTION AVAILABLE ***".
  5767.  
  5768.     
  5769.     INSTALL - LARC Installation Program
  5770.     ═══════════════════════════════════
  5771.     The LARC Installation Utility program (INSTALL) is provided to
  5772.     allow you to integrate a simple automated installation procedure
  5773.     into your products.  Your LARC libraries can be configured to
  5774.     create install files on your release diskettes.  Then, when you
  5775.     cut release diskettes, records from your LARC release CUT files
  5776.     will be copied into the install files. These install files can be
  5777.     processed by the LARC INstallation Program to automate the process
  5778.     installing your product.
  5779.  
  5780.  
  5781.     ─────────────────────────────────────────────────────────────────
  5782.                     97
  5783.     LARC User's Guide               Chapter 16 - utilities
  5784.     ═════════════════════════════════════════════════════════════════
  5785.  
  5786.     The install files contain records that tell the LARC Installation
  5787.     Program what to do.  Each record that the program recognizes is
  5788.     started with a special character.  The following records are
  5789.     supported by the program.
  5790.  
  5791.       "0"        Disk number and version record.
  5792.       "!"        LARC Installation Program defaults record.
  5793.       "S"        System name record.
  5794.       "1"        Copy a file.
  5795.       "8"        End of the current diskette.
  5796.       "9"        End of all diskettes.
  5797.       "C"        Change to a different directory.
  5798.       "D"        Delete a file.
  5799.       "E"        Execute a command.
  5800.       "M"        Make a directory.
  5801.       "R"        Remove a directory.
  5802.       "U"        Unzip a compressed file.
  5803.       "V"        Verify that a file exists.
  5804.  
  5805.  
  5806.     Disk Number and Version Record
  5807.     ──────────────────────────────
  5808.     This record defines the diskette sequence number and documents
  5809.     the version number for the release diskettes.  This record must
  5810.     be the first record for all release diskettes.
  5811.  
  5812.     byte 1:        Always "0".
  5813.  
  5814.     bytes 2-3:    Two digit diskette number.  The first diskette
  5815.             is always diskette number "01".
  5816.  
  5817.     byte 4:        The release build type of either "S" or the
  5818.             numbers "1" through "5".
  5819.  
  5820.     bytes 5-12:    The eight character release identifier that you
  5821.             provided to LARC when the release was built.
  5822.  
  5823.     Defaults Record
  5824.     ───────────────
  5825.     This record defines the default field values for the installation
  5826.     program.  This record must exist as the second record on diskette
  5827.     number 01.
  5828.  
  5829.     byte 1:        Always "!".
  5830.  
  5831.     byte 2:        The default floppy drive letter.
  5832.  
  5833.     byte 3:        The default hard drive letter.
  5834.  
  5835.     bytes 4-n:    The default destination directory name.
  5836.  
  5837.  
  5838.  
  5839.  
  5840.     ─────────────────────────────────────────────────────────────────
  5841.                     98
  5842.     LARC User's Guide               Chapter 16 - utilities
  5843.     ═════════════════════════════════════════════════════════════════
  5844.  
  5845.     System Name Record
  5846.     ──────────────────
  5847.     This record defines the name of the system that you are installing.
  5848.     The LARC Installation Program will display this name during the
  5849.     installation process.  This record must be the third record for
  5850.     diskette number 01.
  5851.  
  5852.     Byte 1:        Always "S".
  5853.  
  5854.     Bytes 2-51:    Up to fifty characters for the name of your
  5855.             system.
  5856.  
  5857.     Copy a File
  5858.     ───────────
  5859.     This record defines a file that may be copied from the
  5860.     installation diskette to the destination directory.  These
  5861.     records can occur in any order as long as they exist between a
  5862.     "1" and either the "8" or "9" records.
  5863.  
  5864.     byte 1:        Always "1".
  5865.  
  5866.     byte 2:        Copy control indicator:
  5867.  
  5868.               " "    Always copy the file from the installation
  5869.                 diskette to the destination directory.
  5870.  
  5871.               "-"    Do not copy the file from the installation
  5872.                 diskette to the destination directory.
  5873.  
  5874.               "*"    Only copy the file from the installation
  5875.                 diskette to the destination directory if
  5876.                 the file does not already exist in the
  5877.                 directory.
  5878.  
  5879.     Bytes 3-14:    This is the name of the file to copy.
  5880.  
  5881.     Change to a Different Directory
  5882.     ───────────────────────────────
  5883.     This record defines a directory that should become the destination
  5884.     directory.  The installation program will change to this directory
  5885.     and any subsequent commands will effect this new directory.  These
  5886.     records can occur in any order as long as they exist between a "1"
  5887.     and either the "8" or "9" records.
  5888.  
  5889.     Byte 1:        Always "C".
  5890.  
  5891.     Byte 2:        Always blank.
  5892.  
  5893.     Bytes 3-n:    This is the name of the directory to be changed as
  5894.             the destination directory.  See the note below on
  5895.             special replacement characters recognized for this
  5896.             record.
  5897.  
  5898.  
  5899.     ─────────────────────────────────────────────────────────────────
  5900.                     99
  5901.     LARC User's Guide               Chapter 16 - utilities
  5902.     ═════════════════════════════════════════════════════════════════
  5903.  
  5904.     Delete a File
  5905.     ─────────────
  5906.     This record defines a file that is to be deleted from the
  5907.     destination directory.  These records can occur in any order as
  5908.     long as they exist between a "1" and either the "8" or "9"
  5909.     records.
  5910.  
  5911.     Byte 1:        Always "D".
  5912.  
  5913.     Byte 2:        Always blank.
  5914.  
  5915.     Bytes 3-14:    This is the name of the file to be deleted from
  5916.             the destination directory.
  5917.  
  5918.     Execute a Command
  5919.     ─────────────────
  5920.     This record defines a program or system command file that is to
  5921.     be executed.  These records can occur in any order as long as they
  5922.     exist between a "1" and either the "8" or "9" records.
  5923.  
  5924.     Byte 1:        Always "E".
  5925.  
  5926.     Byte 2:        Always blank.
  5927.  
  5928.     Bytes 3-n:    This is the name of the program or command file to
  5929.             be executed.
  5930.  
  5931.     Make a Directory
  5932.     ────────────────
  5933.     This record defines a directory that is to be created.  These
  5934.     records can occur in any order as long as they exist between a
  5935.     "1" and either the "8" or "9" records.
  5936.  
  5937.     Byte 1:        Always "M".
  5938.  
  5939.     Byte 2:        Always blank.
  5940.  
  5941.     Bytes 3-n:    This is the name of the directory to be created.
  5942.             See the note below on special replacement
  5943.             characters recognized for this record.
  5944.  
  5945.     Remove a Directory
  5946.     ──────────────────
  5947.     This record defines a directory that is to be removed from the
  5948.     system.  All of the files must be deleted from the directory
  5949.     before it can be removed.  These records can occur in any order
  5950.     as long as they exist between a "1" and either the "8" or "9"
  5951.     records.
  5952.  
  5953.     Byte 1:        Always "R".
  5954.  
  5955.     Byte 2:        Always blank.
  5956.  
  5957.  
  5958.     ─────────────────────────────────────────────────────────────────
  5959.                     100
  5960.     LARC User's Guide               Chapter 16 - utilities
  5961.     ═════════════════════════════════════════════════════════════════
  5962.  
  5963.     Bytes 3-n:    The name of the directory to be removed.  See the
  5964.             note below on special replacement characters
  5965.             recognized for this record.
  5966.  
  5967.     Unzip a Compressed File
  5968.     ───────────────────────
  5969.     This record defines a file that is to be decompressed using the
  5970.     PKUNZIP utility program.  The PKUNZIP program must be available
  5971.     to LARC in order for this command to work correctly.  These
  5972.     records can occur in any order as long as they exist between a
  5973.     "1" and either the "8" or "9" records.
  5974.  
  5975.     Byte 1:        Always "U".
  5976.  
  5977.     Byte 2:        Always blank.
  5978.  
  5979.     Bytes 3-14:    This is the name of the file to be unzipped.
  5980.  
  5981.     Verify a File Exists
  5982.     ────────────────────
  5983.     This record defines a file that is to be verified in the
  5984.     destination directory.  These records can occur in any order as
  5985.     long as they exist between a "1" and either the "8" or "9"
  5986.     records.
  5987.  
  5988.     Byte 1:        Always "V".
  5989.  
  5990.     Byte 2:        Always blank.
  5991.  
  5992.     Bytes 3-14:    This is the name of the file to be verified.
  5993.     
  5994.     End of the Current Diskette
  5995.     ───────────────────────────
  5996.     This record defines the end of the current diskette.  The
  5997.     installation program will prompt you to insert the next
  5998.     installation diskette.  This record should be the last record in
  5999.     the file.
  6000.  
  6001.     Byte 1:        Always "8".
  6002.  
  6003.     Byte 2:        Always blank.
  6004.  
  6005.     Bytes 3-6:    This field contains a count of the number of
  6006.             files that are present on the diskette.
  6007.  
  6008.  
  6009.  
  6010.  
  6011.  
  6012.  
  6013.  
  6014.  
  6015.  
  6016.  
  6017.     ─────────────────────────────────────────────────────────────────
  6018.                     101
  6019.     LARC User's Guide               Chapter 16 - utilities
  6020.     ═════════════════════════════════════════════════════════════════
  6021.  
  6022.     End of All Diskettes
  6023.     ────────────────────
  6024.     This record defines the end of the current diskette and that this
  6025.     diskette is the last installation diskette.  This record should
  6026.     be the last record in the file.
  6027.  
  6028.     Byte 1:        Always "9".
  6029.  
  6030.     Byte 2:        Always blank.
  6031.  
  6032.     Bytes 3-6:    This field contains a count of the number of
  6033.             files that are present on the diskette.
  6034.  
  6035.     Special Directory Replacement Characters
  6036.     ────────────────────────────────────────
  6037.     Usually, the directory path names will contain directory names
  6038.     such as "C:\LARC\TEMP".  The LARC Installation Program allows you
  6039.     to code these records so that the installation destination
  6040.     information you enter can be used.  You can use "?:?\TEMP" as the
  6041.     directory name.  The program will replace the first "?" character
  6042.     with the destination hard drive letter you entered.  The second
  6043.     "?" character will be replaced by the directory name that you
  6044.     entered.
  6045.  
  6046.     Parameterizing the directory names this way provides flexibility.
  6047.     You do not have to hard code directory creation or force the
  6048.     product to install into a specific set of directories.
  6049.  
  6050.     Error Handling
  6051.     ──────────────
  6052.     The installation program lets you know what is happening by
  6053.     displaying messages that will scroll up the screen.  INSTALL will
  6054.     prompt for the next diskette and make sure that the proper
  6055.     diskette was loaded.
  6056.  
  6057.     INSTALL will notify you if it encounters any problem with the
  6058.     commands it reads from the installation control files.  Any
  6059.     problem will cause the install program to terminate and display a
  6060.     message warning the user that a complete installation was not
  6061.     performed.  Likewise, when the installation completes successfully,
  6062.     INSTALL will display a message indicating so.
  6063.  
  6064.  
  6065.  
  6066.  
  6067.  
  6068.  
  6069.  
  6070.  
  6071.  
  6072.  
  6073.  
  6074.  
  6075.  
  6076.     ─────────────────────────────────────────────────────────────────
  6077.                     102
  6078.     LARC User's Guide               Chapter 16 - utilities
  6079.     ═════════════════════════════════════════════════════════════════
  6080.  
  6081.     Example DISKnn.CTL File
  6082.     ───────────────────────
  6083.     Here is an example DISK01.CTL file for a single diskette release.
  6084.     This just happens to be the control file for LARC.
  6085.  
  6086.       001*3.00y
  6087.       ! AC\LARC3
  6088.       S Library Administration and Release Control
  6089.       D CFREAD.DLL
  6090.       D ERRLOG.DLL
  6091.       D GETLARC.EXE
  6092.       D LARC3.EXE
  6093.       D LARCLIB.DLL
  6094.       D LDIR.EXE
  6095.       D MAINT.DLL
  6096.       D MESSAGES.LRC
  6097.       D OVL1.DLL
  6098.       D OVL2.DLL
  6099.       D OVL3.DLL
  6100.       D OVL4.DLL
  6101.       D OVL5.DLL
  6102.       D OVL6.DLL
  6103.       1 INSTALL.EXE
  6104.       1-READ.ME
  6105.       1*LARC.BAT
  6106.       1*LARC.CFG
  6107.       1*LARC.PIF
  6108.       1*MESSAGES.LRC
  6109.       1*LARCFORM.BAT
  6110.       1*LARCBACK.BAT
  6111.       1 CFREAD.DLL
  6112.       1 ERRLOG.DLL
  6113.       1 GETLARC.EXE
  6114.       1 LARC3.EXE
  6115.       1 LARCLIB.DLL
  6116.       1 LDIR.EXE
  6117.       1 MAINT.DLL
  6118.       1 OVL1.DLL
  6119.       1 OVL2.DLL
  6120.       1 OVL3.DLL
  6121.       1 OVL4.DLL
  6122.       1 OVL5.DLL
  6123.       1 OVL6.DLL
  6124.       V CFREAD.DLL
  6125.       V ERRLOG.DLL
  6126.       V GETLARC.EXE
  6127.       V LARC.BAT
  6128.       V LARC.CFG
  6129.       V LARC3.EXE
  6130.       V LARCBACK.BAT
  6131.       V LARCFORM.BAT
  6132.       V LARCLIB.DLL
  6133.       V LDIR.EXE
  6134.  
  6135.     ─────────────────────────────────────────────────────────────────
  6136.                     103
  6137.     LARC User's Guide               Chapter 16 - utilities
  6138.     ═════════════════════════════════════════════════════════════════
  6139.  
  6140.       V MAINT.DLL
  6141.       V MESSAGES.LRC
  6142.       V OVL1.DLL
  6143.       V OVL2.DLL
  6144.       V OVL3.DLL
  6145.       V OVL4.DLL
  6146.       V OVL5.DLL
  6147.       V OVL6.DLL
  6148.       90021
  6149.     
  6150.     Here are some comments about this file:
  6151.  
  6152.       1.    The LARC Installation Program will default to "A" as the
  6153.         floppy drive letter, "C" as the hard drive letter and
  6154.         "\LARC3" as the destination directory.
  6155.  
  6156.       2.    The LARC Installation Program will display "Library
  6157.         Administration and Release Control" as the name of the
  6158.         product being installed.
  6159.  
  6160.       3.    The delete records are placed at the front of the file.
  6161.         Deleting obsolete or temporary files, and files that we
  6162.         are about to replace, provides the maximum free hard
  6163.         drive space to the LARC Installation Program.
  6164.  
  6165.       4.    Copy the file from the diskette to the destination.
  6166.         Notice that several of the files use the "*" control byte
  6167.         which tells the LARC Installation Program to only copy
  6168.         them if they do not already exist.  This keeps future
  6169.         releases from destroying changes to configuration or
  6170.         data files.
  6171.  
  6172.       5.    The verify records are placed at the end of the file.
  6173.         Verifying that the required files exist in the
  6174.         destination directory ensures that everything was
  6175.         installed as expected.
  6176.  
  6177.       6.    The "9" record tells the LARC Installation Program that
  6178.         we are done and shows that there should be 15
  6179.         installlation files on the release diskette.
  6180.  
  6181.  
  6182.     KCOPY - Ken's File Copy Program
  6183.     ═══════════════════════════════
  6184.     KCOPY is a simply utility that can be used to copy files from
  6185.     the current hard disk directory to a floppy diskette.  This
  6186.     utility basically functions as the standard "copy" command with
  6187.     one exception.  When the diskette is full, KCOPY will prompt
  6188.     you to enter the next diskette.
  6189.  
  6190.     To use KCOPY, enter:
  6191.  
  6192.       KCOPY[/switch] d:\path\filename.ext d:
  6193.  
  6194.     ─────────────────────────────────────────────────────────────────
  6195.                     104
  6196.     LARC User's Guide               Chapter 16 - utilities
  6197.     ═════════════════════════════════════════════════════════════════
  6198.  
  6199.     where:
  6200.  
  6201.       /switch:            Optional command switches which
  6202.                     must be entered right behind the
  6203.                     KCOPY command, like KCOPY/QF.
  6204.  
  6205.                     Valid switches are:
  6206.  
  6207.                       F  Display a total of the
  6208.                          remaining bytes after this
  6209.                          file is copied.
  6210.  
  6211.                       H  Display the help screen.
  6212.  
  6213.                       Q  Ask before copying each file
  6214.                          to the diskette.
  6215.  
  6216.       d:\path\filename.ext:        This a valid DOS path and file
  6217.                     name.  DOS wildcard characters
  6218.                     are supported.
  6219.  
  6220.       d:                This is the destination drive
  6221.                     letter of either A: or B:.
  6222.  
  6223.     If you enter do not enter the two arguments, KCOPY will prompt
  6224.     you to enter the "From:" and "To:" information.
  6225.  
  6226.  
  6227.     KDEL - Ken's File Delete Program
  6228.     ════════════════════════════════
  6229.     KDEL is a simply utility that can be used to delete files from
  6230.     your system.  This utility basically functions as the standard
  6231.     system "del" command except that KDEL will asks before deleting
  6232.     a file.
  6233.  
  6234.     To use KDEL, enter:
  6235.  
  6236.       KDEL[/switch] d:\path\filename.ext
  6237.  
  6238.     where:
  6239.  
  6240.       /switch:            Optional command switches which
  6241.                     must be entered right behind the
  6242.                     KDEL command, like KDEL/N.
  6243.  
  6244.                     Valid switches are:
  6245.  
  6246.                       A  Delete ALL files, including
  6247.                          hidden and system files.
  6248.                          Be very careful with this
  6249.                          switch!
  6250.  
  6251.                       H  Display the help screen.
  6252.  
  6253.     ─────────────────────────────────────────────────────────────────
  6254.                     105
  6255.     LARC User's Guide               Chapter 16 - utilities
  6256.     ═════════════════════════════════════════════════════════════════
  6257.  
  6258.                       M  Use monochrome display
  6259.                          attributes.
  6260.  
  6261.                       N  Do not ask before deleting
  6262.                          the file (delete all files).
  6263.  
  6264.       d:\path\filename.ext        Consists of any valid path and file
  6265.                     naming string.  You can use the "*"
  6266.                     and "?" wildcards to specify groups
  6267.                     of files to be deleted.
  6268.  
  6269.     If you enter do not enter the argument, KDEL will prompt you to
  6270.     enter the "Files(s)?" to be deleted.
  6271.  
  6272.     You will be prompted "Delete file d:\path\filename.ext [Y/N/G/Q]?"
  6273.     and expected to provide an answer before the file will be deleted.
  6274.     You can respond with:
  6275.  
  6276.       Y    Yes, delete the file.
  6277.  
  6278.       N    No, do not delete the file.
  6279.  
  6280.       G    Go, deleting this file and all remaining files without
  6281.         further prompting.
  6282.  
  6283.       Q    Quit.  Do not delete the file.  Exit immediately to the
  6284.         operating system prompt.
  6285.  
  6286.  
  6287.     KFREE - Ken's Free Space Program
  6288.     ════════════════════════════════
  6289.     KFREE is a simply utility that can be used to show the current
  6290.     free space for a specified drive.
  6291.  
  6292.     To use KFREE, enter:
  6293.  
  6294.       KFREE[/switch] [d:]
  6295.  
  6296.     where:
  6297.  
  6298.       /switch:    Optional command switches which must be entered
  6299.             right behind the KFREE command, like KFREE/M.
  6300.  
  6301.             Valid switches are:
  6302.  
  6303.               H  Display the help screen.
  6304.  
  6305.               M  Use monochrome display attributes.
  6306.  
  6307.       d:        The drive for which the free space is to be
  6308.             displayed.  If no drive is specified, the free
  6309.             space for the current drive will be displayed.
  6310.  
  6311.  
  6312.     ─────────────────────────────────────────────────────────────────
  6313.                     106
  6314.     LARC User's Guide               Chapter 16 - utilities
  6315.     ═════════════════════════════════════════════════════════════════
  6316.  
  6317.     The KFREE information shown is:
  6318.  
  6319.       o  Drive letter and volume label.
  6320.       o  Total number of clusters.
  6321.       o  Available clusters.
  6322.       o  Sectors per cluster.
  6323.       o  Bytes per sector.
  6324.       o  Bytes per cluster.
  6325.       o  Total bytes available.
  6326.       o  Total bytes used.
  6327.       o  Remaining free bytes.
  6328.       o  Percent of the space used.
  6329.  
  6330.  
  6331.     KVERENV - Ken's Verify Environment Program
  6332.     ══════════════════════════════════════════
  6333.     KVERENV is a simply utility that can be used to verify that a
  6334.     system environment variable has been properly set.  This utility
  6335.     can be used in LARC build command files to ensure the proper set
  6336.     up of required system environment string before the build is
  6337.     attempted.
  6338.  
  6339.     To use KVERENV, enter:
  6340.  
  6341.       KVERENV[/switch] envvar=string
  6342.  
  6343.     where:
  6344.  
  6345.       /switch:        Optional command switches which must be
  6346.                 entered right behind the KVERENV command,
  6347.                 like KVERENV/M.
  6348.  
  6349.                 Valid switches are:
  6350.  
  6351.                   H  Display the help screen.
  6352.  
  6353.                   M  Use monochrome display attributes.
  6354.  
  6355.                   Q  Run in "quite mode".  Nothing will
  6356.                      displayed on the screen.
  6357.  
  6358.       envvar=string:    KVERENV searches the current environment
  6359.                 settings for the variable "envver" and
  6360.                 compares what it finds againts "string".
  6361.                 The program exit code will be set to
  6362.                 indicate wheather or not the environment
  6363.                 string was found, and if so, whether or
  6364.                 not it matched "string".  If you enter
  6365.                 do not specify a argument, KVERENV will
  6366.                 display a help screen and exit.
  6367.  
  6368.     On exit, KVERENV will return the following codes.  Note that these
  6369.     codes can be checked in DOS command batch files by testing
  6370.     ERRORLEVEL:
  6371.     ─────────────────────────────────────────────────────────────────
  6372.                     107
  6373.     LARC User's Guide               Chapter 16 - utilities
  6374.     ═════════════════════════════════════════════════════════════════
  6375.  
  6376.       00    OK, the environment string "envvar" exists and matches
  6377.         "string" exactly.
  6378.  
  6379.       01    "envvar" exists, but does not match "string".
  6380.  
  6381.       02    "envvar" does not exist.
  6382.  
  6383.       03    An invalid "envvar=string" environment string format was
  6384.         passed into KVERENV.
  6385.  
  6386.       04    The version or help screen displayed and KVERENV stopped.
  6387.  
  6388.  
  6389.     KDIR - Ken's Directory Program
  6390.     ══════════════════════════════
  6391.     KDIR is a simply utility that can be used to display a list of
  6392.     files on your system.  This utility basically functions as the
  6393.     standard "dir" command except that KDIR displays the directory
  6394.     information in an easier to read format, and KDIR uses color to
  6395.     highlight several interresting directory features.
  6396.  
  6397.     To use KDIR, enter:
  6398.  
  6399.       KDIR[/switch] d:\path\filename.ext
  6400.  
  6401.     where:
  6402.  
  6403.       /switch:            Optional command switches which
  6404.                     must be entered right behind the
  6405.                     KDIR command, like KDIR/AD.
  6406.  
  6407.                     Valid switches are:
  6408.  
  6409.                       A  Show the archive attribute
  6410.                          setting.
  6411.  
  6412.                       D  show <directory> names.
  6413.  
  6414.                       H  Display the help screen.
  6415.  
  6416.                       L  Produce only a list of file
  6417.                          names, followed by one space
  6418.                          character.  This option lets
  6419.                          you create easliy edited
  6420.                          lists of file.
  6421.  
  6422.                       M  Use monochrome display
  6423.                          attributes.
  6424.  
  6425.       d:\path\filename.ext        Consists of any valid path and file
  6426.                     naming string.  You can use the "*"
  6427.                     and "?" wildcards to specify groups
  6428.                     of files to be listed.
  6429.  
  6430.     ─────────────────────────────────────────────────────────────────
  6431.                     108
  6432.     LARC User's Guide               Chapter 16 - utilities
  6433.     ═════════════════════════════════════════════════════════════════
  6434.  
  6435.     If you enter KDIR without providing any arguments, all files in
  6436.     the current directory will be shown.  The files are listed in the
  6437.     order in which they appear in the directory.  Sub-directory
  6438.     entries will be listed with text "<directory>".  The file
  6439.     creation and/or modification date and time stamp is listed in
  6440.     millitary (24 hour) format.
  6441.  
  6442.     KDIR uses special colors to display information on your screen.
  6443.     The colors used depends on the current seeting of your "PROMPT"
  6444.     command, so you will have to enter "KDIR/H" and let KDIR tell
  6445.     you what colors are being used.
  6446.  
  6447.     KDIR displayed files of the certain size ranges in different
  6448.     colors.  This helps you locate certain sized files when/if you
  6449.     are performing disk management chores.  The size ranges are:
  6450.  
  6451.       o  files from 0 to 512k bytes.
  6452.  
  6453.       o  files from 512k to 1 megabyte.
  6454.  
  6455.       o  files larger than 1 megabyte.
  6456.  
  6457.     Finally, each file will have a descriptive text string displayed
  6458.     after the time stamp which shows the current file attribute
  6459.     settings.  The attribute texts are:.
  6460.  
  6461.       blank:    normal file.
  6462.  
  6463.       Archive:    The archive attribute is set.  This text is only
  6464.             shown if /A switch is used.
  6465.  
  6466.       RO:        The file is a read only file.
  6467.  
  6468.       Hidden:    The file is a hidden file.
  6469.  
  6470.       System:    The file is a system file.
  6471.  
  6472.     While KDIR is scrolling file listings up the screen, pressing
  6473.     any key on the keyboard will halt the scrolling.  When halted,
  6474.     pressing any key again will resume scrolling.
  6475.  
  6476.  
  6477.  
  6478.  
  6479.  
  6480.  
  6481.  
  6482.  
  6483.  
  6484.  
  6485.  
  6486.  
  6487.  
  6488.  
  6489.     ─────────────────────────────────────────────────────────────────
  6490.                     109
  6491.