support for ESC % G

Marc Lehmann schmorp at schmorp.de
Fri Apr 16 08:27:53 CEST 2010


On Fri, Apr 16, 2010 at 08:17:49AM +0200, Michal Svoboda <michal.svoboda at agents.felk.cvut.cz> wrote:
> > > select the UTF8 charset, but seems to be unsupported by rxvt-unicode.
> > Well, it's pretty non-standard, and not really sensible.
> 
> Can't it at least be ignored? Right now, I get a 'G' echoed to my screen
> (but not the percent sign).

Uhm, then don't print it? Any program that uses comamnd sequences destined
for a totally different type of terminal is seriously broken and needs to be
fixed.

> > urxvt already has a command sequence to switch locales, though, which can
> > be used to switch into any locale you want (includign an utf-8 based one)
> > (see urxvt(7)).
> 
> I can't make sense of what you're saying. Urxvt can somehow already
> switch locales, but switching via ESC % can't be done?

It could be done, but since that would be incompatible with the linux
console then (which cannot switch locales) I am not sure what it would buy
you.

> > > be a no-op, since most unices run with UTF8 locale nowadays.
> > wow, I think you are badly mistaken.
> 
> Okay, that's news, please enlighten me?

If you claim you have a pink dragon in your garage, is it my job to
disprove that? Don't think so :)

Obviously, since most unices predate unicode, it would be up to you to
show that most of them suddenly switched to utf-8 locales.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\




More information about the rxvt-unicode mailing list