bugGNU Screen - Bugs: bug #23609, "autodetect" of...


bug #23609: "autodetect" of UTF-8/latin1 mismatches, etc

Submitter:  Micah Cowan <micahcowan>
Submitted:  Mon 16 Jun 2008 10:27:24 PM UTC
Category:  Feature Request Severity:  1 - Wish
Priority:  * 2 Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None
Fixed Release:  None Planned Release:  Later
Work Required:  2 - Weeks
* Mandatory Fields

Add a New Comment Rich Markup

Mon 24 Jun 2013 11:50:09 AM UTC, comment #1: 

I actually have mostly working code for this in MirPorts and am willing to contribute it.

The one thing I didn’t get to work for myself is to also auto-detect when re-attaching to a running session (the printing / detecting is done inside the screen tab then instead of on the tty before the screen is attached).

I’d need to fiddle it out from a much larger patch, so please just contact me (tg ~at~ mirbsd ~point~ org) if desired.

Thorsten Glaser <mirabilos>
Mon 16 Jun 2008 10:27:24 PM UTC, original submission:  

From an email from jw:

- autodetect mode. In this mode screen does not believe anything ioctl()'s
  or environment tell it about the terminal.
  It probes to see how the cursor moves when sending several test codes.
  E.g. if UTF8 a-umlaut  moves two positions, then we are probably running
  in latin1 land. If a latin1 a-umlaut does not move the cursor at all,
  then dumb font is loaded.
  It also monitors what comes in from the application for typical latin1
  codes, and for illegal UTF8 codes.
  This should bring screen on the right track pretty soon.
  After all probing is done, screen should also be able to print a
  sugestion how the environment should be fixed, so that the applications
  work correctly.
  I'd implement the prototype of this autodetect logic as a perl script,
  to learn what is doable, and experiment with heuristics.

Micah Cowan <micahcowan>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mirabilos (Posted a comment)
  • -email is unavailable- added by micahcowan (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-06-23 micahcowan CategoryNone Feature Request
        Planned ReleaseNone Later
    2008-06-19 micahcowan Priority5 - Normal 2

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code