[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MakeTermcap weirdness
From: |
Nikolai Weibull |
Subject: |
MakeTermcap weirdness |
Date: |
Tue, 29 Mar 2005 16:44:08 +0200 |
User-agent: |
Mutt/1.5.8i |
Two things with MakeTermcap bugs me:
1. Why does it
strcpy(Term, "TERM=screen");
if $SCREENCAP is set?
2. It really needs support (along with the rest of stuff associated
with it) for 256-color mode. A terminfo definition can quickly be
put together that shows screens support for 256 colors, but screen
doesn't advertise it in TERMCAP, neither will it do so when setting
TERM to screen (when I want it to be screen-256color as I have named
my terminfo definition).
I guess one solution to 2 is to add
terminfo xterm-256color "" Co\#256:AB=\E[48;5;%p1%dm:AF=\E[38;5;%p1%dm
to ones .screenrc, but what I'd really want is to have TERMCAP not being
set at all, as some applications wrongly check for it before checking
the terminfo database.
Is there a better way to do what I'm trying to do?,
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: minimalistic.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
- MakeTermcap weirdness,
Nikolai Weibull <=