From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 10 20:10:05 2008 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 3276016A421 for ; Thu, 10 Jan 2008 20:10:05 +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 074A913C4DD for ; Thu, 10 Jan 2008 20:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0AKA4FZ044905 for ; Thu, 10 Jan 2008 20:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0AKA4uZ044904; Thu, 10 Jan 2008 20:10:04 GMT (envelope-from gnats) Resent-Date: Thu, 10 Jan 2008 20:10:04 GMT Resent-Message-Id: <200801102010.m0AKA4uZ044904@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, Ed Schouten Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86B0216A47C for ; Thu, 10 Jan 2008 20:08:53 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 42E1D13C4D9 for ; Thu, 10 Jan 2008 20:08:53 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id AFC701CCEC; Thu, 10 Jan 2008 21:08:50 +0100 (CET) Message-Id: <20080110200850.AFC701CCEC@palm.hoeg.nl> Date: Thu, 10 Jan 2008 21:08:50 +0100 (CET) From: Ed Schouten To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/119540: [patch] x11/xterm: make ^T work by default (backport) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ed Schouten List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2008 20:10:05 -0000 >Number: 119540 >Category: ports >Synopsis: [patch] x11/xterm: make ^T work by default (backport) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 10 20:10:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Ed Schouten >Release: FreeBSD 6.3-PRERELEASE i386 >Organization: >Environment: System: FreeBSD palm.hoeg.nl 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Wed Dec 19 16:07:46 CET 2007 ed@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386 >Description: FreeBSD systems support SIGINFO, which is great. When you press the c_cc[VSTATUS] character on your keyboard, it sends a SIGINFO to the foreground process in the terminal, which will print some nice status messages. This works by default on the regular FreeBSD consoles, but not in xterm, because xterm unsets this flag on startup. This patch will hopefully be integrated in xterm #231. I sent this patch to Thomas Dickey, to which he replied positively. >How-To-Repeat: Log in to a regular FreeBSD console and do this: | sleep 10 | ^T You'll get some fancy messages in the terminal. Now do exactly that in an xterm and it will just print '^T'. >Fix: Place the following patch in the files/ directory: --- main.c 2007-07-22 22:02:22.000000000 +0200 +++ main.c 2008-01-10 20:30:34.000000000 +0100 @@ -1947,9 +1947,6 @@ #ifdef VDSUSP d_tio.c_cc[VDSUSP] = CharOf('\000'); #endif -#ifdef VSTATUS - d_tio.c_cc[VSTATUS] = CharOf('\377'); -#endif #ifdef VREPRINT d_tio.c_cc[VREPRINT] = CharOf('\377'); #endif >Release-Note: >Audit-Trail: >Unformatted: