Salut Jean-Michel,
BESSOT Jean-Michel wrote on Tue, Mar 11, 2025 at 06:41:19PM +0100:
> Here the krtace. I hope I did't mess up,
You messed it up slightly in so far as you ran ktrace(1) with the default
options for -t. We were wondering about the environment spectrwm passes
to xterm, so running
ktrace -t X+
would have been better than using the defaults.
> it is the first time I use ktrace.
Considering that, what you sent was not bad after all. :-)
The critical snippet is:
64661 ktrace CALL execve(0x7303be318810,0x7303be318e10,0x7303be318e30)
64661 ktrace NAMI "/usr/X11R6/bin/xterm"
64661 ktrace ARGS
[0] = "xterm"
[1] = "-e"
[2] = "tmux"
That confirms what we already suspected and what you already concluded
from using ps(1), i.e. the command line options spectrwm passes to xterm.
If you would run "ktrace -t X+" instead of vanilla ktrace,
we would likely see that LC_CTYPE is not set in the environment.
Confirming that suspicion may be marginally useful, but testing
the two workarounds i offered in my other mail is *much* more important.
Yours,
Ingo