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

terminal type option subnegotiation in telnetlib #38323

Closed
willeke mannequin opened this issue Apr 17, 2003 · 2 comments
Closed

terminal type option subnegotiation in telnetlib #38323

willeke mannequin opened this issue Apr 17, 2003 · 2 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@willeke
Copy link
Mannequin

willeke mannequin commented Apr 17, 2003

BPO 723364
Nosy @loewis
Files
  • telnetlib-ttype.patch: allow TTYPE subnegotiation
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/loewis'
    closed_at = <Date 2003-10-26.16:59:50.000>
    created_at = <Date 2003-04-17.21:13:52.000>
    labels = ['library']
    title = 'terminal type option subnegotiation in telnetlib'
    updated_at = <Date 2003-10-26.16:59:50.000>
    user = 'https://bugs.python.org/willeke'

    bugs.python.org fields:

    activity = <Date 2003-10-26.16:59:50.000>
    actor = 'loewis'
    assignee = 'loewis'
    closed = True
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2003-04-17.21:13:52.000>
    creator = 'willeke'
    dependencies = []
    files = ['5195']
    hgrepos = []
    issue_num = 723364
    keywords = ['patch']
    message_count = 2.0
    messages = ['43413', '43414']
    nosy_count = 2.0
    nosy_names = ['loewis', 'willeke']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue723364'
    versions = ['Python 2.2']

    @willeke
    Copy link
    Mannequin Author

    willeke mannequin commented Apr 17, 2003

    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

    @willeke willeke mannequin closed this as completed Apr 17, 2003
    @willeke willeke mannequin assigned loewis Apr 17, 2003
    @willeke willeke mannequin added the stdlib Python modules in the Lib dir label Apr 17, 2003
    @willeke willeke mannequin closed this as completed Apr 17, 2003
    @willeke willeke mannequin assigned loewis Apr 17, 2003
    @willeke willeke mannequin added the stdlib Python modules in the Lib dir label Apr 17, 2003
    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Oct 26, 2003

    Logged In: YES
    user_id=21627

    It appears to me that this patch is already superceded by
    patch bpo-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.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants