bugGNU Screen - Bugs: bug #66160, 5.0.0 outputs escape sequences...

 
 

bug #66160: 5.0.0 outputs escape sequences where 4.9.1 uses carriage returns

Submitter:  Craig Leres <leres>
Submitted:  Sun 01 Sep 2024 04:47:29 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  5.0.0
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 01 Oct 2024 06:33:39 PM UTC, comment #1: 

I observe the same behavior, bisected the issue to commit 488f8b0cc785 ("Remove *Rewrite, they mostly return EXPENSIVE anyway").

Anonymous
Sun 01 Sep 2024 04:47:29 PM UTC, original submission:  

I routinely use the xterm "log to file" feature to capture terminal output. When I do this with or without screen 4.9.1, lines are terminated with carriage return, e.g:

    ice 1423 % cat -v Xterm-4.9.1.log
    ^M^M
    fun 80 % ^M^M
    fun 80 % ^M^M
    fun 80 % date^M^M
    Sun Sep  1 09:10:51 PDT 2024^M
    fun 81 % date^M^M
    Sun Sep  1 09:10:52 PDT 2024^M

But when I do the same with 5.0.0, I see escape sequences instead of carriage returns:

    ice 1424 % cat -v Xterm-5.0.0.log
    ^[[34;1H
    ^[[1mice 4 % ^[[m^[[34;1H
    ^[[1mice 4 % ^[[m^[[34;1H
    ^[[1mice 4 % ^[[m^[[34;1H
    ^[[1mice 4 % ^[[mdate^[[34;1H
    Sun Sep  1 09:09:58 PDT 2024^[[34;1H
    ^[[1mice 5 % ^[[mdate^[[34;1H
    Sun Sep  1 09:09:59 PDT 2024^[[34;1H
    ^[[1mice 6 % ^[[mice 1425 %

I don't have an example but I've also see 5.0.0 use escape sequences instead of the "space" character when capturing hex dumps like this:

    109.179 AA EB 89 B9 B2 01 02 44 6F 77 6E F3

Is there a way to go back to the 4.X behavior?

Craig Leres <leres>

 

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

Attach Files:
   
   
Comment:
   

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

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-430a.
    Corresponding source code