line drawing and display and xterms

John freebsd-lists at
Tue Apr 14 12:18:21 UTC 2015

On Tue, Apr 14, 2015 at 07:20:55AM -0400, Thomas Dickey wrote:
> ----- Original Message -----
> The usual pitfalls here:
> a) xterm honors VT100 line-drawing in UTF-8 mode
> b) some other terminals do not
> c) screen(1) does not
> d) screen(1) honors VT100 line-drawing when not in UTF-8 mode
> So the first thing to investigate is whether screen(1) run from the
> two scenarios has consistent locale settings.


Yeah that makes sense. Not solved it all yet though, even when setting 
both sides of the connection to:

set LANG=en_GB.ISO8859-1
set LC_CTYPE="en_GB.ISO8859-1"
set LC_COLLATE="en_GB.ISO8859-1"
set LC_TIME="en_GB.ISO8859-1"
set LC_NUMERIC="en_GB.ISO8859-1"
set LC_MONETARY="en_GB.ISO8859-1"
set LC_MESSAGES="en_GB.ISO8859-1"
set LC_ALL=

It may be worth noting here that screen seems to make a default 
$HOME/.screenrc with just the following: 

defencoding utf8
encoding utf8 utf8

I've commented these out for now and have restarted the screens.

More information about the freebsd-questions mailing list