• telnet.src

    From Rich Ringer to All on Monday, September 04, 2000 01:07:57
    OTE: DCTEdit v0.04 [5]
    Hi All,
    I am new to BAJA programming and I have a question for someone.
    I was told by Rob that the telgate.src file can be modified to allow the user to input his own telnet address instead of using the ones that the sysop puts in.
    I looked at the telgate.src file and it's only a couple of lines long, I'm not sure on how to make the change to allow this. Can someone help?
    How would the command line in scfg be setup to allow this as well. I know the command is *telgate (domain or ip)
    Thank you in advance,

    Rich Ringer
    Pony's Corral BBS
    telnet://thecorral.tzo.com
    ftp://thecorral.tzo.com
    http://thecorral.tzo.com
    e-mail richr@thecorral.tzo.com
  • From Amcleod to Rich Ringer on Monday, September 04, 2000 06:03:56
    RE: telnet.src
    BY: Rich Ringer to All on Mon Sep 04 2000 08:07 am

    I looked at the telgate.src file and it's only a couple of lines long, I'm n sure on how to make the change to allow this. Can someone help?
    How would the command line in scfg be setup to allow this as well. I know th command is *telgate (domain or ip)

    TELGATE.SRC is five lines long. One is a clear-screen, one is a pause, two are informational prints and the only remaining line is "telnet_gate str". Did you 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? Exactly what have you tried?
  • From Rich Ringer to Amcleod on Tuesday, October 10, 2000 10:20:41
    RE: telnet.src
    BY: Amcleod to Rich Ringer on Mon Sep 04 2000 01:03 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.

    Thanks,
    Rich
  • From Digital Man to Rich Ringer on Friday, October 13, 2000 10:39:18
    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
  • From Amcleod to Digital Man on Friday, October 13, 2000 13:31:53
    RE: telnet.src
    BY: Digital Man to Rich Ringer on Fri Oct 13 2000 05:39 pm

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

    Can you please explain the syntax of the COPY command? Pretty please? ;-)
  • From TommyKnocker@TALAMASC to Amcleod on Saturday, October 14, 2000 00:27:00
    RE: telnet.src
    BY: Amcleod to Digital Man on Fri Oct 13 2000 08:31 pm

    RE: telnet.src
    BY: Digital Man to Rich Ringer on Fri Oct 13 2000 05:39 pm

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

    Can you please explain the syntax of the COPY command? Pretty please? ;-)



    You need to be slapped Angus. And right after, come clean the coffe off my monitor.
    TK


    ---
    ■ Synchronet ■ telnet://talamasca-bbs.com http://talamasca-bbs.com
  • From HumbleBub@GTBBS to TommyKnocker on Sunday, October 15, 2000 11:21:00
    RE: telnet.src
    BY: TommyKnocker to Amcleod on Sat Oct 14 2000 07:27 am

    RE: telnet.src
    BY: Amcleod to Digital Man on Fri Oct 13 2000 08:31 pm

    RE: telnet.src
    BY: Digital Man to Rich Ringer on Fri Oct 13 2000 05:39 pm

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

    Can you please explain the syntax of the COPY command? Pretty please? ;



    You need to be slapped Angus. And right after, come clean the coffe of my monitor.
    TK


    Aw..he was being naughty wasn't he?

    ---
    ■ Synchronet ■ Glastonbury Tor