I don't know since when and why :
$ mkdir -p a/b/c x/y/{1,2,3}
$ tree
.
├── a
│ └── b
│ └── c
└── x
└── y
├── 1
├── 2
└── 3
8 directories, 0 files
when I run screen, displays symbols full of question marks:
$ screen
<-- screen starts... -->
$ tree
.
��� a
� ��� b
� ��� c
��� x
��� y
��� 1
��� 2
��� 3
8 directories, 0 files
Similarly for utf characters.
Even if I move away my .screenrc
(e.g. with mv -v ~/.screenrc{,.bak}
) it's still strange characters set.
It happens on screen on my main user, on root user, but on my secondary user it does not. On this one characters work properly in screen. And it's not .screenrc
as I played with it.
Updates:
Re: $TERM - seems unrelated
- without screen: TERM==xterm-256color
- user A inside screen: TERM==screen.xterm-256color and display incorrectly
- user B inside screen: TERM==screen.xterm-256color and display correctly
Re: defutf8 on
- does something
After adding defutf8 on
in .screenrc
there is now mix ;p some symbols work some don't, example :
$ tree
.
├── a
│�� └── b
│�� └── c
└── x
└── y
├── 1
├── 2
└── 3
8 directories, 0 files
screen
does not change anything to the appearance of Terminal although it is in the ps list. Screen version 4.08.00 (GNU) 05-Feb-20$TERM
in both environments. Try using the$TERM
value from your working environment.defutf8 on
in your ~/.screenrc? or runscreen
with-U
? BTW, it has been a long time since I used screen, but I vaguely remember that disappointment with its utf handling was one of the reasons i switched totmux
.