From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 18 21:50:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7E991065676 for ; Wed, 18 Feb 2009 21:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 44DE08FC1D for ; Wed, 18 Feb 2009 21:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1ILo1j8009890 for ; Wed, 18 Feb 2009 21:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1ILo1Zx009889; Wed, 18 Feb 2009 21:50:01 GMT (envelope-from gnats) Resent-Date: Wed, 18 Feb 2009 21:50:01 GMT Resent-Message-Id: <200902182150.n1ILo1Zx009889@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Szalai Andras Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6E801065673 for ; Wed, 18 Feb 2009 21:48:39 +0000 (UTC) (envelope-from szalai.bandi@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 606DF8FC0C for ; Wed, 18 Feb 2009 21:48:38 +0000 (UTC) (envelope-from szalai.bandi@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so828479fgb.35 for ; Wed, 18 Feb 2009 13:48:38 -0800 (PST) Received: by 10.86.82.6 with SMTP id f6mr3060019fgb.42.1234993718275; Wed, 18 Feb 2009 13:48:38 -0800 (PST) Received: from tristania.mooo.com (94-21-15-87.pool.digikabel.hu [94.21.15.87]) by mx.google.com with ESMTPS id 3sm3173430fge.52.2009.02.18.13.48.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 18 Feb 2009 13:48:36 -0800 (PST) Received: by tristania.kispest.home (Postfix, from userid 1000) id 614BAD4C69; Wed, 18 Feb 2009 22:48:34 +0100 (CET) Message-Id: <20090218214834.GA11182@tristania.kispest.home> Date: Wed, 18 Feb 2009 22:48:34 +0100 From: Szalai Andras To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/131858: [patch] Backspace key in GNU Screen not detected correctly X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Szalai Andras List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 21:50:02 -0000 >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: