Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Solarized Colour Scheme
- Date: Tue, 18 Sep 2018 17:35:26 +0900
- From: "Stephen J. Turnbull" <turnbull.stephen.fw@example.com>
- Subject: Re: [tlug] Solarized Colour Scheme
- References: <20180915052326.rzjg4hrbvirmdg7t@monotonic.cynic.net> <20180915101614.GA29771@wismut> <20180918044226.zsxwktgp7viyl25v@iambic.cynic.net> <20180918054823.mb5gf3zma2fbdjex@iambic.cynic.net>
Curt Sampson writes: > [F]or some reason, when I start an xterm, it comes up with > `TERM=xterm` in the environment, rather than `TERM=xterm-256color`. > > Any thoughts on what could be causing this or how to fix it? I have > confirmed that the environment that launches xterm has no `TERM` > variable in its environment. This has been true for as long as I can remember. Just for funsies, I read the man page, and guess what? xterm sets that variable: Terminal database (terminfo (5) or termcap (5)) entries that work with xterm include an optional platform-specific entry ("xterm"), "xterm", "vt102", "vt100", "ansi" and "dumb" Xterm automatically searches the terminal database in this order for these entries and then sets the "TERM" variable (and the "TERMCAP" environment variable on a few older systems). The alternatives after "xterm" are very old, from the late 1980s. <img alt="Eddie-Murphy-finger-to-temple.jpg"> Well, that's how I felt, anyway. I am not sure how to set that "optional platform-specific entry". I guess you have to either patch xterm or override the terminal setting in your shell rc script. BTW, it doesn't help to set the variable in the environment OF xterm, xterm will override it. Note that modern xterm has an even more interesting option: xterm-direct. Yes, campers, that means you can use a DirectColor visual! Don't ask me how this works, apparently there are "direct color ANSI control sequences". Read the man page. ;-) Steve
- Follow-Ups:
- Re: [tlug] Solarized Colour Scheme
- From: Stephen J. Turnbull
- References:
- [tlug] Solarized Colour Scheme
- From: Curt Sampson
- Re: [tlug] Solarized Colour Scheme
- From: Jens John
- Re: [tlug] Solarized Colour Scheme
- From: Curt Sampson
- Re: [tlug] Solarized Colour Scheme
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Presentation for Next Technical Meeting
- Next by Date: Re: [tlug] Solarized Colour Scheme
- Previous by thread: Re: [tlug] Solarized Colour Scheme
- Next by thread: Re: [tlug] Solarized Colour Scheme
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links