home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / util4 / grab-bag.lzh / VARITALE.ARC / VARITALE.DOC < prev    next >
Text File  |  1989-01-01  |  17KB  |  567 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                        THE VARITALE AUTHORING SYSTEM
  10.  
  11.                               Release: C1.00
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.                              Operator's Manual
  21.  
  22.                             Spring 1987 Edition
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.                      P I N N A C L E   S O F T W A R E
  31.  
  32.                      P.O. Box 163 Cartierville Station
  33.                      Montreal, Quebec, Canada  H4K 2J5
  34.  
  35.                               (514) 331-6791
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.                                   NOTICES
  44.  
  45. This  publication  could  include  technical  inaccuracies  or typographical
  46. errors.
  47.  
  48. Changes are periodically made to the information herein;  these changes will
  49. be incorporated in new editions of this publication.
  50.  
  51. Requests for  copies of this product and for technical information about the
  52. system should be made to your authorized VariTale  dealer or  to the address
  53. indicated in the licensing agreement.
  54.  
  55. The VariTale product is Copyright (C) 1987 by Pinnacle Software.
  56.  
  57.  
  58. Upgrades and Support
  59.  
  60. If  you  are  a  registered  user  of  the full-feature (15-book) commercial
  61. version of this product, you  will  be  granted  a  special  account  on "Le
  62. Systeme Online",  a Montreal-based multiple-node information network.  (Call
  63. (514) 844-1567 at 300/1200/2400 baud, using 8N1).  You may  use this account
  64. to  send  your  comments  via  electronic  mail  to the user named "Pinnacle
  65. Software".  You may also  download  any  upgrades  or  new  versions  of the
  66. product, using a standard protocol such as XMODEM.
  67.  
  68. This support  arrangement will  remain in  effect for  one year,  and may be
  69. renewed each year for $20.  If VariTale is popular amongst your users -- and
  70. we believe it will be -- you can easily get them to support it.
  71.  
  72.  
  73. Private Information
  74.  
  75. The information  contained in  this manual is intended only for operators of
  76. VariTale installations.  You  are requested  to keep  it private.   Under no
  77. circumstances may this manual be copied in any way.
  78.  
  79.  
  80. Dedication
  81.  
  82. (From Timothy Campbell, creator of VariTale)
  83.  
  84. The inspiration  for VariTale  came from  many sources,  but one significant
  85. influence was the HyperText system proposed by computer  guru Ted  Nelson in
  86. his book  "Computer Lib/Dream Machines".  If you haven't read it, you owe it
  87. to yourself to get your hands on a copy.  Whence the sequel, Ted? 
  88.  
  89. Note, though, that VariTale is not  HyperText  and  makes  no  claim  to be.
  90. Everything is deeply intertwingled, but some things more so than others.
  91.  
  92.  
  93.  
  94.             ii
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.    NOTICES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  ii
  102.    Upgrades and Support
  103.    Private Information
  104.    Dedication
  105.  
  106.    WHAT IS VARITALE? . . . . . . . . . . . . . . . . . . . . . . . . . .   1
  107.  
  108.    INSTALLING VARITALE . . . . . . . . . . . . . . . . . . . . . . . . .   2
  109.    What You Need
  110.    Installation Steps
  111.    Getting Things Rolling
  112.  
  113.    DOOR OPERATION  . . . . . . . . . . . . . . . . . . . . . . . . . . .   3
  114.  
  115.    MULTI-USER OPERATION  . . . . . . . . . . . . . . . . . . . . . . . .   4
  116.    File Locking
  117.    The Unique File-locking Tag
  118.    Single-Processor Operation
  119.    LAN Operation
  120.  
  121.    MAINTENANCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  122.    Backups
  123.    Librarian Commands
  124.    BURN
  125.    CLOSE
  126.    RENAME
  127.    Why Show the Commands?
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.                                                                                        iii
  154.  
  155.  
  156.  
  157.  
  158.  
  159.                              WHAT IS VARITALE?
  160.  
  161. VariTale is  a "branching  authoring system", designed to run either locally
  162. or as a "Door" on BBS systems such as PCBoard, RBBS, NoChange, Fido, ROS and
  163. so on.
  164.  
  165. You will  be able  to write stories (known in VariTale as "books") that have
  166. alternate chapters.  Here is an example of a branching tale:
  167.  
  168.  
  169.         .---------------- I woke up -----------------.
  170.         :                                            :
  171. .------ I went back to sleep ----.              .--- I made breakfast ---.
  172. :                                :              :                        :
  173. I dreamed up a new program   I had no dreams    It was bad     It was good
  174.  
  175.  
  176. At any point, there is always an alternative.  In VariTale, each step (known
  177. in VariTale  as "chapters")  can be  up to  50 lines long.  After each step,
  178. there can be up to 5 alternatives.
  179.  
  180. This allows you and other people to create  "story-rounds", in  which every-
  181. body contributes  chapters to  the tale.   Story-rounds are quite popular on
  182. BBS systems, but there is a problem:   somebody will  take the  story in the
  183. wrong direction,  and the other writers get annoyed.  And that is the end of
  184. that story.
  185.  
  186. With  VariTale,  the  writers  can  propose  alternate  chapters,  either in
  187. response to  an inappropriate effort by another writer, or simply to explore
  188. a different facet of the story.
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.                                                                                          1
  213.  
  214.  
  215.  
  216.  
  217.  
  218.                             INSTALLING VARITALE
  219.  
  220.  
  221. What You Need
  222.  
  223. VariTale is very easy to install.  It will runs  MS- or  PC-DOS Version 2.00
  224. and higher, on any 128K IBM-PC or compatible.  
  225.  
  226. VariTale should  be run  on a  hard disk  if you  expect any kind of serious
  227. traffic on the program.   Its  file-handling  is  quite  efficient,  but the
  228. chapters can  stack up  quite quickly.  Apart from that, though, there is no
  229. reason why it cannot be run on floppies.
  230.  
  231.  
  232. Installation Steps
  233.  
  234. To get VariTale running on your system, follow these steps:
  235.  
  236.    1.   Make a backup copy of the original diskette.
  237.  
  238.    2.   Prepare a destination for the VariTale files.
  239.  
  240.         A.   If using a hard disk, this means creating  a directory, usually
  241.              named VARITALE.
  242.  
  243.         B.   If using floppies, this means formatting a diskette.
  244.  
  245.    3.   Copy the  necessary files from the original diskette to their proper
  246.         place (on a hard disk or a floppy).  Use the DOS COPY command  to do
  247.         this.
  248.  
  249.    4.   Configure VariTale  to work  according to your wants and needs.  The
  250.         CONFIG program will take you through the necessary steps.
  251.  
  252.    5.   Run a local test.  The VARITALE command will do this.  This runs the
  253.         program locally, with absolutely no reference to the modem.  You can
  254.         run VariTale in this manner at any time.
  255.  
  256.    6.   If you wish to run VariTale as a Door, refer to the "Door Operation"
  257.         section of this manual.
  258.  
  259.  
  260. Getting Things Rolling
  261.  
  262. On some  BBS's, VariTale  needs a little push to establish it as a regularly
  263. used feature of the system.   People are  not encouraged  to start  a story-
  264. round if  they feel  they're alone.   You  should get  a few budding writers
  265. together, have them pick a rough plot, then start at the same time.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.             2
  272.  
  273.  
  274.  
  275.  
  276.  
  277.                               DOOR OPERATION
  278.  
  279.  
  280. This manual is not intended to be a  tutorial for  door operations.   Please
  281. consult your host BBS's documentation for full details.
  282.  
  283. In general, you will create a batch (.BAT) file which will call up VariTale,
  284. using a special start-up command that will be  explained shortly.   VariTale
  285. handles problems  such as  lost carriers,  so there  is no need for watchdog
  286. timers and suchlike things.
  287.  
  288. To start up VariTale, place the following command in your door batch file:
  289.  
  290.                  VARITALE /DOOR/user-name/time-left/port 
  291.  
  292. user-name ....... If omitted, none assumed 
  293.                   This is optional.  It is used only in the  activity report
  294.                   generated by the CLOSE command if you are running a multi-
  295.                   user system.
  296.  
  297. time-left ....... If omitted, assumes 60 minutes maximum visit time 
  298.  
  299. port ............ Current port address, in decimal
  300.                   If omitted, assumes default port from CONFIG.DAT
  301.                   If 0, no modem reference (i.e. console) 
  302.                   If D, door is forced opened (use after  system crash ONLY)
  303.   
  304. Here are some examples...
  305.  
  306. VARITALE /DOOR                 No name assumed, 60 minutes, default port 
  307. VARITALE /DOOR//15/0           No name assumed, 15 minutes, console 
  308. VARITALE /DOOR/JOE SMITH/60    For Joe Smith, 1 hour on default port
  309. VARITALE /DOOR///1016          No name, 60 minutes, on COM1 (decimal 1016)
  310. VARITALE /DOOR///A1016         With system ID for LAN use (explained later)
  311.  
  312. Information such  as real-name,  time-left and  port can  be determined by a
  313. program you write to build a command line.  On  a multi-port  system, such a
  314. program  is  not  optional;  you  must  pass information to be used for file
  315. locking purposes.   If  are running  a LAN,  you may  have to  pass a system
  316. identifier letter.  See "Multi-User Operation" for details. 
  317.  
  318. We will  be collecting appropriate command-line builder programs for various
  319. BBS systems.  See the "Upgrades and Support" section for more information.
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.                                                                                          3
  331.  
  332.  
  333.  
  334.  
  335.  
  336.                            MULTI-USER OPERATION
  337.  
  338.  
  339. This section is directed towards users of multi-port systems.   You can skip
  340. it if you configured VariTale for a single-user system. 
  341.  
  342.  
  343. File Locking
  344.  
  345. "Locking"  means  claiming  exclusive  use  of  a  resource.  In the case of
  346. VariTale, for instance, it means that a book can be used only  by one person
  347. at a time.
  348.  
  349. VariTale  does  its  own  file  locking.    It does not use the file locking
  350. provided with DOS 3 and higher, nor does it use  locking techniques  such as
  351. the one  provided by MultiLink.  VariTale's locking technique is slower than
  352. that provided by the aforementioned products.   On  the other  hand, it does
  353. allow you to run VariTale under a wide range of environments. 
  354.  
  355. It's slower  because all  locking information  is recorded in the .LOK file,
  356. using a "collision detection" scheme.  This is  obviously has  lower perfor-
  357. mance  than  a  RAM-based  locking  table, but it minimizes interaction with
  358. other products, thereby maximizing compatibility. 
  359.  
  360. If you are running a LAN  (Local Area  Network), be  careful of disk-caching
  361. software because  this might  prevent locking  information from reaching the
  362. locking file  properly.    VariTale  synchronizes  locking  file  updates by
  363. performing a  dummy write  before checking  for collision, but a cache would
  364. make this approach useless if it withholds disk writes. 
  365.  
  366. There is one major problem with a disk-based locking table:  if  your system
  367. crashes,  it  will  faithfully  remember  the  locking data!  This data will
  368. "time-out" after an hour (the maximum  time  allowed  in  VariTale),  so the
  369. problem isn't  deadly.   You can  clear the locking data by using the "clear
  370. door" command: 
  371.  
  372.                            VARITALE /DOOR///D/ 
  373.  
  374. Not only does this open  the  door  (if  closed  previously  with  the CLOSE
  375. command), but  it will  also reset  all locking  data.   This version of the
  376. command can be executed only at the console or a local workstation.  You can
  377. skip this  step, but  your users  will have to wait a while for any locks to
  378. time out. 
  379.  
  380. We regret any inconvenience that may be caused by our locking scheme.   It's
  381. a compromise  which ensures  that VariTale  will run on almost any computer,
  382. network, DOS or multi-tasker. 
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.             4
  390.  
  391.  
  392.  
  393.  
  394.  
  395. The Unique File-locking Tag
  396.  
  397. VariTale performs a lock  by writing  a locking  record, performing  a dummy
  398. write to  de-synchronize itself in certain environments, then re-reading the
  399. record to see if  it has  been altered.   If  it has,  it means  somebody is
  400. competing for the same resource.  In such a case, the lock is not acquired.
  401.  
  402. In order  to determine  if a "collision" has taken place (i.e. more than one
  403. user is competing for the same resource), VariTale  must have  a unique item
  404. of data associated with each user.  This is absolutely essential.
  405.  
  406. VariTale compares port, user-name and system identification data.  
  407.  
  408.  
  409. Single-Processor Operation
  410.  
  411. If you  are running  a single-processor system (using a multi-tasker such as
  412. Multi-Link, Desqview, etc.) each  of your  users will  have a  different COM
  413. port.   In this case, you need only pass the port address to VariTale on the
  414. start-up line (e.g. VARITALE  /DOOR/name/time/port).    This  information is
  415. used both for file locking and setting up communications.
  416.  
  417.  
  418. LAN Operation
  419.  
  420. If you  are using  a LAN,  all of your users may have the same port address.
  421. In this case,  the  "port"  parameter  should  include  an  arbitrary system
  422. identification  to  permit  file  locking.    Prefix the port address with a
  423. letter (anything from ASCII decimal 65 to ASCII decimal 122 -- that is, A to
  424. Z uppercase,  some intervening  special characters, and a to z lowercase) to
  425. provide a system identification to provide a unique locking tag.
  426.  
  427. Here's an example:
  428.  
  429. VARITALE /DOOR/JOE SMITH/45/X1016       <-- System "X", on COM1
  430.  
  431. Alternately, you may rely on the user-name as  the unique  tag if  (and only
  432. if) you  are certain  that there will never be two people with the same name
  433. using VariTale.  (That includes "System Operator", of course.)
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.                                                                                          5
  449.  
  450.  
  451.  
  452.  
  453.  
  454.                                 MAINTENANCE
  455.  
  456.  
  457. Backups
  458.  
  459. Under normal circumstances,  VariTale  should  be  totally self-maintaining.
  460. However,  it  is  possible  that  a  system crash could cause the index file
  461. (.TOC) to be corrupted.
  462.  
  463. To deal with this  possibility, VariTale  comes with  a batch  program named
  464. BACK.    This  copies  the  data  files  to a sub-directory of your VARITALE
  465. directory, named BACK.  To make your first backup, enter these commands:
  466.  
  467.    CD VARITALE              <-- Change to your VariTale directory
  468.    MD BACK                  <-- Create the safe-keeping directory
  469.    BACK                     <-- Make a backup
  470.  
  471. Should your files get  messed up  somehow, you  can restore  the last backup
  472. with the RESTORE command.
  473.  
  474. This  technique  is  by  no  means  as  good as performing regular full-disk
  475. backups, but it is quick.  Please run BACK at  least every  few days.   Your
  476. users will  be heart-broken if their masterpieces suddenly disappear because
  477. you didn't have a recent backup.
  478.  
  479.  
  480. Librarian Commands
  481.  
  482. The librarian commands are enabled with the ENABLE  command.   This will ask
  483. for a  password.   This is  initially set  to "bookworm",  but this can (and
  484. should) be changed with the CONFIG program.
  485.  
  486. There are three special commands for the librarian:  BURN, CLOSE and RENAME.
  487.  
  488.  
  489. BURN
  490.  
  491. This command removes a  book from  the list.   This  also deletes  the files
  492. associated with  the book.   If you want to preserve them for posterity, you
  493. can copy them to a floppy.  Each book has two files (.TOC and  .VTB).  Thus,
  494. to preserve  book #1, you'd copy VARIA.TOC and also VARIA.VTB.  Book #2 uses
  495. VARIB.TOC and VARIB.VTB, and so on.
  496.  
  497. VariTale comes with two  dreadful sample  stories named  "The Secret  of the
  498. Broken Sword"  and "Space  Terror!".  Feel free to use them to test the BURN
  499. command.
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.             6
  508.  
  509.  
  510.  
  511.  
  512.  
  513. CLOSE
  514.  
  515. This command prevents further users from entering VariTale  unless they have
  516. the librarian's  password.  If they type it in correctly, the library is re-
  517. opened.  It can also be re-opened by using the  "D" option  explained in the
  518. "Multi-User Operation" section.
  519.  
  520. This command  is only  useful on  a multi-user system, of course.  It allows
  521. you to keep people out of the program while you  are performing maintenance,
  522. such as the RESTORE described in the "Maintenance" section.
  523.  
  524.  
  525. PRUNE
  526.  
  527. This command  is used to delete a chapter.  You might do this if the chapter
  528. is offensive either to your morals or literary taste.
  529.  
  530. PRUNE deletes only a single chapter and the pointer from a previous chapter.
  531. It does  not delete  all the  branches emanating  from the chapter.  You may
  532. have to PRUNE many times if you're doing a major clean-up.
  533.  
  534. PRUNE does not  compress  the  book  file,  either;  it  simply  removes the
  535. pointers associated  with the  chapter and  blanks out its title so it won't
  536. show up.  You will gain no additional disk space by PRUNEing.
  537.  
  538.  
  539. RENAME
  540.  
  541. This command lets you rename a book.  You may wish to  do this  if the story
  542. branches away from the premise implied by the original title.  It can not be
  543. used to rename a chapter.
  544.  
  545.  
  546. Why Show the Commands?
  547.  
  548. You may be curious why the  HELP command  shows the  librarian's commands in
  549. addition to  the usual  commands.  No doubt, some system operators will feel
  550. that this is private information and that it's  none of  the users' business
  551. what he can do.
  552.  
  553. On the  other hand, if the users know what commands you have available, they
  554. might not bother you with requests that you can't deal with, such  as "Can I
  555. move a  chapter after another one?"  No, you can't, and any observant person
  556. will probably figure this out -- which will save time for both of you.
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.                                                                                          7
  567.