On Thu, Nov 12, 2015, at 11:40, Arturo Borrero Gonzalez wrote:
> The key point is, I guess, how different codes are produced for the
> same shortcuts.

Precisely.

> How can we identify who or which component of the system is
> responsible for generating these codes?

Even after googling for some three hours in the past week,
I still don't know.

> > Hmm, what does 'env | grep -i term' say in your case?
> 
> in both xfce4-terminal and xterm:
> 
> % env | grep -i term
> TERM=xterm
> COLORTERM=xfce4-terminal

Okay.  That in an xterm you also get the above result is probably
because you start xterm from within xfce4-terminal?  If you start
it like this: 'env --unset=COLORTERM xterm', the output of the
above command will no longer contain COLORTERM, right?  And if
you start another xfce4-terminal within that xterm, it will be
set again?

The 'env | grep -i term' on a pantheon-terminal gives just
"TERM=xterm".  On a Konsole too.

So it looks feasible to make Ctrl+Left and Ctrl+Right work
correctly on an xfce4-terminal without interfering with a
pantheon-terminal or gnome-terminal.  But it doesn't look
possible for a KDE Konsole (if a modern Konsole produces
different codes still from a pantheon or xfce).

Benno

-- 
http://www.fastmail.com - A no graphics, no pop-ups email service

Reply via email to