bugGNU Screen - Bugs: bug #23868, Backspace generates ^@ in screen,...

 
 

bug #23868: Backspace generates ^@ in screen, some setups

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Thu 17 Jul 2008 12:01:48 AM UTC  
 
Category: Program LogicSeverity: 3 - Normal
Priority: 9 - ImmediateStatus: Fixed
Privacy: PublicAssigned to: Micah Cowan <micahcowan>
Open/Closed: ClosedRelease: None
Fixed Release: 4.1.0Planned Release: 4.1.0
Work Required: 0 - Hours

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 07 Aug 2008 08:28:01 AM UTC, comment #4:

Fixed for 4.1.0 in 01fbf99

Micah Cowan <micahcowan>In charge of this item.
Wed 06 Aug 2008 06:56:23 AM UTC, comment #3:

No response to query on-list, so should probably revert this behavior (at least the erase key).

Micah Cowan <micahcowan>In charge of this item.
Thu 17 Jul 2008 06:15:09 AM UTC, comment #2:

Found the problem: vte (used by xfce4 and others), when told to "auto-detect" what to send for the backspace key, uses the termios's erase character (without checking if it's undefined). It ought to fall back to a sane value, rather than sending NUL.

However, another question is why screen now unsets such stty characters, and whether it should. I suspect it shouldn't but it may have been introduced for a reason, and I should investigate.

Micah Cowan <micahcowan>In charge of this item.
Thu 17 Jul 2008 04:43:22 AM UTC, comment #1:

This happens in xfce4 when preferences for sending backspace is set to "autodetect". Not when an explicit value ^H or DELETE is set. Hm... seems likely to be an xfce4 or vte thing, then.

For some annoying reason I can't for the life of me figure out (unless it's somehow related to the use of a second pty), I can't reproduce the problem within the "script" command.

I've been reproducing the problem by running "screen cat" and hitting the backspace a couple times to see if I get ^@.

Micah Cowan <micahcowan>In charge of this item.
Thu 17 Jul 2008 12:01:48 AM UTC, original submission:

This was true at least at some point for xfce4-terminal, and someone just reported this problem for compiz's TerminalScreenlet.

https://bugs.launchpad.net/ubuntu/+source/screen/+bug/29787

Micah Cowan <micahcowan>In charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

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 xsss4hell (a screenshot of the TerminalScreenlet is located here: http://tinyurl.com/6qkow6 I wanted to split into four with screen instead of using four instances.)
  • -unavailable- added by micahcowan (Submitted the item)
  •  

    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):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 07 Aug 2008 08:28:01 AM UTCmicahcowanStatusNeed Discussion=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.1.0
    Wed 06 Aug 2008 06:56:23 AM UTCmicahcowanPriority5 - Normal=>9 - Immediate
    Thu 17 Jul 2008 06:15:09 AM UTCmicahcowanStatusIn Progress=>Need Discussion
    Thu 17 Jul 2008 04:43:22 AM UTCmicahcowanSeverity4 - Important=>3 - Normal
      Priority9 - Immediate=>5 - Normal
    Thu 17 Jul 2008 12:21:02 AM UTCxsss4hellCarbon-Copy-=>Added -unavailable-
    Thu 17 Jul 2008 12:02:51 AM UTCmicahcowanPriority5 - Normal=>9 - Immediate

    Back to the top


    Powered by Savane 3.1-cleanup1