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

 
 

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

Submitter:  Micah Cowan <micahcowan>
Submitted:  Thu 17 Jul 2008 12:01:48 AM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  * 9 - Immediate Status:  Fixed
Privacy:  Public Assigned to:  micahcowan
Open/Closed:  Closed Release:  None
Fixed Release:  4.1.0 Planned Release:  4.1.0
Work Required:  0 - Hours
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Fixed for 4.1.0 in 01fbf99

Micah Cowan <micahcowan>
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>
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>
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>
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>

 

(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 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.)
  • -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 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-08-07 micahcowan StatusNeed Discussion Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.1.0
    2008-08-06 micahcowan Priority5 - Normal 9 - Immediate
    2008-07-17 micahcowan StatusIn Progress Need Discussion
    2008-07-17 micahcowan Severity4 - Important 3 - Normal
        Priority9 - Immediate 5 - Normal
    2008-07-17 xsss4hell Carbon-Copy- Added -email is unavailable-
    2008-07-17 micahcowan Priority5 - Normal 9 - Immediate

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code