On Wed, 5 Jun 2024, Albaro Pereyra wrote:
Thanks for confirming it can be done. Now how can I set the settings in .screenrc. I do use screen-color because I like the colors I hope this does not interfere with the character.
LANG is not something you can set in ".screenrc". It is a so-called environment variable like PATH, TERM and others. The variables need to be usually set BEFORE the program starts, for example before you start screen (not "screen -r"). You can set it in your shell before running screen. For example for Bourne-like shells: LANG="pl_PL.UTF-8" export LANG "LANG" and various variables with names starting "LC_..." may control what some programs understand as a "character". You may try this to see the current values: env | grep -E '^(LANG|LC_)' What I would do is to stop using custom terminal definition in .screenrc and start screen with minimal settings (maybe no config file at all) and see if it works better, even if it means no colors in the beginning. I am also not convinced I know anything about WSL2 and its quirks, including the terminal emulators used on Windows, so you are on your own here. Marcin
smime.p7s
Description: S/MIME Cryptographic Signature