Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let there be TELNET #2350

Merged
merged 8 commits into from
Jan 3, 2025
Merged

Let there be TELNET #2350

merged 8 commits into from
Jan 3, 2025

Conversation

larsbrinkhoff
Copy link
Member

@larsbrinkhoff larsbrinkhoff commented Dec 19, 2024

I like to post premature pull requests, so here's a draft. You can never have enough TELNET.

This should resolve #1306 (UT - user telnet) and #1269 (TN6 - "Multics/Moon's" telnet). Both programs .INSRTs the host table, so that file is added too.

EDIT: Now also #1310 (STELNT - server telnet).

The program checks the JNAME.  TCPTN and TTN says to use TCP.  NCPTN
and OTN says to use NCP.
And a TECO macro to generate HOSTS PRETTY and HOSTS INSERT.  The
latter is needed for UT (user telet).
This is used by TN6.
Special features for talking to Multics.
The binary was traditionally located in SYS;ATSIGN STELNT, where ITS
called upon it to serve ARPANET connections to socket 1.
@larsbrinkhoff
Copy link
Member Author

I saw a line in TELSER: .SUSET [.SXJNAME,,[SIXBIT/TELSER/]] ;TELNET SERVER - THIS IS FOR STLGET TO WIN. I never saw it before, but apparently ITS has this call.

STLGET: get information from Server Telnet

        arg 1   a <TTY>

        val 1   XJNAME of server telnet
        val 2   TRMNAM of server telnet
                This is the sixbit name of the host connected to.
        val 3   SNAME of server telnet
        val 4   In LH: STY status bits
                In RH: index of telnet server job which owns the STY.

        This call can be used to find out where in the network
        a TTY really is.

        The STY status bits are from the STYSTS table in ITS.
        Some of the more interesting ones include:
        %SSNET==4000    ;4.3 = 1 => THIS STY CONNECTED TO SOME NET SOCKETS.
        %SSCHA==2000    ;4.2 = 0 FOR ARPANET, 1 FOR CHAOS NET
        %SSTCP==1000    ;4.1 = 1 for TCP internet (%SSCHA must be 0)

@larsbrinkhoff larsbrinkhoff marked this pull request as ready for review January 2, 2025 16:15
@larsbrinkhoff
Copy link
Member Author

I have tested UT a little bit. It's using socket 1 - the old TELNET. It seems to work, or at least I could see the banner text from the server. So I guess this can go in now.

@larsbrinkhoff
Copy link
Member Author

I haven't tested TN6 against Multics, but would like to...

@eswenson1
Copy link
Member

Yeah, me too. Alas, not much work has been done trying to get Multics on the 'net. There is a fledgling effort to get Multics on the Chaosnet, but Internet and Arpanet are far behind.

@larsbrinkhoff larsbrinkhoff merged commit 797a5af into master Jan 3, 2025
14 checks passed
@larsbrinkhoff larsbrinkhoff deleted the lars/telnet branch January 3, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UT - user telnet (ARPANET)
2 participants