Termcap/Terminfo & Ncurses
armen
ayvazian at gmail.com
Wed Mar 9 16:25:16 UTC 2005
Indeed, changing LANG="en_US.UTF-8" to LANG="en_US" seems to fix the
screen-via-putty issues. I'll have to wait until later in the day to
check out the results on my FreeBSD system, although I suspect that's
been fixed by this change as well. Now that I know *what* was causing
this issue, I'll have to put some time into learning more about *why*
and what the purpose of the initial entry in /etc/sysconfig/i18n was.
Thanks very much for the insight. You've single-handedly restored my
faith in mailing lists.
Now...anyone want to tackle some IPMI issues? Eh, I'll bring those up
later.
Thanks again.
armen
Justin Zygmont wrote:
> I suspect this may be related to UTF. /etc/sysconfig/i18n
>
>
> On Tue, 8 Mar 2005, armen wrote:
>
>> I've recently installed redhat fedora core 3 on a dell poweredge
>> server and I'm running into an unusual issue with what seems to be
>> either termcap or ncurses or both. When I connect using PuTTY
>> (claiming a terminal type of XTERM) on a windows-based system, ncurses
>> applications behave more-or-less normally. When I run these
>> applications inside screen, the vertical and horizonal line
>> super-ascii characters appear as A's with an umlaut over them.
>> The real issue occurs when I connect from a FreeBSD system (claiming
>> term type xterm-color.) When I run ncurses applications outside of
>> screen, formatting is horribly broken, with columns displayed out of
>> order, a constant stream of backslashes displayed across the input
>> line, and with everything I type being escaped.
>> When I run the apps in screen (when connecting from FreeBSD) the
>> formatting is off, but in a different way, and the input line is
>> highlighted incorrectly.
>> I've tried replacing termcap and terminfo entries from a working
>> system and I've tried setting different term types before I connect,
>> but nothing seems to help.
>> I've also noticed that if I connect to the a working server from the
>> broken one (via ssh) the apps format and display properly.
>> All components, including termcap/terminfo and ncurses are stock
>> redhat-supplied installations and this problem exhibits itself in both
>> redhat supplied and custom compiled ncurses applications.
>> Any help, advice, or insight would be greatly appreciated as I cannot
>> seem to make any headway against this issue. I'd be more than happy to
>> provide copies of termcap, terminfo files, inputrc files, etc from the
>> working system (an older redhat variant for ppc) and the troublesome
>> system if requested.
>> armen
>>
>>
More information about the fedora-list
mailing list