--- Begin Message ---
Subject: |
Re: console update |
Date: |
Sun, 01 Sep 2002 01:18:54 -0400 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Honest Recruiter, i386-unknown-gnu0.2) |
Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:
> On Fri, Aug 30, 2002 at 06:53:15AM -0700, James Morrison wrote:
>> In one of your emails, you mentioned artifacts in the console-ncurses
>> translator. I'm curious, do you call clrtoeol () after printing each line
>> with console-ncurses?
>
> No need, as I guarantee that all cells are written at least once and are
> written when they are changed. I do print a space where ncurses does not
> delete the cell, it's ncurses deciding to make it a cursor right.
>
> But I think I know what happens: some characters are not displayable in
> ncursesw or the terminal's opinion, but they are counted as printed anyway.
> This makes ncurses _think_ it has written it, and thus comes one character
> short at the end of the line.
I believe this is right, as I reported in a separate thread, sorry, I
didn't read mail until much after sending that.
> So, ncursesw cannot display bullets, umlauts, copyright signs in some
> terminals, or prints the wrong character codes. If I am right, that is the
> only bug left, and I have no idea how to approach it.
2 Questions:
If you can determine from the terminal characteristics the character
is 'unprintable' why not just, _not_ print it, replace with a space?
Is there a reason on the console that console-ncurses can't print all
of these characters - the ascii graphics characters I mean?
There seems to be a rather complicated interaction between the
console's TERM where console-ncurses is started on and it's individual
terminals TERM attributes, It seems to me that console-ncurses gets a
subset of the attributes of the console terminal.
I tried playing around with hurd.ti in combination with various
terminal definitions was able to get ascii graphics with no color
working, but as I haven't been able to find a clear explanation of how
to define terminal characteristics and which are conflicting I haven't
had much success.
--
/^\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
--- End Message ---