Message24214
Logged In: YES
user_id=774886
The only thing that worries me about that is it takes a
different path than ncurses does (or at least 5.4 does). If
the env variable isn't set, initscr in ncurses assumes the
term type is "unknown" (if no env) and passes "unknown"
along, whereas setupterm assumes that if you pass it NULL
for the term and the env isn't set, then it simply returns
0. I doubt anyone will have a valid term setup for unknown,
but who knows. Beyound that works for me. BTW, the gnu
ncurses guys say this is the the behavior in the standard. |
|
Date |
User |
Action |
Args |
2007-08-23 14:29:25 | admin | link | issue1119331 messages |
2007-08-23 14:29:25 | admin | create | |
|