On Tue, Jan 11, 2005 at 03:01:52AM +0100, Thomas Wolff wrote:

Hi,

> To cope with the missing feasibility to provide reliable configured 
> information for terminal behaviour regarding character widths etc., 
> my editor mined (http://towo.net/mined) performs auto-detection of 
> terminal properties, so it will know what features the terminal 
> really has instead of having to guess.

Could you please provide more information about this auto-detection? I guess
you're not talking about terminfo capabilities but something different, are
you? Is there a way to ask the terminal itself (and not the terminfo) about
the width of a character or about the current cursor position? Afaik it's
not possible to do it.

I created a small file:
{ for i in `seq 1 10`; do echo -ne 'a\330\203x'; done; echo; } > somefile

and tried to edit it with mined in utf8 mode xterm and gnome-terminal. While
it's okay in gnome-terminal, it's buggy in xterm, mined believes U+0603
occupies a character cell but in xterm it doesn't. Hence 'char info'
displays false answer, the cursor can be moved too far to the right, and
inserting a newline in the middle of the line is visually buggy too.

These are the issues I'm interested if they can be solved somehow...



-- 
Egmont

--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to