[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem in gnome terminal description
From: |
Thomas Dickey |
Subject: |
Re: Problem in gnome terminal description |
Date: |
Sat, 22 Jul 2017 12:03:49 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Jul 20, 2017 at 01:17:38PM +0100, Alain Williams wrote:
> Hi,
>
> the entry for gnome appears to be wrong. The two entries and values:
>
> rmso=\E[m,
> rmul=\E[m,
I'm unsure about that (vidputs is "supposed" to allow for this sort of case).
> the correct values should be (as per xterm):
>
> rmso=\E[27m,
> rmul=\E[24m,
>
> The effect of this is that when using TERM=gnome that unsetting one of
> standout or
> underline also unsets the other (and likely as well as other terminal
> parameters).
>
> If I run the application with TERM=xterm it works properly, but with
> TERM=gnome
> then bold/underline gets switched off when it should not.
>
> This is certainly so in ncurses-6.0 and I believe in the current development
> version.
>
> I tracked down where these sequences come from xterm-r6 via a long chain:
>
> gnome vte-2012 vte-2008 vte-2007 gnome-fc5 gnome-rh90 gnome-rh80 gnome-rh72
> xterm-color xterm-r6
>
> I have no idea if this is a problem for any of the other terminals between
> gnome
> & xterm-r6.
I was curious, and looked through VTE's git history, found that
it's recognized that code since the initial import in 2002/02/25.
https://git.gnome.org/browse/vte/tree/src/vte.c?id=38fb480261b192dd73a8edcd22599d0d2fe57f67#n1102
Whether it _works_ is hard to say (we could digress on that -- some
of the other codes such as blink and invisible have not worked in
any version of VTE).
I had an older "gnome" entry before VTE, and see that I "updated" it in
September 2003, but took a closer look in July 2004 in reference to
https://bugzilla.redhat.com/show_bug.cgi?id=122815
(probably the first sighting of VTE). Some of those entries were
from RPMs (which means that they came from cut/paste), and some were
ones that I tested (and revised). But an omission like this is easy
to do, if I'm not reading the source-code.
However, I can add it (will test against vte-2012, and probably
put the change there).
> Why use TERM=gnome ? ... sigh, if I want F13 (Shift-F1), etc, I cannot use
> xterm
> since Gnome terminal generates a different sequence :-(
>
> Thanks for reading
:-)
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature