Hello

Le 3/7/25 à 17:03, Jan Stary a écrit :
On Mar 07 16:54:36, jean-michel.bes...@lacomte.net wrote:
the accented characters show when I start the terminal manually after the
start of spectrwm. But the one launched automatically with spectrwm does not
show characters.
Run env in both and see the difference.
Does the "terminal" (= xterm?) launch a login shell (as in ksh -l),
and thus read your ~/.profile?

        Jan

env from the automatically started xterm:

jean-mi@x1:~$ env
_=/usr/bin/env
LOGNAME=jean-mi
WINDOWID=8388620
WINDOWPATH=5
XTERM_SHELL=/bin/ksh
HOME=/home/jean-mi
_SWM_XTERM_FONTADJ=
PWD=/home/jean-mi
SWM_STARTED=YES
TERM_PROGRAM=tmux
LC_CTYPE=fr_FR.UTF-8
TERM_PROGRAM_VERSION=openbsd-7.7
XTERM_VERSION=XTerm/OpenBSD(395)
DISPLAY=:0
LANG=fr_FR.UTF-8
ENV=/home/jean-mi/.kshrc
PATH=/home/jean-mi/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
TMUX=/tmp/tmux-1000/default,51238,4
TMUX_PANE=%4
TERM=screen
SHELL=/bin/ksh
_SWM_WS=0
USER=jean-mi
XTERM_LOCALE=C

env from the xterm started after:

jean-mi@x1:~$ env
_=/usr/bin/env
LOGNAME=jean-mi
WINDOWID=16777228
WINDOWPATH=5
XTERM_SHELL=/bin/ksh
HOME=/home/jean-mi
_SWM_XTERM_FONTADJ=
PWD=/home/jean-mi
SWM_STARTED=YES
TERM_PROGRAM=tmux
LC_CTYPE=fr_FR.UTF-8
TERM_PROGRAM_VERSION=openbsd-7.7
XTERM_VERSION=XTerm/OpenBSD(395)
DISPLAY=:0
LANG=fr_FR.UTF-8
ENV=/home/jean-mi/.kshrc
PATH=/home/jean-mi/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
TMUX=/tmp/tmux-1000/default,51238,5
TMUX_PANE=%5
TERM=screen
SHELL=/bin/ksh
_SWM_WS=0
USER=jean-mi
XTERM_LOCALE=C
jean-mi@x1:~$

I do not see much differences.

Terms launch tmux. I am not sure of what you call a Login Shell.


Thank you

Bye

Reply via email to