home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / ra / dinfavt4.zip / DINFOAVT.DOC next >
Text File  |  1993-01-15  |  9KB  |  210 lines

  1.    ╒══════════════════════════════════════════════════════════════════╕
  2.    │  DINFOAVT 4; RemoteAccess 1.xx ANSI/AVATAR DORINFO1.DEF utility  │
  3.    ╘══════════════════════════════════════════════════════════════════╛
  4.  
  5.  Dinfoavt.Exe/Dinfoavt.Doc written by geoffrey booher 1:2270/233.1@fidonet
  6.  Copyright (c) 1990 - 1993; boo s/w development hq
  7.  
  8.  disclaimer:
  9.  ───────────
  10.  DINFOAVT 4 is *ONLY* guaranteed to consume diskspace.  It has been very
  11.  extensively tested and found to be pretty reliable.  In no way is the
  12.  Author of this program responsible for any damages, consequential, or
  13.  otherwise from the neglect of DINFOAVT 4's use or misuse.  DINFOAVT 4
  14.  is provided as is, without warranty of any kind, either expressed or implied.
  15.  
  16.  DINFOAVT 4 may be distributed freely subject to the following conditions:
  17.  
  18.  1.  No fees are charged for distributing or obtaining the DINFOAVT files.
  19.      DINFAVT4.ZIP may be placed on pay/subscription systems, provided that
  20.      a fee is not charged for DINFAVT4.ZIP itself.
  21.  
  22.  2.  The files within the DINFAVT4 archive are not modified in ANY way, this
  23.      includes reprocessing/recompressing the DINFAVT4.ZIP to another type
  24.      of compression.
  25.  
  26.  questions:
  27.  ──────────
  28.  Send Netmail to geoffrey booher, 1:2270/233.0@fidonet.  Or I suppose any
  29.  questions you have could be addressed to me in the RA_UTIL conference.
  30.  
  31.  
  32.  files in the archive:
  33.  ─────────────────────
  34.  DINFOAVT.EXE - 80386 protect mode version of the program, this file is ready
  35.                 to use if you have a 386 or higher based CPU machine.
  36.  
  37.  DINFOAVT.XT  - 808X version of the program, rename to DINFOAVT.EXE and use
  38.                 this file if you have a 286 or below based CPU machine.
  39.  
  40.  DINFOAVT.DOC - You're reading it.
  41.  
  42.  WHATSNEW.4   - History and new features in DINFOAVT 4.
  43.  
  44.  README.1ST   - Notice about the distribution archive.
  45.  
  46.  overview and features:
  47.  ──────────────────────
  48.  DINFOAVT+ 4 is a DORINFO1.DEF utility specifically for use with
  49.  RemoteAccess 1.xx.
  50.  
  51.  It's main purpose is to change the DORINFO1.DEF file if the user online has
  52.  BOTH ANSI/AVATAR emulation enabled to plain ANSI so software that does not
  53.  recognise the new 2 and 3 DORINFO1.DEF codes can still do ANSI if possible.
  54.  
  55.  I wrote this program because my users that are taking advantage of my AVATAR
  56.  screens were complaining there was 'no colors' on 'DOORS' and other Type 7
  57.  programs I run.  So ... I figured that these dudes were running the code '3'
  58.  in DORINFO1.DEF that they were using ANSI and AVATAR both.  If that was the
  59.  case, then temporarily change to code '1' ANSI to run the door, and restore
  60.  the ANSI/AVATAR code '3' after the door.  Simple enough.
  61.  
  62.  
  63.                                                                      Page 2
  64.  setting up DINFOAVT 4:
  65.  ──────────────────────
  66.  Put the correct Dinfoavt.Exe anywhere in your DOS PATH, along with any of
  67.  your other utilities.
  68.  
  69.  
  70.  DINFOAVT Command line parameters:
  71.  
  72.  DINFOAVT     
  73.  DINFOAVT /?  - Shows a help screen.
  74.  
  75.  DINFOAVT /I  - Use this switch going INTO the door.  It will look for a
  76.                 DORINFO?.DEF file (yes, it will use DORINFO1, DORINFO2, etc)
  77.                 in the CURRENT DIRECTORY.  If line 10 is '2' or '3', AVATAR or
  78.                 ANSI/AVATAR, it will write a DORINFO?.$$$ file with the
  79.                 original DORINFO?.DEF contents, and change the DORINFO?.DEF
  80.                 file to '1' on line 10 for ANSI if ANSI/AVATAR is detected. It
  81.                 will change the DORINFO?.DEF to '0' if AVATAR alone is detected.
  82.                 If it's 0 - ASCII/TTY; or 1 - ANSI only, it won't update
  83.                 the DORINFO?.DEF file, and won't create the DORINFO?.$$$ file.
  84.  
  85.  DINFOAVT /O  - Use this switch on the way OUT the door.  It will look for the
  86.                 DORINFO?.$$$ if it was created by the DINFOAVT /I option.
  87.                 If it doesn't find it, it assumes ANSI/AVATAR both was NOT the
  88.                 initial emulation and will do nothing.  If it finds the
  89.                 DORINFO?.$$$ file, it will overwrite it with the CURRENT
  90.                 DORINFO?.DEF file, and then rewrite a new DORINFO?.DEF file
  91.                 with updated time remaining, etc from the door, and change
  92.                 line 10 back to '3' so ANSI/AVATAR is enabled again upon return
  93.                 to the BBS.  This is NOT needed by RemoteAccess, but may be
  94.                 by other programs following in a batchfile.
  95.  
  96.  DINFOAVT /IO - This switch just changes DORINFO1.DEF and does not attempt to
  97.                 change DORINFO1.DEF back when the DOOR is done.  Some DOORS
  98.                 use DORINFO1.DEF to get some settings like graphics, but RA
  99.                 actually uses EXITINFO.BBS to update the time used.
  100.  
  101.  DINFOAVT /R  - This switch adds the -R info to the line settings info if a
  102.                 "reliable" (error-free) connection is active.  If you do not
  103.                 have an error-correcting modem, then this parameter is of no
  104.                 use to you.  Example of what DINFOAVT /R will do :
  105.  
  106.                 14400 BAUD-R,N,8,1  (the -R is added in if error-free connect)
  107.                 2400 BAUD,N-8-1     (-R is NOT added if not error-free)
  108.  
  109.                 DINFOAVT reads the EXITINFO.BBS file in the current directory
  110.                 to determine if the connection is error-free.
  111.  
  112.                 NOTE:  Not all doors support the -R in DORINFO1.DEF, but some
  113.                        of the newer filedoors do.  Doors that don't support
  114.                        it really don't care, so the -R won't hurt, as the door
  115.                        will only read just the speed number.
  116.  
  117.  DINFOAVT /D  - This switch displays the contents of the DORINFO?.DEF file.
  118.  
  119.  
  120.                                                                      Page 3
  121.  
  122.  
  123.  using DINFOAVT 4:
  124.  ─────────────────
  125.  You will need to create a batchfile to run your door.  Here's an example:
  126.  
  127.  Type 7 - Optional Data: *C /C C:\RA\BBSLIST.BAT *M *N
  128.  
  129.  Bbslist.Bat:                    -OR-
  130.  
  131.  @Echo OFF                       @Echo OFF
  132.  Dinfoavt /I /R                  Dinfoavt /IO /R
  133.  Bbslist Bbslist.Cfg             Bbslist Bbslist.Cfg
  134.  Dinfoavt /O
  135.  
  136.  I realise making batchfiles to run type 7's is not the most elegant way to
  137.  run things, but DINFOAVT 4 is really a kludge program to give ANSI Colors
  138.  AT LEAST in your doors until such time the doors become AVATAR 'smart'.  It
  139.  is also VERY handy to pass error-correcting status to those doors that
  140.  support the -R in DORINFO1.DEF.
  141.  
  142.  
  143.  DINFOAVT+ 4 technical info:
  144.  ───────────────────────────
  145.  Dinfoavt.Cpp was written in C language with the CPlusPlus extension option.
  146.  Dinfoavt.Exe was compiled with Borland International's Borland C++ 3.1 using
  147.  the Small Memory Module ( < 64kb heap ).
  148.  
  149.  DINFOAVT.EXE has the following errorlevels:
  150.  
  151.  Errorlevel 4 - invalid parameter or no parameters (help screen)
  152.  Errorlevel 3 - DORINFO1.DEF successfully updated
  153.  Errorlevel 2 - File I/O error
  154.  Errorlevel 1 - Missing DORINFO?.DEF or EXITINFO.BBS (/R option)
  155.  Errorlevel 0 - DORINFO1.DEF not changed
  156.  
  157.  
  158.  NOTE!! DINFOAVT 4 expects to find ONE DORINFO?.DEF file in the CURRENT
  159.         DIRECTORY!  If you are running a multi-line system, this should not
  160.         pose a problem as the door will likely be executed in that nodes
  161.         directory.  The RemoteAccess documentation states doors must be run
  162.         from their own seperate directories when running multiple copies, so
  163.         DINFOAVT 4 should find the correct DORINFO1.DEF file in the
  164.         directory currently in.  if you rename it to DORINFO2.DEF in your
  165.         batchfile - that is okay - DINFOAVT will support that too.
  166.  
  167.         If the program finds more than ONE DORINFO?.DEF file in the current
  168.         directory it will use the first one it finds, whether valid or not!
  169.  
  170.  
  171.                                                                      Page 4
  172.  
  173.  thanks:
  174.  ───────
  175.  Thanks to andrew milner and the RemoteAccess beta duders for the best BBS
  176.  software available anywhere hands down.  :-)
  177.  
  178.  Thanks to Kevin Zimmerman at The Boomtown BBS - 1:2270/868@fidonet for
  179.  sometimes getting 7 versions of my programs per day to pre-test out.
  180.  
  181.  Thanks to Bruce Bodger at The Truckstop BBS - 1:170/400@fidonet for helping
  182.  out with beta bashing some of my stuff.
  183.  
  184.  Thanks to Bob R. at The Anonymous BBS - 1:154/40@fidonet for some good
  185.  suggestions for DINFOAVT 2.00 and 4 (the /R command).  :-)
  186.  
  187.  Thanks to Mark Howard at Rivendell TAP/NA - 1:260/340@fidonet for writing
  188.  RAEXIT for RemoteAccess 1.00 EXITINFO.BBS conversion.  It was his program
  189.  that gave me the idea for the display contents (/d) command and helped test
  190.  if the /R command worked properly.
  191.  
  192.  misc:
  193.  ─────
  194.  The following products/examples are the Copyrighted materials of their
  195.  respective named holders:
  196.  
  197.  DINFOAVT 4                      boo s/w development hq
  198.  
  199.  Borland C++ 3.1                 Borland International
  200.  
  201.  RemoteAccess                    andrew milner and Continental Software
  202.  
  203.  BBSLIST                         Off The Wall Programming
  204.  
  205.  AVATAR                          George A. Stanislav
  206.  
  207.  Fidonet                         Tom Jennings
  208.  
  209.  
  210.