Forgot to cc [email protected]
----- Forwarded message from John McCue <[email protected]> -----
Date: Wed, 12 Nov 2025 15:57:58 -0500
From: John McCue <[email protected]>
To: Amelia A Lewis <[email protected]>
Subject: Re: xterm has incorrect path /usr/bin/luit embedded in source code
On Mon, Oct 27, 2025 at 03:48:51PM -0400, Amelia A Lewis wrote:
Looks like a bug, maybe report to bugs@
Workaround:
# ln -s /usr/X11R6/bin/luit /usr/bin
But the bug prolly ought to be fixed.
That works :) But I found having something like this in
~/.xsessions works too, this avoids playing with base.
export LC_ALL=en_US.UTF-8
This luit message occured for me because I had this entry
"export LANG=en_US" in my .xsession.
So my guess is it could be caused by a person having an
invalid LANG or LC_ALL setting.
HTH
On Mon, 27 Oct 2025 17:01:00 +0000, Bunkmate wrote:
> Hello misc@
>
> Something I noticed recently regarding xterm(1) which has me a bit
> puzzled is the embedded path of luit(1).
>
> When I placed the following line in my $HOME/.Xdefaults file, xterm
> tried to run /usr/bin/luit and failed with execv(3).
>
> XTerm*locale:true
>
> It would appear that the location of luit is /usr/X11R6/bin/luit
>
> Upon looking at xenocara/app/xterm source code I did find these
> interesting lines:
>
> main.h:#define PROJECTROOT "/usr"
>
> main.h:#define DEFLOCALEFILTER DEFLOCALEFILTER1(PROJECTROOT)
> "/bin/luit"
>
> Thoughts?
>