You are not logged in.

#1 2014-01-02 09:34:56

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

[SOLVED] Problem with line drawing characters

Hi!
Accessing arch from putty causes problems with line draw characters. I have the following in my environment:

declare -x LANG="en_GB.UTF-8"
declare -x LC_COLLATE="C"
declare -x NCURSES_NO_UTF8_ACS="1"
declare -x SHELL="/bin/bash"
declare -x TERM="xterm"

locale returns

LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

In Putty I use UTF-8 translation and the Conolas font.

With this setup mc looks great with all the line drawing characteres. But a program like nmon, which uses ncurses (right?) the lines appear as x-es and q-s. If, however I switch putty translation to ISO-8859-1:1998 (Latin-1, West Europe) nmon looks just great but now mc sports ã as lines .

What would be the setup to use both mc and nmon?
The export  NCURSES_NO_UTF8_ACS="1" I've added as per http://superuser.com/questions/278286/m … 337#278337

Last edited by theking2 (2015-01-03 13:28:43)


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

Board footer

Powered by FluxBB