From 217c58bdff7433b3accd1b0b4ca1b8a789dbdc09 Mon Sep 17 00:00:00 2001 From: pcg Date: Wed, 25 Feb 2004 12:38:30 +0000 Subject: [PATCH] *** empty log message *** --- README.unicode | 14 +++++++++++--- src/rxvt.h | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.unicode b/README.unicode index 6b005139..41f8a1a6 100644 --- a/README.unicode +++ b/README.unicode @@ -7,8 +7,14 @@ Sketchy overview of the details: might work and might be broken. - wchar_t MUST be UNICODE or ISO-10646-1 on your system, or various things - will break down. On GNU/Linux, this is true, on Solaris, this is true - only for "@ucs" locales, but you should have plenty of them. + will break down. On GNU/Linux, this is true for all locales, on Solaris, + this might be true only for locales ending in "@ucs", but you should + have plenty of them, as there should be a corresponding @ucs-locale for + every normal locale. + + If you know details for other operating systems, please notify me (in + general, if your env defines __STDC_ISO_10646__ then everything should + be fine). - rxvt will use unicode internally, but does input/output in the current locale. so to get a utf-8 terminal, use "LC_CTYPE=en_US.UTF-8 rxvt" or @@ -18,7 +24,9 @@ Sketchy overview of the details: using the imLocale ressource or switch, e.g.: LC_CTYPE=ja_JP.UTF-8 rxvt -imlocale ja_JP.EUC-JP -- keyboard input is limited by the selected X locale. +- keyboard input is limited by the selected locale (and X's support for it), + tty input and output likewise. selection support is mostly independent + of the locale. - "-fn" commandline switch and *.font ressource accepts a comma seperated list of fontnames: diff --git a/src/rxvt.h b/src/rxvt.h index 1636d51a..8733e00c 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -155,7 +155,7 @@ struct mouse_event { # define COLORTERMENVFULL COLORTERMENV #endif #ifndef TERMENV -# define TERMENV "xterm" +# define TERMENV "rxvt" #endif #if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR) -- 2.34.1