[Groff] Re: backspace and Unicode in terminals

2005-04-18 Thread Mike FABIAN
Werner LEMBERG <[EMAIL PROTECTED]> さんは書きました: > Looking into the source of jless, the Japanized version of less (which > apparently doesn't support Unicode), It does. At least the less package used on SuSE Linux supports Unicode and this is basically jless with some

Re: [Groff] Re: backspace and Unicode in terminals

2005-03-18 Thread Werner LEMBERG
Thanks to all who have answered my questions. I was unclear w.r.t. the backspace character: It isn't needed for positioning (this is done internally in grotty before the output is emitted) but for signalling that a character should be underlined or rendered bold.[1] This isn't directly supported

Re: [Groff] Re: backspace and Unicode in terminals

2005-03-17 Thread Jim Reid
> "Andries" == Andries Brouwer <[EMAIL PROTECTED]> writes: >> Doing so I wonder how is the backspace character (U+0008, \b) >> handled in TTYs? Is there any documentation for it? Andries> There are many types of TTY. A termcap/terminfo entry Andries> would tell you what escap

[Groff] Re: backspace and Unicode in terminals

2005-03-17 Thread Bruno Haible
Andries Brouwer wrote: > There are many types of TTY. A termcap/terminfo entry would tell you > what escape sequence causes the cursor to move left one position. > (In termcap the boolean bs will tell you whether it is 010, backspace.) > > Such cursor movement is entirely independent of the text pr

[Groff] Re: backspace and Unicode in terminals

2005-03-17 Thread Andries Brouwer
On Thu, Mar 17, 2005 at 09:24:23AM +0100, Werner LEMBERG wrote: > > I'm going to improve grotty, the TTY backend of groff, so that it can > handle zero-width and double-width characters, as needed for proper > Unicode support. > > Doing so I wonder how is the backspace character (U+0008, \b) hand

[Groff] Re: backspace and Unicode in terminals

2005-03-17 Thread Michael Schroeder
On Thu, Mar 17, 2005 at 09:24:23AM +0100, Werner LEMBERG wrote: > Most importantly: If I have a wide character at position p which is > followed by `\b' (at position p+2), is the final position p again? No, \b moves the cursor one cell to the left, regardless of the width of the previous character

[Groff] Re: backspace and Unicode in terminals

2005-03-17 Thread xerces8
You mean the "erase" character, right ? -Original Message- From: Werner LEMBERG <[EMAIL PROTECTED]> To: linux-utf8@nl.linux.org Cc: groff@gnu.org Date: Thu, 17 Mar 2005 09:24:23 +0100 (CET) Subject: backspace and Unicode in terminals > > I'm going to improve grotty, the TTY backend of gr

[Groff] Re: backspace and Unicode in terminals

2005-03-17 Thread Werner LEMBERG
> You mean the "erase" character, right ? I don't know how it is called correctly. Unicode says that `\b' (as used in the C language) is U+0008 BACKSPACE. Werner ___ Groff mailing list Groff@gnu.org http://lists.gnu.org/mailman/listinfo/groff