home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 600-699 / ff661.lha / Citadel / ctdlaux.lzh / 68Kdoor.example next >
Text File  |  1991-06-23  |  3KB  |  67 lines

  1.  After adding the following two entries to your Ctdlcnfg.sys file then type
  2.  the following including the dash after confg.:
  3.  
  4.  stack 40000
  5.  delete ctdltabl.sys
  6.  confg -
  7.  
  8.  Put the following into your ctdlcnfg.sys file:
  9.  ---------------------cut here-----------------------------
  10. -#door <EntryCode4Characters> <Path:program> <location|.> <who> <type> <timeLimit> [roomname]
  11.  This line is for the door description
  12.  this line is for program switches.
  13.  
  14. #door LOAN d1:loandoor d1: anyone modem 20
  15. Loan amortization program. For best results, use VT100 emulation.
  16. <CTDLAUX: >CTDLAUX:
  17.  
  18. #door SHEL execute sys: Sysop modem unlimited Sysop
  19. NEWSHELL CTDLAUX: Use CIT:RESTART instead of ENDCLI to end the door.
  20. cit:remoteshell
  21.  ---------------------cut here-----------------------------
  22.  
  23.  The CLI equivelent of the above first door entry would be:
  24.  Example #1
  25.  
  26.  cd d1:
  27.  d1:loandoor <ctdlaux: >ctdlaux:
  28.  
  29.   The door starts up a loan armortization program that can be run remotely.
  30.   it is a C program that will abort after 20 minutes, or upon loss of
  31.   carrier and return to citadel. See loandoor.c (Source code) for more info
  32.   on the loandoor program itself.  The door has restricted access. Namely
  33.   anyone with door privaleges from any room, but only for 20 mins at a time.
  34.  
  35.  
  36.  The CLI equevelent of the above second door entry would be:
  37.  Example #2
  38.  
  39.  cd sys:
  40.  execute cit:remoteshell
  41.  
  42.   The door executes a script file called remoteshell.  Go read the script
  43.   for more details on what happens with this door.  The door has extremely
  44.   restricted access.  Namely only someone with aide privaleges, and who
  45.   uses the sysop password and is in a room named "Sysop". If such a room
  46.   doesn't exist on your system, then you will have to create it or edit the
  47.   last word in the door entry to point to a room that does exist on your
  48.   system. I suguest making the sysop room an ONLY INVATATIONAL room by using
  49.   the aide edit commands for further security.
  50.   The door is active for an unlimited period of time and can be closed only
  51.   by typing the following... WARNING!: DO NOT USE ENDCLI TO END THIS CLI!
  52.  
  53.   execute cit:restart
  54.  
  55.   This is not as bad as it may seem, because you can make an alias to
  56.   redefine most of the system commands that would cause your system to
  57.   lockup if you use a remote shell.  I am including a copy of my
  58.   alias.list.ctdl and shell-startup-ctdl files.  Which should be placed in
  59.   your s: directory.  You will need to edit the alias.list.ctdl file so it
  60.   makes sense for your paticular system setup. The reason I use the alias's
  61.   is mostly to avoid using CLI commands that may bring up a system requester
  62.   that needs a Mouse click to close it, or programs such as more and read
  63.   and less that bring up their own window which is not displayable from
  64.   a remote location.
  65.  
  66.  
  67.