Re: [I18n]xterm to invoke luit

2002-01-31 Thread Juliusz Chroboczek

Tomohiro KUBOTA [EMAIL PROTECTED]:

Hi Tomohiro,

I agree with the general idea.  I would like to change a few details.

I would suggest one new resource:

  XTerm*utf8Filter: /usr/X11R6/bin/luit

If utf8Filter is set, and XTerm is in UTF-8 mode, XTerm will spawn

  filter prog args

instead of 

  prog args

In addition, I suggest that the utf8 resource should be changed to a
tri-valued flag: it can be false, true, or auto, the latter meaning
that XTerm should run in UTF-8 mode if the locale is multi-byte, and
in eight-bit mode if it is not.

The defaults for these resources should be

  XTerm*utf8Filter: projectroot/bin/luit
  XTerm*utf8: auto  (or perhaps true?)


TK  - emulate doublewidth de-facto standard for east Asian encodings
TK(using http://www.cl.cam.ac.uk/~mgk25/ucs/scw-proposal.html ?)

With all due respect, I refuse to implement Markus' proposal.

TK  - luit to support more encodings
TK(http://mail.nl.linux.org/linux-utf8/2001-11/msg00093.html)

Yep.  Boring, but must be done.

TK  - whether xterm or luit will support BiDi or not.  Usage of fribidi
TKmay have license problem (like Robert Brady's patch).

My personal opionion is that BIDI belongs above the terminal emulator.

And the number 1 item: include your fix for SS in EUC-JP (actually a
slightly improved version).

Thanks for your comments,

Juliusz
___
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n



[I18n]xterm to invoke luit

2002-01-30 Thread Tomohiro KUBOTA

Hi,

XFree86 4.2 has been released.  Thus, I'd like to start an improvement
of xterm to invoke luit, so that xterm will obey the current LC_CTYPE
locale not only when it is one of UTF-8 locales but also when it is
one of various major locales (which luit supports).

My idea is:
 - adding -lc command line option and locale resource (boolean)
   to specify whether luit will be invoked or not.
 - luit will be invoked only when locale is other than C, POSIX,
   or UTF-8.
 - when luit will be invoked, xterm will be need to be UTF-8 mode.
   This will be done automatically.
 - xterm -e ... has to work well even with luit.
 - A new sample resource file XTerm-locale.ad will be supplied.
 - manual page will need explanation of this new feature.

If nobody is working on this so far, I'd like to develop this and
to send a patch to XFree86 finally.

Items which need further discussion:
 - emulate doublewidth de-facto standard for east Asian encodings
   (using http://www.cl.cam.ac.uk/~mgk25/ucs/scw-proposal.html ?)
 - luit to support more encodings
   (http://mail.nl.linux.org/linux-utf8/2001-11/msg00093.html)
 - whether xterm or luit will support BiDi or not.  Usage of fribidi
   may have license problem (like Robert Brady's patch).

However, my work above will be able to be started without waiting
for conclusions of these discussions.

Any comments?

---
Tomohiro KUBOTA [EMAIL PROTECTED]
http://www.debian.or.jp/~kubota/
Introduction to I18N  http://www.debian.org/doc/manuals/intro-i18n/
___
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n



Re: [I18n]xterm to invoke luit

2002-01-30 Thread James Su

Hello,

Does luit support the encodings that do not compatible with iso-2022? 
For example GB18030?

Regards

James Su

Tomohiro KUBOTA wrote:

Hi,

XFree86 4.2 has been released.  Thus, I'd like to start an improvement
of xterm to invoke luit, so that xterm will obey the current LC_CTYPE
locale not only when it is one of UTF-8 locales but also when it is
one of various major locales (which luit supports).

My idea is:
 - adding -lc command line option and locale resource (boolean)
   to specify whether luit will be invoked or not.
 - luit will be invoked only when locale is other than C, POSIX,
   or UTF-8.
 - when luit will be invoked, xterm will be need to be UTF-8 mode.
   This will be done automatically.
 - xterm -e ... has to work well even with luit.
 - A new sample resource file XTerm-locale.ad will be supplied.
 - manual page will need explanation of this new feature.

If nobody is working on this so far, I'd like to develop this and
to send a patch to XFree86 finally.

Items which need further discussion:
 - emulate doublewidth de-facto standard for east Asian encodings
   (using http://www.cl.cam.ac.uk/~mgk25/ucs/scw-proposal.html ?)
 - luit to support more encodings
   (http://mail.nl.linux.org/linux-utf8/2001-11/msg00093.html)
 - whether xterm or luit will support BiDi or not.  Usage of fribidi
   may have license problem (like Robert Brady's patch).

However, my work above will be able to be started without waiting
for conclusions of these discussions.

Any comments?

---
Tomohiro KUBOTA [EMAIL PROTECTED]
http://www.debian.or.jp/~kubota/
Introduction to I18N  http://www.debian.org/doc/manuals/intro-i18n/
___
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n





___
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n



Re: [I18n]xterm to invoke luit

2002-01-30 Thread Tomohiro KUBOTA

Hi,

At Thu, 31 Jan 2002 13:58:11 +0800,
James Su wrote:

 Does luit support the encodings that do not compatible with iso-2022? 
 For example GB18030?

It supports a few non-ISO-2022-compliant encodings such as Big5.
It doesn't support GB18030 so far, though Juliusz is willing to
support it.  See his message at

  http://mail.nl.linux.org/linux-utf8/2001-11/msg00093.html

for detail.

---
Tomohiro KUBOTA [EMAIL PROTECTED]
http://www.debian.or.jp/~kubota/
Introduction to I18N  http://www.debian.org/doc/manuals/intro-i18n/
___
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n



Re: [I18n]xterm to invoke luit

2002-01-30 Thread Leon Ho

  Does luit support the encodings that do not compatible with iso-2022? 
  For example GB18030?
 
 It supports a few non-ISO-2022-compliant encodings such as Big5.
 It doesn't support GB18030 so far, though Juliusz is willing to
 support it.  See his message at

If I do 
# LANG=zh_TW.Big5 xterm -u8 -e luit
Warning: couldn't find charset data for locale zh_TW.Big5; using ISO 
8859-1.

# xterm -u8 -e luit -g2 'Big 5'
# LANG=zh_TW.Big5

It still cannot display any big5 encoded char. Anything I did wrong?

Leon

 
   http://mail.nl.linux.org/linux-utf8/2001-11/msg00093.html
 
 for detail.

-- 
 Leon Ho, Red Hat Inc., Asia-Pacific Operations [EMAIL PROTECTED]
 Files:http://people.redhat.com/llch
 Legal:http://apac.redhat.com/disclaimer

___
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n