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 >
Wrap
Text File
|
1991-06-23
|
3KB
|
67 lines
After adding the following two entries to your Ctdlcnfg.sys file then type
the following including the dash after confg.:
stack 40000
delete ctdltabl.sys
confg -
Put the following into your ctdlcnfg.sys file:
---------------------cut here-----------------------------
-#door <EntryCode4Characters> <Path:program> <location|.> <who> <type> <timeLimit> [roomname]
This line is for the door description
this line is for program switches.
#door LOAN d1:loandoor d1: anyone modem 20
Loan amortization program. For best results, use VT100 emulation.
<CTDLAUX: >CTDLAUX:
#door SHEL execute sys: Sysop modem unlimited Sysop
NEWSHELL CTDLAUX: Use CIT:RESTART instead of ENDCLI to end the door.
cit:remoteshell
---------------------cut here-----------------------------
The CLI equivelent of the above first door entry would be:
Example #1
cd d1:
d1:loandoor <ctdlaux: >ctdlaux:
The door starts up a loan armortization program that can be run remotely.
it is a C program that will abort after 20 minutes, or upon loss of
carrier and return to citadel. See loandoor.c (Source code) for more info
on the loandoor program itself. The door has restricted access. Namely
anyone with door privaleges from any room, but only for 20 mins at a time.
The CLI equevelent of the above second door entry would be:
Example #2
cd sys:
execute cit:remoteshell
The door executes a script file called remoteshell. Go read the script
for more details on what happens with this door. The door has extremely
restricted access. Namely only someone with aide privaleges, and who
uses the sysop password and is in a room named "Sysop". If such a room
doesn't exist on your system, then you will have to create it or edit the
last word in the door entry to point to a room that does exist on your
system. I suguest making the sysop room an ONLY INVATATIONAL room by using
the aide edit commands for further security.
The door is active for an unlimited period of time and can be closed only
by typing the following... WARNING!: DO NOT USE ENDCLI TO END THIS CLI!
execute cit:restart
This is not as bad as it may seem, because you can make an alias to
redefine most of the system commands that would cause your system to
lockup if you use a remote shell. I am including a copy of my
alias.list.ctdl and shell-startup-ctdl files. Which should be placed in
your s: directory. You will need to edit the alias.list.ctdl file so it
makes sense for your paticular system setup. The reason I use the alias's
is mostly to avoid using CLI commands that may bring up a system requester
that needs a Mouse click to close it, or programs such as more and read
and less that bring up their own window which is not displayable from
a remote location.