home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / c / comv31.zip / INSTALL.EXE / ADDS.TXT next >
Text File  |  1993-03-13  |  24KB  |  455 lines

  1.   
  2.                       C O M C A L L   V E R  3 . 1
  3.   
  4.   
  5.                           ADDITIONALS/UTILITIES.
  6.   
  7.   
  8.   
  9.   This section provides  details as  to  the  additional commands/utilities
  10.   that are provided within the COMCALL package.
  11.   
  12.   YOU  SHOULD  BE  FAMILIAR  WITH  THE   BASIC OPERATION OF  COMCALL BEFORE
  13.   ATTEMPTING TO ADD IN ANY OF THE FOLLOWING UTILITIES TO YOUR SET UP.
  14.   
  15.    
  16.                                 CONTENTS.
  17.   
  18.   
  19.                               EXECITAT.EXE
  20.                               CHKBOOT.EXE
  21.                               COMBOOT.EXE
  22.                               STOPBOOT.EXE  
  23.                               HARDWARE (Electrical Device Switching)   
  24.   
  25.   
  26.   
  27.   ****************************************************************************
  28.   
  29.   
  30.   
  31.   1.                         EXECITAT.EXE
  32.   
  33.   
  34.   EXECITAT.EXE   is a utility   that enables you   to perform an action  or
  35.   command sequence at   a specific   time.    It  is  a Terminate and  Stay
  36.   Resident (TSR) routine that takes around 14 Kbytes of Memory.   
  37.   
  38.   To use EXECITAT you must have a AT or equivalent  as the  routine depends
  39.   upon the date and time  parameters  being automatically set at  your PC's
  40.   boot  up  time  and  not  manually  entered  (e.g  battery  powered clock
  41.   required).
  42.   
  43.   EXECITAT MUST be executed from the drive that you boot from.  e.g  If you
  44.   have  two hard  disks,  c:  and d:,  and you boot from the c: drive, then
  45.   EXECITAT must reside on the c: drive and be executed from that drive.
  46.   
  47.   EXECITAT  is  purely command line   driven   and should be called  either
  48.   directly from the DOS prompt  or from within  a batch files.   The syntax
  49.   is:- 
  50.   
  51.   
  52.                          EXECITAT hh:mm <t>
  53.   
  54.   where 
  55.   
  56.    hh is the 'Continental Time Hour (00 (Midnight) to 23 (11 pm))
  57.    mm is the minute (00 - 59)
  58.    t  is an optional parameter to silence the warning tone.
  59.   
  60.   NOTE: The hours and minutes MUST be full 24 Hour Clock format e.g.
  61.   
  62.                   09:06   for 6 mins past 9 o'clock
  63.    
  64.            NOT    9:6
  65.   
  66.   EXECITAT goes   against the common   practice of other similar TSR's that
  67.   do not correctly action if the PC  is running another  application at the
  68.   time of the trigger occurring  (e.g.  not at the DOS prompt)  in that  it
  69.   WILL perform   the required action   at   the stated time no  matter what
  70.   other  function   or   program may be running at that  time.  It achieves
  71.   this by using a  controlled reboot request.   A WORD OF  WARNING.  If you
  72.   are in another application,  say your word processor, and the trigger for
  73.   the TSR does fire (time),  then your text processors current data  may be
  74.   lost as a result of the reboot request issued by EXECITAT, depending upon
  75.   when you last did a text save.   If you intend to use the  TSR under such
  76.   circumstances, then leave the EXECITAT warning tone on.  This should give
  77.   you  sufficient  time  (1  minute)  to make  any saves of  data.  Imagine
  78.   however,  if you were foolish enough to perform a database or disk re-map
  79.   in batch mode with this TSR active!  Use with sense and care.
  80.   
  81.   Being a TSR there may be  some  conflict  with  other programs  or  TSR's
  82.   with regard   to   memory or interrupt  contention.    To  date  we  have
  83.   not   detected   any   such contention,  but this does not guarantee that
  84.   some    other programs may not conflict with this utility.   Always treat
  85.   TSR's with the respect that  they deserve and  test any of your  sets ups
  86.   prior to depending upon them.
  87.   
  88.   There may also be some contention between the clocks display  of EXECITAT
  89.   that  is  displayed at the  top right hand  of the screen and  some other
  90.   programs that also display at that point.
  91.   
  92.   Provided you are  aware of the  above points,   EXECITAT can be extremely
  93.   powerful utility.
  94.   
  95.   EXECITAT utilises  interrupt 1C (the timer tick)   and redirects  this to
  96.   one of the   un-used interrupts   (F1).   A second  un-used DOS interrupt
  97.   (F2)   is also utilised   as   a flag.  EXECITAT when loaded takes around
  98.   14K of memory.
  99.   
  100.   EXECITAT  will  perform a 'Cold'  re-boot  of  your  system  at  the time
  101.   specified in  the  hh:mm  parameter.   In  the  last  minute  of  such an
  102.   impending re-boot  you  will  see  a  warning  message   to  this effect.
  103.   Additionally  you will  hear   a  warning tone  during  this final minute
  104.   unless you specified the 'T'   option   when EXECITAT was invoked.   Once
  105.   the re-boot occurs,  a specific action or command sequence as pre-defined
  106.   by you may be performed (see CHKBOOT.EXE later).
  107.   
  108.   EXECITAT can be temporary switched off after having been invoked by using
  109.   the keystroke sequence   of <ALT><RIGHT SHIFT>   (press and hold down the
  110.   ALT key and then press the RIGHT SHIFT key).    You may have to hold this
  111.   keystroke   sequence down for a   short period  in order to wait  for the
  112.   switching tone.    When the  switch  becomes   active  you  will  see the
  113.   message 'STOPPED'  and hear the switch tone.  When this occurs you should
  114.   then   release the ALT-RIGHT/SHIFT    keys  to  latch in  this  off mode.
  115.   Similarly,  if a re-boot request has been temporarily stopped,  then this
  116.   may be resumed by using the ALT-RIGHT/SHIFT sequence again  to toggle the
  117.   request back on.    Note   that  the re-boot  request  timer  would  have
  118.   continued   to run.  Consequently  the  re-boot  request  time  may  have
  119.   expired whist  you had toggled off the EXECITAT request.   If this is the
  120.   case,   then a re-boot will occur as soon as you toggle  the request back
  121.   on   again.    However,  the required action may or may not  be performed
  122.   (see CHKBOOT)  under   such circumstances (according to  how long you had
  123.   the request toggled off for).
  124.   
  125.   In some   cases  some applications (such as   Windows)  may result in the
  126.   clock and re-boot   warning display may not be   seen.   The re-boot tone
  127.   however   should still be heard (unless you invoked EXECITAT with the 'T'
  128.   option).   You will be unable to use the ALT-RIGHT/SHIFT toggle  sequence
  129.   within Windows      and will have  to  exit  back  to  the DOS prompt  in
  130.   order to perform such a toggle.   Generally,  you will find that you will
  131.   not  be  able  to  run any of  the TSR's under a Windows  DOS  shell (DOS
  132.   PROMPT)  option as Windows will complain when  you attempt to  resume the
  133.   Windows session.  You should therefore attempt to initiate an Execitat or
  134.   Comboot (see later) request prior to starting a Windows session.  
  135.   
  136.   To install EXECITAT  you will  need to copy  the file CHKBOOT.EXE  to the
  137.   main root  directory from  which your  system boots (e.g.  C:\). You will
  138.   also need  to   make modifications to  your   autoexec.bat file so  as to
  139.   include a call to the CHKBOOT program (see CHKBOOT.EXE).    Once this has
  140.   been performed then you may invoke EXECITAT as desired.
  141.   
  142.   Once EXECITAT  has been  invoked then that copy  will be disabled if  any
  143.   further  EXECITAT   requests   are  made.    The  latest  request  always
  144.   becomes   the active  request.   You  may however,  still use the COMBOOT
  145.   utility  that   is  also  supplied  as  part  of   the   COMCALL  package
  146.   independently,   although  the earlier of  the two  reboot  requests will
  147.   apply.    Once a reboot does occur then any   other re-boot requests that
  148.   may have  been  outstanding may need to be  re-initialised as required as
  149.   these would have been lost by the re-boot resetting the  PC's  memory  in
  150.   which the TSR's reside.
  151.   
  152.   Having  invoked an  EXECITAT   request,   you may perform any  other task
  153.   that you would normally  perform.   EXECITAT will continue to  run in the
  154.   background.
  155.   
  156.   EXECITAT works on a rolling twenty-four hours basis.   That is  the  time
  157.   that the re-boot occurs will be a time   up to twenty   four hours  after
  158.   the request was entered.  Thus if the current time is 3pm (15:00), then a
  159.   request to reboot at 13:00  (1pm) would be interpreted as a reboot at 1pm
  160.   the following day.   Had  the request been  19:00  then the re-boot would
  161.   occur at 7pm that evening.
  162.   
  163.   Once  a reboot   occurs,   either  as   a  result   of   the CNTL-ALT-DEL
  164.   combination, through EXECITAT or  due to a PC power off/on,  then the TSR
  165.   will   be removed from  memory.    If   it  is  desired to  re-initialise
  166.   this, then you will  have to re-enter the  EXECITAT command (or  have the
  167.   command  within your autoexec.bat file).
  168.   
  169.   
  170.   ****************************************************************************
  171.   
  172.   
  173.   2.                          CHKBOOT.EXE
  174.   
  175.   This is an associated  program to  EXECITAT.EXE.   Its purpose is to test
  176.   whether the re-boot occurred as a result of EXECITAT or some  other means
  177.   such as a power-off/on or a CNTL-ALT-DEL combination.  
  178.   
  179.   If  CHKBOOT determines  that the re-boot  occurred   as  a result  of the
  180.   EXECITAT command then it  will return an  errorlevel value of 1.   In all
  181.   other cases this  errorlevel  will  be 0.    Thus you can use  CHKBOOT in
  182.   batch files such   as your autoexec.bat   in  order to  switch  the batch
  183.   files  processing   sequence.   For  further information  regarding batch
  184.   files, consult your DOS manual.
  185.   
  186.   Remember that you should use a textual editor to modify your autoexec.bat
  187.   file  and   not a   word-processor   package   as   these  can  introduce
  188.   unseen control characters.    If you   do  use  your  word   processor to
  189.   modify your autoexec.bat file,  then ensure that you save the  file using
  190.   the export to ASCII text option.
  191.   
  192.   CHKBOOT should be placed within  your autoexec.bat file  at  a convenient
  193.   point,  preferably somewhere after your   path  statement   (if  you have
  194.   one)  and before any other  called applications.    A typical addition to
  195.   your  autoexec.bat file could therefore be:-
  196.   
  197.          .
  198.          .
  199.          CHKBOOT
  200.          if errorlevel 1 goto doit
  201.          goto over
  202.          :doit
  203.          REM execute a specific action or
  204.          REM command sequence here
  205.          :over
  206.          REM continue normal autoexec.bat file sequence here
  207.          .
  208.          .
  209.   
  210.   The dots represent previous lines  in your   autoexec.bat file and should
  211.   not be  included.  They  purely  demonstrate  that  there  may  be  other
  212.   autoexec.bat file  commands  or  actions both  prior  and  following this
  213.   example piece of code.
  214.   
  215.   The  REM (remark)  statements  are comment  lines  provided   purely  for
  216.   descriptive  purposes and should be  replaced with your  desired specific
  217.   actions/commands.
  218.   
  219.   The   processing  sequence  as  a  result  of  this  additional  code  in
  220.   your autoexec.bat file now becomes:-
  221.   
  222.   Any actions or commands prior to  this example are  executed. The CHKBOOT
  223.   command is  executed  and  the  errorlevel  parameter   set  according to
  224.   whether the boot  occurred  as  a result of   EXECITAT (errorlevel  would
  225.   equal 1)  or  some  other reason  (errorlevel would  equal  0).    If the
  226.   errorlevel is 0  then processing would  continue at the :OVER  label (the
  227.   colon in column 1  of a batch file   indicates a  processing  label)  and
  228.   normal   batch   file  running would continue.   Otherwise the processing
  229.   would automatically flow   through  to  the  next  line  after  the :doit
  230.   statement.   This is where you would place any of your desired actions or
  231.   command sequences to  be performed if  the re-boot occurred  as  a result
  232.   of   the EXECITAT   request   (ie   at the specified   time).  Once these
  233.   actions/commands    had     completed    then    the  autoexec.bat  files
  234.   processing   would   be   resumed  as  per  normal  batch file processing
  235.   rules,   and any commands   after  the above   sequence   would   then be
  236.   executed.
  237.   
  238.   Note  that CHKBOOT is clock (time and date)  dependant.   If  the time as
  239.   stated  in  the EXECITAT request  is significantly different  to the time
  240.   detected upon the CHKBOOT command being executed,  then  the  action will
  241.   not be performed, even if the request arose out of an EXECITAT command.
  242.   
  243.   ****************************************************************************
  244.   
  245.   
  246.   3.                            COMBOOT.EXE  
  247.   
  248.   
  249.   
  250.   This is a simple timed re-boot utility.   COMBOOT uses interrupts 1C (the
  251.   timer  tick)  and F3,  F4  (Unused DOS interrupts).  When loaded, COMBOOT
  252.   takes around 9K of memory.
  253.   
  254.   COMBOOT   goes   against common   practice in that   it will perform  the
  255.   required action   at   the stated time no  matter what other function  or
  256.   program may be  running at  the stated  time.   The routine is similar to
  257.   that of the EXECITAT  function  (ALSO NOTE THE  EXECITAT WARNING), except
  258.   that  you cannot  specify an  action  to  be  performed  upon  the reboot
  259.   occurring.
  260.   
  261.   Being a TSR there may be  some  conflict  with  other programs  or  TSR's
  262.   with  regard   to   memory or interrupt  contention.   To  date  we  have
  263.   not   detected   any   such contention,  but this does not guarantee that
  264.   some   applications may not conflict  with  this  utility.   Always treat
  265.   TSR's with the respect that they  deserve and test  any of  your sets ups
  266.   prior to depending upon them.
  267.   
  268.   COMBOOT writes the current time to the top right hand part of the screen.
  269.   As some other programs may also write to this area after COMBOOT has been
  270.   loaded,  some apparent screen conflict  may appear at this  location.  In
  271.   such  cases,  the display at  this  point may alternate between  the last
  272.   program (application or COMBOOT)  that performs a physical  write to this
  273.   area of the display.  This is not a need for concern.
  274.   
  275.   Provided you are aware of  these  possible   pit-falls,   COMBOOT  can be
  276.   extremely powerful utility.
  277.   
  278.   COMBOOT is either command line driven, or may be entered via batch files.
  279.   
  280.   Syntax:-
  281.   
  282.                            COMBOOT x
  283.   
  284.   
  285.   Where x is a value 0   -  59  that represents the number of minutes to be
  286.   counted before a cold reboot is initialised.  
  287.   
  288.   For example entering  the command COMBOOT 2   would  result  in  a reboot
  289.   occurring after 2  minutes  had elapsed from  the  time  of  entering the
  290.   command.
  291.   
  292.   Once   a  reboot   occurs,   either as   a  result  of  the  CNTL-ALT-DEL
  293.   combination, through COMBOOT or  due to  power off/on,  then the TSR will
  294.   be   removed from memory.    If it   is  desired to  re-initialise  this,
  295.   then   you   will   have  to re-enter the COMBOOT command  (or  have  the
  296.   command  within  your autoexec.bat file).
  297.   
  298.   Having  invoked a COMBOOT  request,  you may perform any other task  that
  299.   you would normally perform (again note EXECITAT warning).    COMBOOT will
  300.   continue  to  run in  the background.   You may  call  subsequent COMBOOT
  301.   requests.   If  you  do  so,  then  the  latest  (last)   request  always
  302.   over-rides any previous requests and becomes the active request.    If an
  303.   EXECITAT request is  outstanding and has   an   earlier re-boot time than
  304.   that of  the current COMBOOT   request then  the   EXECITAT  request will
  305.   result in the loss of  the COMBOOT request when   the PC does  reboot  as
  306.   COMBOOT  is stored in  volatile memory.   That is the contents of  the PC
  307.   memory  in which COMBOOT  resides will   be   reset  as  a  result  of  a
  308.   reboot.    Like  EXECITAT,  requesting COMBOOT  will  result  in  a clock
  309.   appearing at the top Right hand part of  the screen.    This clock may or
  310.   may not be seen  depending   upon which other programs you call  (such as
  311.   Windows)   in  a similar fashion to  that  as described  for the EXECITAT
  312.   command.
  313.   
  314.   COMBOOT allows you to  perform such  operations as loading  a  particular
  315.   program  for a limited time.    If a STOPBOOT  command   is not initiated
  316.   within this  time  period  so as to  stop the COMBOOT  countdown,  then a
  317.   'cold'  system re-boot  will occur no matter what other task is being run
  318.   at  the given time.    Why  would you wish  to  do  this?    Well  as  an
  319.   example,   lets   say that  you have  instructed COMCALL to initialise  a
  320.   Communications   program  in   host   mode   upon   the   receipt   of  a
  321.   particular   trigger and that  the telephone line  in use is one  that is
  322.   shared with  your normal voice calls.     Lets   also  assume  that  this
  323.   trigger   condition   is activated and your comms program started in host
  324.   mode.   Unless a data call does come in,  then   your phone line would go
  325.   into   a permanent data mode condition,   preventing any voice calls from
  326.   coming in   successfully.  If, as part of the Comcall  trigger condition,
  327.   you had requested the  execution  of  your   Host   communications  via a
  328.   batch file,  and,  as part of the batch file you invoked COMBOOT with say
  329.   a  time    parameter  of  3   minutes,  then  (providing  you  have  your
  330.   autoexec.bat  startup  file  correctly  configured),   you  could  have a
  331.   protected system   that   would re-boot  after  this   time  delay   of 3
  332.   minutes.  Your   telephone line   could therefore be   switched  back  to
  333.   voice under such circumstances using  a suitable control  command in your
  334.   autoexec.bat file (e.g. echo ATS0=0 >com1 so as to set the modem to never
  335.   auto-answer).    If,  on the other hand,  you did call back in data mode,
  336.   then as soon as you log in   to  your host, you should simply execute the
  337.   DOS  shell option   of   your  communications  package  and   execute the
  338.   STOPBOOT command so as to prevent the impending re-boot from occurring.
  339.   
  340.   COMBOOT  and   EXECITAT (see previous)   will both work  together.   Note
  341.   however,  that the first of  these two to  come  into  effect will result
  342.   in  the reboot  occurring    and   will  unload  both  of  the   requests
  343.   from    memory.    Any  re-initialisations  will  therefore have   to  be
  344.   performed upon  such   reboots as required.    These   may be  set up  in
  345.   your   autoexec.bat   file   as necessary.  e.g.  The earlier of the  two
  346.   requests will be   the one taken  as the reboot time. e.g. if the current
  347.   time is 01:21   and you execute  a EXECITAT 02:00 request,  followed by a
  348.   COMBOOT 50  (reboot in  50  minutes) request, then the actual reboot will
  349.   occur at 02:00   (being the earlier of the two times).   Once this reboot
  350.   occurs  then  the earlier COMBOOT  50   request  would   have   been lost
  351.   (re-boots re-initialise memory  where the COMBOOT and EXECITAT  reside  -
  352.   thus overwriting them).
  353.   
  354.   If   you choose   to   use both   EXECITAT and  COMBOOT at similar  times
  355.   then you should   use   suitable   combinations of EXECITAT,  COMBOOT and
  356.   STOPBOOT  in  the sequences necessary for  you  to   perform  the desired
  357.   action  according  to the above rules. (STOPBOOT is described later).
  358.   
  359.   Note that in cases of where both EXECITAT and COMBOOT have   been  loaded
  360.   then,  if   you  utilise  the  ALT-RIGHT-SHIFT  combination  in  order to
  361.   temporarily suspend   the  EXECITAT  command  (see  EXECITAT  description
  362.   earlier   in this section)   then the clock at the top right hand part of
  363.   the screen may   be seen to alternate between the COMBOOT  clock  and the
  364.   STOPPED message,   thus implying that both Execitat and Comboot have been
  365.   loaded and are running.
  366.   
  367.   When  using Windows,  Comboot should  preferably be invoked prior  to the
  368.   starting of the Windows session.  Windows will complain if you attempt to
  369.   start a TSR from within the Windows DOS Prompt option and then attempt to
  370.   resume Windows.
  371.   
  372.   ****************************************************************************
  373.   
  374.   
  375.   4.                            STOPBOOT.EXE
  376.   
  377.   
  378.   This  utility is  used  in  conjunction with  COMBOOT and   EXECITAT (see
  379.   previous).  If  a reboot request  has been initialised  with the EXECITAT
  380.   and/or   COMBOOT command then,  if you wish to cancel such a request then
  381.   you should call the STOPBOOT command.
  382.   
  383.   STOPBOOT should be invoked either from the DOS prompt   or from within  a
  384.   batch file.
  385.   
  386.   STOPBOOT will stop  the execution of  EITHER AND/OR BOTH  of EXECITAT and
  387.   COMBOOT requests that may be  outstanding,  depending upon whether one or
  388.   both were loaded.  
  389.   
  390.   Once a STOPBOOT  request  has  been  initialised   then  the  EXECITAT or
  391.   COMBOOT programs will  only be stopped,  not unloaded.   Therefore if you
  392.   intend to  use multiple  calls to  Execitat,  Comboot  and  Stopboot, you
  393.   should attempt to occasionally allow a reboot to  occur.  Otherwise, your
  394.   PC's memory may diminish to a level below that what can be suitably used.
  395.   
  396.   ******************************************************************************
  397.   
  398.   
  399.   5.                              HARDWARE
  400.   
  401.   The Comcall package now incorporates additional hardware options that may
  402.   be  purchased directly  from the author.   We regret that as  the devices
  403.   are  supplied  on  a zero  profit  basis,  such  supply  is restricted to
  404.   currently  registered  Comcall  users.   Overviews  of  the  devices  are
  405.   outlined  within  the  installation  section  of  this  manual.  Further,
  406.   detailed information as regard to the P,  S and C switches, together with
  407.   any recent additions,  are automatically forwarded to registered users at
  408.   the time of posting the registrational acknowledgement return.  
  409.   
  410.   The  addition    of such devices to your base  system will permit  you to
  411.   perform such physical control as the following:-
  412.   
  413.   Switch your PC and Modem on and off from a remote location.  No licensing
  414.   for connection  to the telephone  network is required as  the controlling
  415.   device is not directly connected to the telephone network.   Switching is
  416.   achieved via a security  check with  many  possible  options in  order to
  417.   prevent  mis-use.   No additional hardware is required at  the requesting
  418.   end.   Switching may be performed from practically anywhere in  the world
  419.   for free as no connection is made (phone only has to ring).  When used to
  420.   power on/off  a base  PC/Modem  combination this  is an ideal  option for
  421.   those of  you who might wish  to access their base  system  from a remote
  422.   location whilst not having to leave the base  system permanently switched
  423.   on.
  424.   
  425.   Switch low voltage devices using  simple  commands  from  your  PC (model
  426.   railway  control etc),  both locally and/or  remotely  (using  a suitable
  427.   modem link).   Up to eight outputs are catered for that may alternatively
  428.   be used for additional device control (e.g.  arranged as a 4  by 4 matrix
  429.   in  order to  control a  remote  control  device  such  as  a  VCR  or TV
  430.   controller).  Each output line may be individually or jointly set. 
  431.   
  432.   Switch  mains voltage devices under  control  of  your  PC  (again either
  433.   locally or  remotely).   Up to  eight devices  may  be  controlled either
  434.   individually  or  jointly using simple  commands.   High  level  of mains
  435.   voltage to  PC  isolation  is achieved using inductive linkages so  as to
  436.   prevent possible damage.
  437.   
  438.   
  439.   
  440.   When combined with the Comcall software, we believe such hardware options
  441.   offer the chance for  you to enter  the world of  physical device control
  442.   with a high level of flexibility  all at an extremely  competitive price.
  443.   Thereby  enabling you  to turn your  base system into  a truly remarkable
  444.   access  and control centre.   As  far as  we are aware,  no other package
  445.   offers such combinations at such low prices.
  446.   
  447.   But that's  not all.   We are  constantly  seeking  to  add  even further
  448.   options to the  Comcall package.   Such as the option to  control devices
  449.   remotely  using MF  tones.   And to provide a direct  programmable remote
  450.   controller/PC interface in order that you may control all  your household
  451.   devices that may be directly controlled  using a remote  controller under
  452.   instruction  by  your  PC.   With such an  addition,  we will add further
  453.   functionality to the Comcall software so as  to make the control  as easy
  454.   as possible.
  455.