On Mon, 28 May 2001, Markus Kuhn wrote:
> Robert de Bath wrote on 2001-05-28 12:44 UTC:
> > In the vt102 manual:
> > http://vt100.net/docs/vt102-ug/chapter5.html#S5.5
> >
> > " If a control character is received within a sequence, the terminal
> > " performs the function of the control character, followed by the function
> > " of the sequence.
>
> :-( Very ugly!
You're not wrong.
> > CSI > Pw ; Pn w
>
> Also a decent possibility, though somewhat less compact. But please
> remove the ">" byte after CSI. It is not needed since you stay
> completely within the regular parameter string syntax (which does cover
> the case of an empty parameter string) and thus can use any normal
> parser.
The '>' is needed because it's not a sequence defined in ECMA-48 and so
officially private.
> > Pw : The width requested for the following characters, default 2.
> > Pn : The number of characters to set, default 1.
>
> If you fancy, add Pn=0 -> infinity and specify that the setting ends at
> the next control function that repositions the cursor (CR, LF, set
> cursor, etc.).
In ECMA-48 ZDM is now deprecated so Pn=0 is identical to the default always.
The VT's have always had that property.
So I can't do that.
Tho a short infinity could be added ... perhaps.
CSI > 2 ;; 1 w
Or
CSI > 6 w
BUT it would be best it there was a way to specifically turn it off; at
which point it's getting modal again; that could be zero ... hmmm.
> > The default widths are as defined by wcwidth().
> >
> > A width of 3 is available for Devanagari and any who may need it.
>
> Do we REALLY need 3 for Devanagari? I would rather avoid having to load
> a third font for that! For which glyph or ligature do you see the need
> for triple-width glyphs?
I don't know ... Ah found the reference on this list: Tomohiro KUBOTA said
something about Mule/Emacs supporting triple width ... hmm he didn't say
why; maybe it's just 'cause it fits in two bits.
--
Rob. (Robert de Bath <rdebath @ poboxes.com>)
<http://www.cix.co.uk/~mayday>
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/