Module Name:    xsrc
Committed By:   spz
Date:           Thu Jul 11 20:02:25 UTC 2013

Modified Files:
        xsrc/external/mit/xterm/include: xtermcfg.h

Log Message:
enable defines that make xterm able to do UTF-8 if instructed by its
environment to do UTF-8.

That means: "env LC_CTYPE=en_US.UTF-8 xterm" for example will get you
an xterm that will take UTF-8 input and display it correctly, provided it
finds a fitting UTF-8 font.

Note that with this version of xterm, -u8 doesn't actually have an effect
any more, but -lc has.

xterm will record the locale settings it has been started with in the
environment variable XTERM_LOCALE. It is probably a good idea to have
at least the encoding part of LC_CTYPE and XTERM_LOCALE match.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 xsrc/external/mit/xterm/include/xtermcfg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xterm/include/xtermcfg.h
diff -u xsrc/external/mit/xterm/include/xtermcfg.h:1.5 xsrc/external/mit/xterm/include/xtermcfg.h:1.6
--- xsrc/external/mit/xterm/include/xtermcfg.h:1.5	Fri May 31 21:48:11 2013
+++ xsrc/external/mit/xterm/include/xtermcfg.h	Thu Jul 11 20:02:24 2013
@@ -108,7 +108,7 @@
 #define HAVE_XKBKEYCODETOKEYSYM 1	/* AC_CHECK_FUNCS(XkbKeycodeToKeysym) */
 #define HAVE_XKBQUERYEXTENSION 1	/* AC_CHECK_FUNCS(XkbQueryExtension) */
 #define HAVE_XKB_BELL_EXT 1	/* CF_XKB_BELL_EXT */
-/* #undef LUIT_PATH */		/* CF_ARG_ENABLE(luit) */
+#define LUIT_PATH "/usr/X11R7/bin/luit"	/* CF_ARG_ENABLE(luit) */
 /* #undef NO_ACTIVE_ICON */		/* CF_ARG_DISABLE(active-icon) */
 /* #undef NO_LEAKS */			/* CF_ARG_DISABLE(leaks) */
 /* #undef OPT_256_COLORS */		/* CF_ARG_ENABLE(256-color) */
@@ -135,7 +135,7 @@
 /* #undef OPT_INPUT_METHOD */		/* CF_ARG_DISABLE(input-method) */
 /* #undef OPT_ISO_COLORS */		/* CF_ARG_DISABLE(ansi-color) */
 /* #undef OPT_LOAD_VTFONTS */		/* CF_ARG_ENABLE(load-vt-fonts) */
-/* #undef OPT_LUIT_PROG */		/* CF_ARG_ENABLE(luit) */
+#define OPT_LUIT_PROG 1			/* CF_ARG_ENABLE(luit) */
 /* #undef OPT_MAXIMIZE */		/* CF_ARG_DISABLE(maximize) */
 /* #undef OPT_MINI_LUIT */		/* CF_ARG_ENABLE(mini-luit) */
 /* #undef OPT_NUM_LOCK */		/* CF_ARG_DISABLE(num-lock) */
@@ -155,7 +155,7 @@
 /* #undef OPT_TOOLBAR */		/* CF_ARG_ENABLE(toolbar) */
 /* #undef OPT_VT52_MODE */		/* CF_ARG_DISABLE(vt52) */
 /* #undef OPT_WIDER_ICHAR */		/* CF_ARG_ENABLE(16bit-chars) */
-/* #undef OPT_WIDE_CHARS */		/* CF_ARG_OPTION(wide-chars) */
+#define OPT_WIDE_CHARS 1		/* CF_ARG_OPTION(wide-chars) */
 /* #undef OPT_XMC_GLITCH */		/* CF_ARG_ENABLE(xmc-glitch) */
 /* #undef OPT_ZICONBEEP */		/* CF_ARG_DISABLE(ziconbeep) */
 /* #undef OWN_TERMINFO_DIR */		/* AC_ARG_WITH(own-terminfo) */
@@ -178,6 +178,7 @@
 /* #undef USE_UTMP_SETGID */		/* AC_ARG_WITH(utmp-setgid) */
 #define UTMPX_FOR_UTMP 1		/* CF_UTMP */
 #define XRENDERFONT 1		/* CF_X_FREETYPE */
+#define XFREE86_FT2 1
 /* #undef cc_t */			/* CF_TYPE_CC_T */
 /* #undef gid_t */			/* AC_TYPE_UID_T */
 /* #undef mode_t */			/* AC_TYPE_MODE_T */

Reply via email to