<<< Date Index >>>     <<< Thread Index >>>

Re: Terminfo settings et al



* Eyolf Østrem on Friday, September 07, 2007 at 19:58:29 +0200
> Does this mean that I could make a terminfo entry called, say,
> 'my-screen-in-xterm', based on that for xterm-256color, and set that
> in .screenrc? That would tell screen exactly which capabilities the
> terminal has, wouldn't it? But why then doesn't it work to set 'term
> xterm-256color' directly?

Here "term term-256color" in screenrc works if I do /not/ set
$TERM in eg. bashrc explicitly. So I do roughly the following in
bashrc:

[ -z "$STY" ] && export TERM="xterm-256color"

($STY is set in a Screen session)

and in screenrc:

term "screen-256color"

(I have screen built with 256 color support)

c
-- 
Python Mutt utilities <http://www.blacktrash.org/hg/muttils/>