Date: Thu, 10 Jan 2008 21:08:50 +0100 (CET) From: Ed Schouten <ed@fxq.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/119540: [patch] x11/xterm: make ^T work by default (backport) Message-ID: <20080110200850.AFC701CCEC@palm.hoeg.nl> Resent-Message-ID: <200801102010.m0AKA4uZ044904@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080110200850.AFC701CCEC>