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 LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 4.0.3
Fixed Release: NonePlanned 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by josepht

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 09 Sep 2009 06:19:26 PM UTCjosephtCarbon-Copy-=>Added -unavailable-

    Back to the top

    Powered by Savane 3.1-cleanup1