From owner-freebsd-ports@FreeBSD.ORG Mon Jul 26 17:54:52 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2509B16A4CE for ; Mon, 26 Jul 2004 17:54:52 +0000 (GMT) Received: from ensa.cpsc.ucalgary.ca (ensa.cpsc.ucalgary.ca [136.159.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D273043D69 for ; Mon, 26 Jul 2004 17:54:51 +0000 (GMT) (envelope-from gaoj@cpsc.ucalgary.ca) Received: from imgw1.cpsc.ucalgary.ca (imgw1 [136.159.5.9]) i6QHquDS000617; Mon, 26 Jul 2004 11:52:56 -0600 (MDT) Received: from aibsd-current (sana-sa [136.159.7.231])i6QHqppi024833; Mon, 26 Jul 2004 11:52:51 -0600 From: Jie Gao Organization: University of Calgary To: Eric Anholt Date: Mon, 26 Jul 2004 11:52:51 -0600 User-Agent: KMail/1.6.2 References: <41047D51.1020303@cpsc.ucalgary.ca> <1090832873.2081.0.camel@leguin> In-Reply-To: <1090832873.2081.0.camel@leguin> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Message-Id: <200407261152.51511.gaoj@cpsc.ucalgary.ca> X-Virus-Scanned: by amavis-milter (http://amavis.org/) X-Spam-Status: No, hits=3.2 required=6.8 X-Spam-Level: *** cc: freebsd-ports@freebsd.org Subject: Re: xterm in X.org error with some locales? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 17:54:52 -0000 I did know about the luit thing. And I also tried to give luit a setuid permission and start xterm again. But still the same. The xterm window disappeared immediately after it showed up. I remember when I was using XFree86 without a setuid luit, I only got a warning message in the new xterm window. But now with Xorg, the problem is I can never have an xterm window for more than a second. On July 26, 2004 03:07 am, Eric Anholt wrote: > On Sun, 2004-07-25 at 20:41, Jie Gao wrote: > > Hi, all > > > > I switched to Xorg on 5-CURRENT yesterday, following the steps in > > /usr/ports/UPDATING and portupgraded everything. Everything works just > > fine except one thing: xterm has some error on some particular locales. > > The symptom is like this: > > > > # setenv LANG zh_CN.eucCN > > # xterm > > > > After this, xterm's window only quickly flashed out and then > > disappeared. I tried various locales, mainly zh_CN.* ones, finding that > > zh_CN.eucCN, zh_CN.GB2312 and zh_CN.GBK all make xterm a splash. > > > > I cannot tell what's wrong because I can find corresponding error > > information nowhere. I checked console, /var/log/messages, > > ~/.xsession-error and /var/log/Xorg.0.log. None of them contain > > relevant messages. > > I can't remember for sure, but I think this was part of the issue, which > > is printed when you build -clients: > > If you want to use xterm with locales in a secure manner, luit must be > > installed > > > setuid. If you want to do this, hit Ctrl-C now and use "make > > WITH_SETUID_LUIT=yes"