From: Ian W. <ia...@ex...> - 2005-01-04 06:21:33
|
On Tue, Jan 04, 2005 at 11:49:21AM +0900, MINAMI Hirokazu wrote: > On Sun, 2005-01-02 at 01:16 -0500, Ian Ward wrote: > > > xterm always flips the foreground and background colors of the character > > the cursor is on (white on blue becomes blue on white etc.) rxvt uses > > black on white if the background of the character the cursor is on is > > black, otherwise it uses white on black. > > I've prepared a patch for the xterm-like scheme (attached). > i.e. make cursor's fg/bg color be taken from the character under cursor. Thanks! I will try it soon. > > BTW, I'm hoping to add support for all mlterm's supported encodings to > > Urwid (http://excess.org/urwid/). Can you recommend any good texts that > > I may use as a reference? At the moment I am using: > > http://www.debian.org/doc/manuals/intro-i18n/ch-codes.en.html > > Sorry, I couldn't find the better one. > > Just curious: what function are you going to add? > I'm assuming that the knowledge of encoding should not > be neccesary to simply display some strings. I need to know the encoding for things like word wrapping and cursor movement in edit boxes (sometimes the cursor should move 2 spaces). I will also have to know how the terminal will behave when I send it combining characters and BiDi text. I don't support BiDi yet -- That will be an interesting challenge. Ian |