Open mystiker opened 2 weeks ago
I made the terminal type name ("webmud3b") configurable via an environment variable NAME. This will allow distinguishing between locally and remotely deployed clients, ensuring greater flexibility and adaptability in deployment scenarios.
Description: Implement support for the Telnet TTYPE (Terminal Type) option to allow the client to communicate its terminal type to the server. This option is mainly used to identify the "name" of the application providing the terminal.
Details:
Option Code: 24
Functionality:
SEND
command."webmud3b"
usingIS
, as per specification.Expected Workflow:
IAC DO TTYPE
from the server and respond withIAC WILL TTYPE
to agree on TTYPE usage.IAC SB TTYPE SEND IAC SE
, the client should respond withIAC SB TTYPE IS "webmud3b" IAC SE
.Acceptance Criteria:
"webmud3b"
as the terminal type when requested by the server.References:
Additional Notes: Ensure that the TTYPE negotiation process does not interfere with other negotiated options and that the client’s response timing aligns with the server’s request.