Date: Wed, 18 Feb 2009 22:48:34 +0100 From: Szalai Andras <szalai.bandi@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/131858: [patch] Backspace key in GNU Screen not detected correctly Message-ID: <20090218214834.GA11182@tristania.kispest.home> Resent-Message-ID: <200902182150.n1ILo1Zx009889@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 131858 >Category: ports >Synopsis: [patch] Backspace key in GNU Screen not detected correctly >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 18 21:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Szalai Andras >Release: FreeBSD 7.1-RELEASE-p1 i386 >Organization: none >Environment: System: FreeBSD tristania.kispest.home 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 #0: Sun Jan 11 17:34:03 CET 2009 root@tristania.kispest.home:/disk/ad8p5/root.usr/src/sys/i386/compile/TRISTANIA i386 Relevant package versions: screen-4.0.3_5 vte-0.17.4 >Description: In xfce4-terminal (which uses vte) you have to manually set the backspace key in preferences. Auto-detection is not working. >How-To-Repeat: See description. >Fix: The bug is fixed by patching screen. For more info, visit: https://bugs.launchpad.net/vte/+bug/29787 https://bugs.launchpad.net/vte/+bug/29787/comments/19 http://git.savannah.gnu.org/cgit/screen.git/commit/?id=01fbf99748f536519605087d5937761790fc6ded --- src.diff begins here --- diff -ru orig/tty.sh new/tty.sh --- orig/tty.sh 2003-09-08 16:24:25.000000000 +0200 +++ new/tty.sh 2009-02-15 18:55:49.000000000 +0100 @@ -562,7 +562,9 @@ XIF{VLNEXT} np->tio.c_cc[VLNEXT] = VDISABLE; XIF{VSTATUS} np->tio.c_cc[VSTATUS] = VDISABLE; XIF{VSUSP} np->tio.c_cc[VSUSP] = VDISABLE; -XIF{VERASE} np->tio.c_cc[VERASE] = VDISABLE; + /* Set VERASE to DEL, rather than VDISABLE, to avoid libvte + "autodetect" issues. */ +XIF{VERASE} np->tio.c_cc[VERASE] = 0x7f; XIF{VKILL} np->tio.c_cc[VKILL] = VDISABLE; # ifdef HPUX_LTCHARS_HACK np->m_ltchars.t_suspc = VDISABLE; --- src.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090218214834.GA11182>