! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
backspace key (and the keyboard generally) in GNU screen doesn't work correctly
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description none of your damn business!!!!!!!! 2007-02-19 01:37:47 CET
In Terminal, using GNU screen, the backspace key doesn't seem to work. However, if you open EMACS, it responds to the backspace, it doesnt backspace, but it prints something along the lines of "mark set" in the mini-buffer. VI does something truely odd inside screen, not only regaurding the backspace key, but in general. I have run screen in xterm and other terminal emulators with no problems. In bash, backspace simply does nothing.
Comment 1 Visa-Matti Lehtimäki 2007-05-22 10:50:27 CEST
I have also encountered this. If you desperately want to use screen with Terminal though, you can go around this at least by connecting to localhost with ssh and using screen there.
Comment 2 Tomasz Paweł Gajc 2008-01-02 15:46:36 CET
Ping? Anyone on this ?

http://qa.mandriva.com/show_bug.cgi?id=36455
Comment 3 Kevin Fenzi 2008-01-27 18:18:55 CET
Note that we have seen this same thing in Fedora... 

Setting: 
BindingBackspace=TERMINAL_ERASE_BINDING_ASCII_BACKSPACE

gets it working. I'm just not sure why AUTO doesn't. ;( 
Comment 4 Kevin Fenzi 2008-03-02 01:43:58 CET
Is this bug a dup of bug 2296 ?

That bug is closed invalid as a vte bug, but I'm not sure thats really the problem. gnome-terminal using the same vte seems to work fine with screen. 

Perhaps it's just a matter of what Backspace binding key is default? 

I'm not sure how to tell in gnome terminal... 
Comment 5 Forest 2008-10-17 21:05:52 CEST
Confirmed on XUbuntu 8.04 (Hardy Heron).  It seems that the xfce4-terminal "Backspace key generates" Auto-detect mode does not work when running 'screen'.  Setting it to ASCII DEL instead of Auto-detect restores functionality, but has the obvious drawback of making xfce4-terminal less flexible.
Comment 6 Forest 2008-10-17 21:15:03 CEST
More info here:

https://bugs.launchpad.net/ubuntu/+source/screen/+bug/29787
Comment 7 Nick Schermer editbugs 2009-07-06 10:46:13 CEST
Since VTE 0.20.4 the auto backspace setting tries to determine the right value from the terminal's IO settings, which means it will look for an erase character using tcgetattr [1], and fallback to ASCII_DELETE if this char is nul. So it looks like this is fixed in VTE [2].

COuld someone check this? I'll add the new erase tty option to the dialog.

[1] http://www.opengroup.org/onlinepubs/000095399/basedefs/termios.h.html
[2] http://bugzilla.gnome.org/show_bug.cgi?id=543379
Comment 8 Nick Schermer editbugs 2009-07-06 10:47:51 CEST
Created attachment 2438 
Add new Erase TTY option

This will fallback to VTE_ERASE_ASCII_BACKSPACE on older versions of vte, that is also what vte does internally.
Comment 9 Kevin Fenzi 2009-07-06 16:09:17 CEST
This is fixed here now with newer vte. ;)
Comment 10 Nick Schermer editbugs 2009-07-06 18:50:21 CEST
Added an option to the preferences dialog for the tty binding in revision 30208.

Bug #2925

Reported by:
none of your damn business!!!!!!!!
Reported on: 2007-02-19
Last modified on: 2009-12-17

People

Assignee:
Nick Schermer
CC List:
5 users

Version

Version:
unspecified

Attachments

Add new Erase TTY option (1.74 KB, patch)
2009-07-06 10:47 CEST , Nick Schermer
no flags

Additional information