bugGNU Screen - Bugs: bug #27407, When redircteing to printing via...


bug #27407: When redircteing to printing via po / ESC[5i, incorrectly handling null chars.

Submitted by:  None
Submitted on:  Tue 08 Sep 2009 10:06:43 PM UTC  
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.0.3
Fixed Release:  None Planned Release:  None
Work Required:  None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 08 Sep 2009 10:06:43 PM UTC, original submission:

When using printer redirection (via ESC[5i), if the printer codes contain a null character portions of the output including the null and following the null character will be replaced with blocks of spaces (0x20). I have only observed this behavior when outputting using termcap/terminfo to the printer attached to the terminal. If I redirect the output to a file via "printcmd 'cat > output", it will work correctly. I verified this by putting my printer in hex-dump mode and comparing the output that was coming out using screen and not using screen.



(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 josepht

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-09-09 josepht Carbon-Copy- => Added -email is unavailable-

    Back to the top

    Powered by Savane 3.3