Telnet mode and TERM variable
#1
Hi.

When accessing a server in the local network using telnet, I get TERM set to "wimodem", which makes programs confused about the features supported. Is there a register somewhere this string is stored so I can have "vt100", "ansi" or other configuration string compatible with the software running on the computer (or the physical terminal) attached to the modem? I can use my .profile script to force TERM to be something else if I login with it set to "wimodem", but it'd be cool if that could be configured on the modem itself.

Cheers, and, again, thanks for the amazing product.
Reply
#2
Most people use the preferred RAW connection instead of TELNET, so this has never come up before. I can look at making some type of register or string setup for the terminal type.
Reply
#3
(05-19-2025, 01:43 PM)admin Wrote: Most people use the preferred RAW connection instead of TELNET, so this has never come up before.  I can look at making some type of register or string setup for the terminal type.

Thanks.

That'd be super cool.
Reply
#4
What system are you using that is actually using TELNET and looking at the terminal type?
Reply
#5
It's Linux, running telnetd on the usual port (23). I am not familiar with the telnet protocol, and was surprised "wimodem" was entered into the TERM variable. I'll have to read up on it a bit - telnet, the client, does interfere with the stream (it's recommended to use netcat instead of telnet to debug things for that reason). The terminal is a Loewe Minitel that can also pretend to be a VT-52 and a VT-100.
Reply
#6
Thanks for that info. I have only seen one TELNET server that actually uses this, and only to determine if the system connecting is actually a TELNET enabled device. It sends the request for the terminal type and so there has to be an actual valid response, instead of DON'T/WON'T. So, I send wimodem. I could not find any examples of what you should really be sending.
Reply




Users browsing this thread: 1 Guest(s)