Subj : telnet.src
To   : Rich Ringer
From : Digital Man
Date : Fri Oct 13 2000 10:39 am

RE: telnet.src
BY: Rich Ringer to Amcleod on Tue Oct 10 2000 05:20 pm

> OTE: DCTEdit v0.04 [3]
>  > > I looked at the telgate.src file and it's only a couple of
>  > > lines long, I' sure on how to make the change to allow
>  > TELGATE.SRC is five lines long. One is a clear-screen, one
>  > is a pause, two informational prints and the only remaining
>  > line is "telnet_gate str". Did think that maybe you have to
>  > get the desired address in 'str' then call telnet_gate? Did
>  > you think about using a 'getstr' to get the string? Exact
>  > what have you tried?
> Hi Amcleod,
> I haven't tried anything yet....not sure where to begin. I wqas hoping that
> someone could help me figure this out.

As Amcleod suggested, use GETSTR (see DOCS\BAJA.DOC for details).

This is an extremely simple modification, but since you don't seem to want to
figure anything out for yourself (not a put-down, I'm that way sometimes
myself), here are some step-by-step directions:

1. Copy EXEC\TELGATE.SRC to another file in the EXEC directory (perhaps
TELNET.SRC).

2. Edit EXEC\TELNET.SRC and add the following lines to the top of the file:
       PRINT "Enter telnet address: "
       GETSTR

3. Type BAJA TELNET to compile the new module. If it reports any errors, go
back to step 1.

4. Create an external program with a command line of "*TELNET".

5. Re-start the Telnet server.

6. When a user runs the door, it'll prompt them to the enter the address.

I think this is what you've been looking for.

Rob

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net