Bug#368916: gnome-terminal: $TERM should be set to gnome instead of xterm
Christoph Anton Mitterer
calestyo at scientia.net
Mon Mar 23 16:32:16 UTC 2015
On Mon, 2015-03-23 at 14:23 +0100, Egmont Koblinger wrote:
> > Having set the wrong TERM breaks all kinds of things and there is no
> > real way to correct that (setting it in .bashrc or friends would do this
> > for all terminals!).
> That's not quite true: you can check for $VTE_VERSION in your .bashrc.
Sorry, I meant "real" in the sense of "portable".
Of course one can always find out somehow, and if by using ps(1), but I
don't want to maintain a list of variable which dozens of terminal
emulator set or set not, just to find out what's actually running.
This is the job of terminfo, and if someone would write now another
layer to correctly detect things because terminfo is fooled, it would
likely just take a few years until that is als fooled by just setting
these variables (just see how many browsers announce themselves as
Mozilla ^^).
Best wishes,
Chris.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5313 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20150323/3a9513f9/attachment-0001.bin>
More information about the pkg-gnome-maintainers
mailing list