No colors, unknown terminal

Christian Ebert <[email protected]>
Newsgroups gmane.network.slrn.user
Organization Black Trash Productions <http://www.blacktrash.org/>
Message-ID <[email protected]>
Hello,

I have broken my S-Lang/Slrn setup -- the usual way: without
knowing what I was doing ;-)

$ slrn --version
slrn pre0.9.9-67
	* Note: This version is a developer preview.
S-Lang Library Version: pre2.1.4-5
Compiled at: Nov 29 2007 12:45:55
Operating System: Darwin

COMPILE TIME OPTIONS:
 Backends: +nntp -slrnpull -spool
 External programs / libs: -canlock -inews -ssl -uudeview +iconv
 Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid
    -grouplens -msgid_cache +piping +rnlock +spoilers -strict_from

DEFAULTS:
 Default server object:     nntp
 Default posting mechanism: nntp

PATCHES:
  minimal_multipart
  usascii_override


Symptoms:

- I suddenly had to use "slrn -C" to have colors.
- In eg. Apple Terminal, I get:
$ slrn
slrn pre0.9.9-67
Unknown terminal: nsterm-16color
Check the TERM environment variable.
Also make sure that the terminal is defined in the terminfo database.
Alternatively, set the TERMCAP environment variable to the desired
termcap entry.
- Same for screen-256color if I start slrn with
$ env TERMCAP= slrn

Both terminfo entries exist and work correctly in with any other
program I am running.

I recompiled S-Lang:
MISC_TERMINFO_DIRS is set correctly to /usr/local/share/terminfo
ncurses5-config is correctly recognized at
/usr/local/bin/ncurses5-config

I'm at a complete loss what could be causing this. I don't
remember having changed anything fundamental in my setup.

If anybody could come up with ideas where to look for mistakes,
what kind of tests to run, or any other advice, I'd be really
grateful.

I can also take this to slang-users-l, if needed.

TIA

c
-- 
__   _    _         _  __  _               _    
\ \ | |__| |__ _ __| |_\ \| |_ _ _ __ _ __| |_  
 \ \| '_ \ / _` / _| / /\ \  _| '_/ _` (_-< ' \ 
  \_\_.__/_\__,_\__|_\_\ \_\__|_| \__,_/__/_||_|   http://www.blacktrash.org/

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.