CBMSTUFF FORUM
Telnet mode and TERM variable - Printable Version

+- CBMSTUFF FORUM (https://www.cbmstuff.com/forum)
+-- Forum: CBMSTUFF PRODUCTS (https://www.cbmstuff.com/forum/forumdisplay.php?fid=1)
+--- Forum: WiModem232 / WiModem232 Pro (https://www.cbmstuff.com/forum/forumdisplay.php?fid=79)
+--- Thread: Telnet mode and TERM variable (/showthread.php?tid=1183)



Telnet mode and TERM variable - rbanffy@gmail.com - 05-19-2025

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.


RE: Telnet mode and TERM variable - admin - 05-19-2025

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.


RE: Telnet mode and TERM variable - rbanffy@gmail.com - 05-21-2025

(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.


RE: Telnet mode and TERM variable - admin - 05-21-2025

What system are you using that is actually using TELNET and looking at the terminal type?


RE: Telnet mode and TERM variable - rbanffy@gmail.com - 05-22-2025

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.


RE: Telnet mode and TERM variable - admin - 05-23-2025

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.