This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: terminal type option subnegotiation in telnetlib
Type: Stage:
Components: Library (Lib) Versions: Python 2.2
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: loewis Nosy List: loewis, willeke
Priority: normal Keywords: patch

Created on 2003-04-17 21:13 by willeke, last changed 2022-04-10 16:08 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
telnetlib-ttype.patch willeke, 2003-04-17 21:13 allow TTYPE subnegotiation
Messages (2)
msg43413 - (view) Author: Jon Willeke (willeke) Date: 2003-04-17 21:13
The attached patch makes it possible for an option
negotiation callback to subnegotiate the terminal type
option (per RFC 1091).

The patch does the following: 

  * defines the SB and SE commands (per RFC 854)
  * defines QUAL_IS and QUAL_SEND (adapted from
<arpa/telnet.h>)
  * passes SB ... SE to callback in process_rawq()

A simple callback would specify the terminal type as
follows:

  * respond to IAC DO TTYPE with IAC WILL TTYPE
  * respond to IAC SB TTYPE QUAL_SEND IAC SE with IAC
SB TTYPE QUAL_IS 'vt100' IAC SE
msg43414 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-10-26 16:59
Logged In: YES 
user_id=21627

It appears to me that this patch is already superceded by
patch #630829, which is released with Python 2.3. If you
disagree, please update the patch to the current code base,
and identify aspects not yet implemented.
History
Date User Action Args
2022-04-10 16:08:12adminsetgithub: 38323
2003-04-17 21:13:52willekecreate