home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / util / compress / arcmac.hqx / ArcMac.ARC / ArcMac1.Doc < prev    next >
Encoding:
Text File  |  1988-07-13  |  27.5 KB  |  863 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                               ARCMAC
  23.  
  24.  
  25.           Standard File Archiver for Macintosh Computers
  26.  
  27.  
  28.                             Version 1.1
  29.                            January 1988
  30.  
  31.  
  32.  
  33.  
  34.  
  35.                   Copyright 1988 by D.G. Gilbert
  36.                        All rights reserved.
  37.  
  38.  
  39.  
  40.  
  41.                          dogStar Software
  42.  
  43.                             PO Box 302
  44.                             Bloomington
  45.                           Indiana, 47402
  46.  
  47.                    E-Mail: CompuServe 71450,1570
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.                            Contents
  60.  
  61.  
  62.         1  ArcMac Features . . . . . . . . . . . . . . . . . 2
  63.         2  System Requirements . . . . . . . . . . . . . . . 2
  64.  
  65.      Chapter 1  Introduction                                 3
  66.         1.1  ArcMac Shareware Agreement  . . . . . . . . . . 5
  67.         1.2  Distribution Files  . . . . . . . . . . . . . . 6
  68.  
  69.      Chapter 2  COMMAND SUMMARY                              9
  70.         2.1  Path Names  . . . . . . . . . . . . . . . . .  10
  71.         2.2  Disk Drive Identifiers  . . . . . . . . . . .  10
  72.         2.3  MOS Command Subset  . . . . . . . . . . . . .  11
  73.            2.3.1  ?  . . . . . . . . . . . . . . . . . . .  11
  74.            2.3.2  HELP   . . . . . . . . . . . . . . . . .  11
  75.            2.3.3  CD    pathName . . . . . . . . . . . . .  11
  76.            2.3.4  CLS  . . . . . . . . . . . . . . . . . .  11
  77.            2.3.5  DIR  [pathName] [/w] . . . . . . . . . .  11
  78.            2.3.6  EJECT drive: . . . . . . . . . . . . . .  12
  79.            2.3.7  EXIT . . . . . . . . . . . . . . . . . .  12
  80.            2.3.8  GO    pathName [/w]  . . . . . . . . . .  12
  81.            2.3.9  TYPE  fileName(s) [/l] . . . . . . . . .  12
  82.            2.3.10  VER . . . . . . . . . . . . . . . . . .  12
  83.            2.3.11  WHERE fileName(s) . . . . . . . . . . .  13
  84.         2.4  Redirection and Batch Processing  . . . . . .  13
  85.         2.5  MultiFinder & Backgrounding . . . . . . . . .  14
  86.         2.6  Finder Selections . . . . . . . . . . . . . .  14
  87.         2.7  MOS Devices . . . . . . . . . . . . . . . . .  15
  88.         2.8  File Name Wild Cards  . . . . . . . . . . . .  16
  89.         2.9  Control Keys  . . . . . . . . . . . . . . . .  17
  90.         2.10  Mouse Clicks . . . . . . . . . . . . . . . .  17
  91.  
  92.      Chapter 3  ARCHIVER COMMANDS                           19
  93.         3.1  A, Add files to an archive  . . . . . . . . .  19
  94.         3.2  Modifiers for the Add Command . . . . . . . .  20
  95.         3.3  U, Updating archives  . . . . . . . . . . . .  20
  96.         3.4  F, Freshening archives  . . . . . . . . . . .  21
  97.         3.5  M, Move files to archive  . . . . . . . . . .  21
  98.         3.6  L, List archived files  . . . . . . . . . . .  21
  99.         3.7  V, Verbosely list archived files  . . . . . .  22
  100.         3.8  D, Delete files from archive  . . . . . . . .  22
  101.         3.9  E,X  Extract files from an archive  . . . . .  23
  102.         3.10  P, Print archived files  . . . . . . . . . .  23
  103.         3.11  T, Test archive integrity  . . . . . . . . .  24
  104.         3.12  C, Convert archive to new packing  . . . . .  24
  105.  
  106.  
  107.                                 ii
  108.  
  109.  
  110.  
  111.      Chapter 4  Mouse Arc Dialog                            25
  112.  
  113.      Chapter 5  Memory Requirements                         27
  114.  
  115.      Chapter 6  ArcPop Usage                                29
  116.  
  117.      Chapter 7  xArcMac Usage                               31
  118.  
  119.      Chapter 8  ArcMac File Structure                       33
  120.  
  121.      Appendix A  Addenda                                    35
  122.         A.1  Martian Operating System for the Macintosh  .  35
  123.         A.2  Trademarks & Copyrights mentioned . . . . . .  36
  124.         A.3  ArcMac Fee Schedule   . . . . . . . . . . . .  37
  125.         A.4  ArcMac Invoice / Order Form . . . . . . . . .  38
  126.  
  127.  
  128.  
  129. 2  ArcMac
  130.  
  131.  
  132.  
  133. 1  ArcMac Features
  134.  
  135.  
  136.          o  Complete file archive / de-archive utility.
  137.  
  138.          o  Compatible with IBM and MS-DOS standard archives, makes
  139.             data exchange a snap.
  140.  
  141.          o  Your choice of fast & flexible command line operation
  142.             for experienced users, or point'n'click dialog for
  143.             novices.
  144.  
  145.          o  Batch and background operations free you for other
  146.             activities.
  147.  
  148.          o  Includes ArcPop, the compact, easy to use file de-
  149.             archiver with the special feature of making self-
  150.             extracting archives.
  151.  
  152.          o  Includes xArcMac, a utility for fully processing ArcMac
  153.             archives on IBM/MS-DOS machines.
  154.  
  155.          o  Includes a useful subset of the Martian Operating
  156.             System, a full MS-DOS like shell (Finder replacement)
  157.             for the Macintosh.
  158.  
  159.  
  160. 2  System Requirements
  161.  
  162.  
  163.          *  Current model Macintoshes with 128K or larger ROMS
  164.             (Mac+,  MacSE, MacII).
  165.  
  166.          *  Approximately 250 kilobytes of free memory for optimal
  167.             operation; a minimum of about 150 kb.
  168.  
  169.          *  Validated on Apple System software version 5.0.
  170.             Operation of ArcMac on earlier system versions may
  171.             differ significantly.
  172.  
  173.          *  Use with MultiFinder for background operations.
  174.  
  175.                                                            ArcMac 3
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.                              Chapter 1
  186.  
  187.                            Introduction
  188.  
  189.  
  190. ArcMac runs in a subset of the Martian Operating System, named for
  191. the reason that it is an obvious alien to the Macintosh  graphic &
  192. mouse Finder system.  MOS (pronounced as "moss") is a keyboard and
  193. text based operating system that is patterned closely after
  194. Microsoft's MS-DOS (which in turn was patterned after CPM and
  195. numerous mainframe operating systems).  Though  alien to the
  196. Macintosh, it is a familiar system to many computer users.
  197.  
  198. The choice of MOS for running ArcMac is purposeful, not
  199. mischievious.  The reason for producing and releasing ArcMac is
  200. twofold, (1) to provide compatibility with the excellent MS-DOS
  201. standard file archivers, and (2) to provide an effective and
  202. efficient user - operating system interface for such file  handling
  203. utilities.
  204.  
  205. The current Macintosh file archivers, Packit and Stuffit, are both
  206. "good Macintosh" programs, in that they follow guidelines that
  207. Apple has established for user interfaces.  But they are not
  208. efficient to use as file archivers, not because of a failing the in
  209. the algorithms used (Stuffit and ArcMac are based on the same  ARC
  210. standard), but because the Macintosh Finder interface doesn't
  211. provide a proper platform.  Telling an application to operate on
  212. multiple files, in various subdirectories (folders), in a simple
  213. and quick way is not easy for Finder-based programs.  You
  214. generally have to wade through several dialogs, windows and
  215. whatnot, carefully pointing and clicking all the way.  There is
  216. also no way to do batch operations, that is, process a large
  217. number of commands written in a file.  Nor is there any easy way to
  218. redirect input or output.
  219.  
  220. With a command line operating system that recognizes subdirectory
  221. path specifications and file wild cards, you can specify a group of
  222. files to process in a few keystrokes.  Granted that command line
  223. operations are not as self evident as other forms...you require
  224. some learning time.  But after the learning period is over, it is
  225. much faster to use.  Thus, ArcMac seems designed only for those who
  226. use it repeatedly and are willing to learn its operation.
  227.  
  228. All is not lost for the novice.  I've tried to incorporate the best
  229. of both worlds in ArcMac.  All of the major operations can be
  230. performed with an arc dialog by clicking buttons and summoning up
  231. the standard file dialogs.  Use of this arc dialog will also
  232.  
  233. 4  ArcMac
  234.  
  235.  
  236.  
  237. familiarize you with the command line keypresses needed.  You can
  238. also select files in the Finder, then shift-click to launch ArcMac
  239. from the same folder and operate on those files.  You can use the
  240. directory list command, dir, and then click on the names of files
  241. to process; all text on the MOS screen is clickable as though it
  242. were typed from the keyboard.
  243.  
  244. Other benefits of this system include easy batch processing.  You
  245. can write a set of commands once, and, for example have ArcMac
  246. archive all of your working files in several folders, all as a
  247. MultiFinder background task (i.e., use it as a poor man's backup
  248. system).  Input and output are fully redirectable to other devices
  249. or files.  You could run ArcMac from another computer connected by
  250. serial ports, or have all output printed, or sent to a disk log
  251. file.   I've included a few useful operations from the full
  252. MOSystem that let you easily navigate a hard disk full of folders,
  253. list file directories, type out the contents of text files, or
  254. search for files.
  255.  
  256. My computing work has included extensive use of Apple //'s, IBM-
  257. PCs, and Macintoshes.  I like a good machine, and good, efficient
  258. software tools.  Macs and PCs both have good points, and both have
  259. weaknesses.  Those of you who think that MS-DOS style operations
  260. are worthless might give ArcMac a real try, it may change your
  261. mind.  If not, you can always fire it up just to laugh at, and use
  262. ArcPop if you ever need to extract ArcMac'ed files.
  263.  
  264. ArcMac is dedicated to interspecies amicability, and freeing our
  265. data.  There is a lot of good information in both MS-DOS and Mac
  266. worlds; ArcMac is one bridge for the gap.
  267.  
  268.                                          Don Gilbert
  269.                                          Bloomington
  270.                                          January 1988
  271.  
  272.                                                            ArcMac 5
  273.  
  274.  
  275.  
  276. 1.1  ArcMac Shareware Agreement
  277.  
  278.  
  279. ArcMac is distributed as user supported shareware.  This means
  280. that, after you evaluate ArcMac and decide that it meets your
  281. needs, you are obliged to pay a fee ($25 basic, see tail section
  282. for additional schedules).  If you try it and do not like it, you
  283. are under no obligation to pay.  Either way, please feel free to
  284. pass on the full distribution archive to friends and electronic
  285. bulletin boards.
  286.  
  287. But if you continue using ArcMac and do not pay, you will be
  288. causing frustration for all sorts of people, including the author,
  289. who put in much time making this work, yourself and other users who
  290. will not be able to benefit from upgrades, and the general
  291. community of shareware users and authors, as it becomes
  292. economically impossible for any but the rich or ill-advised to
  293. produce shareware.
  294.  
  295. In return, dogStar will continue to upgrade ArcMac and insure its
  296. compatibility with current and future Macintosh software.  The next
  297. major release (version 2.0) will be a fast version, which we all
  298. want.
  299.  
  300. 6  ArcMac
  301.  
  302.  
  303.  
  304. 1.2  Distribution Files
  305.  
  306.  
  307. ArcMac is distributed in a special format:  as a self-extracting
  308. archive application, under the name of ArcMac.ARC or ArcMac.BIN.
  309. If downloading this file from a bulletin board, use a transfer
  310. protocol that includes the MacBinary file setup.
  311.  
  312. When you get ArcMac on your Macintosh disk, it should appear with
  313. an application icon, or the ArcPop icon (the ╥A╙ button).  If
  314. transfered with MacBinary, it will have the name of ArcMac.Arc (a
  315. bit redundant, but it signifies that this file contains an archive
  316. of all the ArcMac files).  Just click on it and you will get the
  317. simple ArcPop dialog. Your default choice is to de-archive the
  318. current contents, which you do by hitting the return key, or
  319. clicking the continue button.
  320.  
  321.      The contents of the ArcMac.Arc file are:
  322.  
  323. ArcMac         -- the primary application
  324.  
  325. ArcMac.Doc     -- full documentation in TEXT form, readable by many
  326. applications, including the ArcMac type command.  You can use the
  327. ArcMac command type to  get a printed list of this file, as per
  328.  
  329.           type ArcMac.doc > prn
  330.  
  331.  
  332. xArcMac.Exe    -- this is the MS-DOS executable program for fully
  333. extracting and listing ArcMac archives on MS-DOS machines.  You
  334. will need to transfer it to an MS-DOS machine to use. (You can
  335. transfer the entire ArcMac.Arc, and use ARC or PKxArc to extract
  336. this file).
  337.  
  338. ArcPop    -- this program is the application portion of ArcMac.Arc.
  339. To create the stand-alone ArcPop application, without its ArcMac
  340. archive, choose the UnMake button on the ArcPop dialog.
  341.  
  342.  
  343.      Other files in public distribution are:
  344.  
  345. ArcPop.ARC      -- This is the ArcPop de-archive utility only, with
  346. self-extracting documention.  ArcPop is distributed freely, so than
  347. no one need pay to access available ArcMac'ed data. If you don't
  348. care for ArcMac, but want the capability of using ArcMac'ed (or
  349. IBM/MS-DOS arc'ed) files, this is the tool for you.
  350.  
  351. MArcS.ARC -- this archive contains Turbo Pascal source for the
  352. xArcMac and the ArcPop programs, so that others may incorporate the
  353. ArcMac file structure and protocol in archivers.
  354.  
  355. Current versions of these files can be obtained from Bloomington's
  356. PC-LINK bulletin board, phone 812-335-7252 (1200..9600 Baud, 24hr).
  357.  
  358.                                                            ArcMac 7
  359.  
  360.  
  361.  
  362. The CompuServe MACPRO Maug Sig and BORPRO Borland Sig will
  363. generally have the most recent updates.
  364.  
  365. 8  ArcMac
  366.  
  367.                                                            ArcMac 9
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.                              Chapter 2
  378.  
  379.                           COMMAND SUMMARY
  380.  
  381.  
  382. ?                                   - lists all available commands.
  383.  
  384. ARC  command[modifiers]  archive  [filename ...]
  385.                                       - the archiving command line.
  386.  
  387. CHDIR pathName                                   - change directory
  388.  
  389. CD    pathName                                   - change directory
  390.  
  391. CLS                                                  - clear screen
  392.  
  393. DIR  [pathName][/w]           - display current or named directory,
  394.                                                           /w = wide
  395.  
  396. EJECT drive:                           - eject disk from disk drive
  397.  
  398. EXIT                                           - quit MOS to Finder
  399.  
  400. GO    pathName [/w]                 - change directory with display
  401.  
  402. HELP  [command]              - info about all or the named command.
  403.  
  404. TYPE  fileName(s)                 - display the contents of file(s)
  405.  
  406. VER                                           - display MOS version
  407.  
  408. WHERE fileName(s)          - search dir & subdirs for named file(s)
  409.  
  410. >    device or fileName                           - redirect output
  411.  
  412. <    device or fileName                            - redirect input
  413.  
  414.  
  415. MOS devices:                                         con  = console
  416.      prn  = printer(port .B)               trm  = terminal(port .A)
  417.      com1 = serial port .A                    com2 = serial port .B
  418.  
  419. Name wild cards:       ? = match 1 letter,   * = match many letters
  420.  
  421. Control keys   :                  ^C = user break,   ^S = stop list
  422.  
  423. Mouse clicks   :       on word = type it,   on  ⌐ = carriage return
  424.  
  425. 10  ArcMac
  426.  
  427.  
  428.  
  429. 2.1  Path Names
  430.  
  431.  
  432. All MOS command line prompts are preceded with a path name
  433. specifier as:
  434.  
  435.      ?c HARD:MyFolder: >
  436.  
  437. The current folder is HARD:MyFolder and all commands that don't
  438. include a path specification will operation on files in this
  439. folder.  The preceding "?c" (question mark, circle-c) is a quick
  440. help command that when mouse-clicked, will provide a list of all
  441. available commands.
  442.  
  443. Full Macintosh operating system path names are specified as the
  444. names of all folders from the root folder into the desired folder,
  445. with names separated by colons, as for instance:
  446.  
  447.      HARD:TurboF:MartianF:ArcMacF:
  448.  
  449. for a folder that is nested 3 levels into the HARD volume.  MOS
  450. allows you to use partial pathnames and does it's best to find
  451. them.  All folders that are open in Finder when you start
  452. MOS/ArcMac are made working directories, so that you can specify
  453. them with their one name.
  454.  
  455. You can use the standard MS-DOS path specifiers instead of the
  456. Macintosh path colon, e.g.
  457.  
  458.               H:\TurboF\MartianF\ArcMacF\
  459.  
  460.  is equivalent to the above full path.
  461.  
  462. If your current directory is ArcMacF, then partial path names
  463. include
  464.  
  465.      ::BobsF
  466.      ..BobsF
  467.      ..\BobsF
  468.  
  469. which all refer to a folder BobsF that is a sibling of the current
  470. ArcMacF folder (that is, it is found in the directory of the next
  471. higher level, MartianF).
  472.  
  473.  
  474. 2.2  Disk Drive Identifiers
  475.  
  476.  
  477. The Macintosh operating system uses names for each disk, to
  478. identify paths.  Mac programmers also can access the drives using a
  479. reference number starting from 1.  To let you specify a disk drive
  480. independent of the name of the disk in it, MOS supports the MS-DOS
  481. style drive naming conventions A: to Z:.  Mac number equivalents
  482.  
  483.                                                           ArcMac 11
  484.  
  485.  
  486.  
  487. are  1: to 9:.  The first Sony 3.5" drive is always A: or 1:, the
  488. second Sony is B: or 2: . The first SCSI hard disk is  H: or 8:.
  489.  
  490.      Drive Name     Alternate Name Hardware Device
  491.      A:   1:     First .Sony (internal) disk
  492.      B:   2:     Second .Sony (external) disk
  493.      H:   8:     First SCSI Hard drive
  494.  
  495.  
  496.  
  497. 2.3  MOS Command Subset
  498.  
  499.  
  500. 2.3.1  ?
  501.  
  502.      Type a question mark to get a list of all available commands.
  503.  
  504.  
  505. 2.3.2  HELP
  506.  
  507. HELP  command
  508.  
  509.      Entering this command provides a summary of all commands. Add
  510. the name of a specific command to get information about that
  511. command only.
  512.  
  513.  
  514. 2.3.3  CD    pathName
  515.  
  516. CHDIR  pathName
  517.  
  518.      These commands change the active folder (directory) to the
  519. given path name. A partial or full pathname can be specified, as
  520. well as volume (disk drive) identifiers.
  521.  
  522. To change the default disk drive, you can use the CD command or
  523. just the drive letter identifier, as per MS-DOS operations.  Both
  524. of these commands change the active drive from drive H: (hard disk)
  525. to the first Sony drive:
  526.  
  527.      ?⌐ HARD: >cd a:
  528.      ?⌐ HARD: >a:
  529.  
  530.  
  531. 2.3.4  CLS
  532.  
  533.      Clear the display screen.
  534.  
  535.  
  536. 2.3.5  DIR  [pathName] [/w]
  537.  
  538.      List the files in the specified directory.  If no pathname is
  539. given, the current folder contents are listed.  The default listing
  540.  
  541. 12  ArcMac
  542.  
  543.  
  544.  
  545. show the name, type, creator, data fork size (Size0), resource fork
  546. size (Size1), date and time of last modification.  The /W option
  547. switch produces a wide listing of file names only.
  548.  
  549.  
  550. 2.3.6  EJECT drive:
  551.  
  552.      Eject a flippy disk from the specified drive.  Has no effect
  553. on hard disk drives.
  554.  
  555.      Eject A:    -- eject disk in internal or 1st flippy drive
  556.      Eject B:    -- eject disk in external or 2nd flippy drive
  557.  
  558.  
  559. 2.3.7  EXIT
  560.  
  561.      Quit MOS.  There are several other ways to quit, including
  562. click on the MOS window close box, or select Quit from the File
  563. menu, or type the Break key (control-C or enter) at the command
  564. line.
  565.  
  566.  
  567. 2.3.8  GO    pathName [/w]
  568.  
  569.      Go to the named folder and list its contents.  This command is
  570. equivalent to
  571.  
  572.      CD pathName
  573.      DIR  [/w]
  574.  
  575.  
  576. 2.3.9  TYPE  fileName(s) [/l]
  577.  
  578.      This command lists (types out) the contents of all matching
  579. files.  Only data fork contents are listed.  Any file can be typed
  580. out, but this command is useful mainly for files of type "TEXT".
  581. By default, a title line naming the file and its date is typed
  582. first.  The /L option switch disables this header line.  In
  583. contrast to the MS-DOS standard type, the filename may be a list of
  584. file names, including wild cards.  Each matching file will be typed
  585. in turn, and a form feed character is sent to the output device
  586. after each file.  This makes type a simple way to print multiple
  587. text files, as per
  588.  
  589.      TYPE  *.txt > prn
  590.  
  591.  
  592. 2.3.10  VER
  593.  
  594.      This command displays copyright and the current MOS version.
  595.  
  596.                                                           ArcMac 13
  597.  
  598.  
  599.  
  600. 2.3.11  WHERE fileName(s)
  601.  
  602.      This operation searches folders and sub-folders for the
  603. specified filename, which usually includes wild cards. The full
  604. path name of each matching file is listed. For instance,
  605.  
  606.      Where  *.arc   -- search the current folder and all sub-
  607. folders for files ending in the string ".arc".
  608.  
  609.      Where H:bob*    -- searches the hard disk drive H: and all of
  610. its folders for files beginning with the name "bob".
  611.  
  612.      Where  H:JoesF:bob*  -- searches only the folder JoesF and its
  613. children folders for "bob".
  614.  
  615.  
  616.  
  617.  
  618. 2.4  Redirection and Batch Processing
  619.  
  620.  
  621. >   device or fileName   - redirect output
  622.  
  623. <   device or fileName   - redirect input
  624.  
  625. Use the special piping characters ">" and "<" to redirect output or
  626. input to a command, or to redirect all MOS output or input.  When
  627. used in conjunction with a command line, the output or input from
  628. that one operation is redirected.  For instance,
  629.  
  630.               ARC l myArc  > myArc.list
  631.  
  632. will cause the archive listing to be written to a file named
  633. myArc.list.
  634.  
  635. When used as the first command on a command line, all subsequent
  636. input or output of commands is redirected.  For example, if you
  637. create a text file named DoArc.Bat with the following contents
  638.  
  639.      rem  let's make the archive folder active
  640.      cd  h:archives
  641.      rem  update my working folder archives
  642.      arc u docs  h:docs:*.*
  643.      arc u data  h:data:*.*
  644.      arc u pics  h:pics:*.*
  645.      rem  and now we're done
  646.      exit
  647.  
  648. This is a set of ArcMac commands to update the archives of a series
  649. of folders.  Then you can operate ArcMac in a batch mode by
  650. redirecting its command input to this file, as per
  651.  
  652.      < DoArc.bat
  653.  
  654. 14  ArcMac
  655.  
  656.  
  657.  
  658. Individual command line output can be redirected within a batch
  659. file.  For instance, to get a printed listing of the updated
  660. archives, you could add these commands to DoArc.Bat
  661.  
  662.      arc v docs  > prn
  663.      arc v data  > prn
  664.      arc v pics  > prn
  665.  
  666. ArcMac version 1.1 can be operated from a start-up batch file
  667. entirely, making it compatible with other shell programs for
  668. independent operations.  If you launch ArcMac with one accessory
  669. file, and that file contains the .BAT name extension, then ArcMac
  670. will take its command line input from this file.  When launching
  671. from Finder, you can select both the ArcMac application and your
  672. batch file, for instance DoArc.bat, then double-click to launch.
  673. As a further simplification, change the file creator of the batch
  674. file to arc*, which is ArcMac's creator name, then you can double
  675. click on the batch file only, and Finder will launch ArcMac from
  676. whereever it is hidden among your folders.   For command line
  677. shells like MOS or the MPW shell, you can use a command such as
  678.  
  679.      > ArcMac  DoArc.Bat
  680.  
  681.  
  682.  
  683. 2.5  MultiFinder & Backgrounding
  684.  
  685.  
  686. MOS is MultiFinder compatible and will operate as a background
  687. application.  The archiving operations in particular lend
  688. themselves to backgrounding, since you can make a big list of
  689. folders to archive as a batch file of commands, then redirect
  690. ArcMac command input to this batch file.  You need to mouse click
  691. on an icon outside of ArcMac to put it to sleep, and wait up to 10
  692. seconds for ArcMac to get sleepy.
  693.  
  694. The 10 second wait for backgrounding is needed to insure fast
  695. processing when ArcMac is in the foreground.  When in the
  696. background, archiving takes at least 10 times as long, but this is
  697. no hassle, since you and your Macintosh are free to pursue other
  698. activities.
  699.  
  700.  
  701. 2.6  Finder Selections
  702.  
  703.  
  704. When launching ArcMac from Finder, two methods of selecting files
  705. in Finder work.  If you want to work with an existing ArcMac
  706. archive, you can double-click on it and Finder will launch ArcMac.
  707. The MOS display lists the name of your archive as a selected file.
  708. You can give an arc command or use the Mouse dialog with this
  709. default archive:
  710.  
  711.                                                           ArcMac 15
  712.  
  713.  
  714.  
  715.      Selected files: My.ARC
  716.      ?c HARD:jake:> arc l
  717.            -- after you type the "arc l" command, the selected
  718. archive My.ARC is listed.
  719.  
  720. The other method of file selection from Finder is to move the
  721. ArcMac application to a folder containing files that you want to
  722. archive.  Select all the files to operate on, and also select
  723. ArcMac, using a lasso with the mouse or using shift-clicks.  Then
  724. double click ArcMac or one of the selected files.  Your startup
  725. display will look something like:
  726.  
  727.      Selected files: Data.1 Data.2 Data.3 Data.4
  728.      ?c HARD:jake:>  arc a mydata
  729.           -- after you type the "arc a mydata" command, the
  730. selected files are added to archive "mydata.arc".  Alternately, you
  731. can use the Mouse menu to produce the arc add command to add the
  732. selected files.
  733.  
  734. Both methods of file selection work only for the first MOS command.
  735. After that, the Finder selections are forgotten.   See the previous
  736. section for launching with a .BAT batch file.
  737.  
  738.  
  739. 2.7  MOS Devices
  740.  
  741.  
  742. When redirecting input or output, you can specify a disk file name
  743. or one of the following hardware devices.
  744.  
  745. CON  = console
  746.  
  747.      The console is the display window and keyboard.
  748.  
  749.  
  750. PRN  = printer (port .B)
  751.  
  752.      This is the printer serial port. No Macintosh printer device
  753. driver is used to filter the output of this device, so you printer
  754. needs to be able to print standard ASCII characters (as does
  755. Apple's Imagewriter and all other dot matrix or daisy wheel
  756. printers).  The complete MOS program contains an LPT device that
  757. operates through your standard Macintosh printer driver.  The port
  758. is fixed in ArcMac but can be switched in MOS.
  759.  
  760.  
  761. TRM  = terminal(port .A)
  762.  
  763.      This is a terminal (input and output) device with echo to the
  764. MOS display.  It is not a full communications package, and uses no
  765. special transfer protocols, but you can redirect MOS input and
  766. output to another computer running some terminal software. Port is
  767. fixed to .A (the modem port) in ArcMac but switchable in MOS.
  768.  
  769. 16  ArcMac
  770.  
  771.  
  772.  
  773. COM1 = serial port .A
  774.  
  775.      This is always serial port .A (modem) and no processing is
  776. done on input or output.
  777.  
  778.  
  779. COM2 = serial port .B
  780.  
  781.      This is always serial port .B (printer) and no processing is
  782. done on input or output.
  783.  
  784.  
  785.  
  786. 2.8  File Name Wild Cards
  787.  
  788.  
  789. The Macintosh operating system is very liberal in its file naming
  790. conventions.  Just about any letter exclusive of the path
  791. separator, :, can be included in a name.  This liberality is
  792. feasible because in most Macintosh programs, file names are rarely
  793. used to identify which files to operate on (or only in the visual
  794. sense, of clicking on a name in a list).
  795.  
  796. In text based systems, like MOS, file names are the key to
  797. identifying files, and there are certain conventions that allow
  798. easy processing.  The most fundamental is the space character.  A
  799. name is always considered to be one word, and words cannot have
  800. spaces.  A command or list of names is several words delimited by
  801. spaces.  MOS handles spaces in file names that it reads by
  802. interpreting them as the required space (ascii $CA).  When you want
  803. to specify a file whose name contains a space, you can use the
  804. keyboard required space (option-space bar) or often you can
  805. substitute a ? wild card.
  806.  
  807. You can use the question mark, ?, to match any single letter where
  808. wild cards are allowed, or asterisk, *, to match a bunch of letters
  809. at the start or end of a name.  Upper case and lower case letters
  810. are not distinguished.
  811.  
  812.       Special file name characters
  813.  
  814.      ?    match 1 letter in file name
  815.      *    match many letters in file name
  816.      :    drive and path name separator
  817.      \    path name separator
  818.      ..   (two periods), parent directory specifier
  819.      /    command line option character (some commands)
  820.  
  821.                                                           ArcMac 17
  822.  
  823.  
  824.  
  825. 2.9  Control Keys
  826.  
  827.  
  828. Two standard control keys are active during all operations.
  829.  
  830.      ^C = user break
  831.      ^S = stop list
  832.  
  833. The Stop List key (control-S) causes all display listing to pause
  834. until you press control-S again.
  835.  
  836. The User Break key (control-C, also the enter key on many Macintosh
  837. keyboards) will halt the current operation and return you to the
  838. main MOS prompt.  If typed at the main MOS prompt, MOS halts
  839. (equivalent to EXIT).
  840.  
  841.  
  842.  
  843. 2.10  Mouse Clicks
  844.  
  845.  
  846.      click on word  = type it
  847.      click on c     = carriage return
  848.  
  849. ArcMac supports mouse operations in two ways.  First, there is an
  850. Arc Dialog under the "Mouse" menu.  This dialog contains
  851. essentially all of the archiving operations in a mouse clickable
  852. format of buttons and standard file dialogs.
  853.  
  854. The other support for mouse clicks is to make any displayed words
  855. clickable as though they were typed from the keyboard.  You can
  856. select file names for operations in this manner by displaying a
  857. directory then clicking on listed names.  The special circle c
  858. symbol (copyright symbol) displayed at the MOS prompt is a carriage
  859. return when clicked on.
  860.  
  861. 18  ArcMac
  862.  
  863.