You are not logged in.

#1 2019-05-20 18:50:57

xCh12i5
Member
Registered: 2016-10-09
Posts: 4

ncurses and $TERM

Hello,


the histogram in wavemon, which is based on ncurses is not displayed properly on my system (cf. right edge of the window in the attached screenshot).

https://i.paste.pics/0501821cb012ee356a … 9a93cc.png

I use terminator as terminal emulator. My $TERM variable is set to xterm-256color:

$ echo $TERM
xterm-256color

As I figured out, this should be the reason for my problem. Reading the FAQ of ncurses and playing around with different $TERM values, has not done the trick.

On a German website for Ubuntu Linux it is said, that terminator is only a terminal multiplexer. So I tried different ways to figure out - if it would make sense, that terminator is only a terminal multiplexer -, which is my actual terminal emulator:

$ pstree -sA $$ | awk -F "---" '{ print $2 }'
terminator

All attempts (the code above is only an example of one of my attempts) led to the same result: terminator

How can I fix that, so the histogram view of wavemon is displayed properly?

About help and tips, I would be very happy.


Kind regards
Chris


moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by 2ManyDogs (2019-05-20 18:55:17)

Offline

#2 2019-05-20 18:59:25

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: ncurses and $TERM

xCh12i5 wrote:

My $TERM variable is set to xterm-256color:

$ echo $TERM
xterm-256color

Are you forcing that in any of your shell initialisation files?

Your locale looks broken to me...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-05-20 19:30:23

seth
Member
Registered: 2012-09-03
Posts: 50,983

Re: ncurses and $TERM

I'd rather say the used font (and any available fallback) simply lacks the required unicode symbols.

Edit: but unfortunately I can't read the symbols in the image…

Last edited by seth (2019-05-20 19:30:59)

Offline

#4 2019-05-21 07:57:20

xCh12i5
Member
Registered: 2016-10-09
Posts: 4

Re: ncurses and $TERM

jasonwryan wrote:

Are you forcing that in any of your shell initialisation files?

No, I don't. Or to be more precise, I have never configured that myself, so I assume it is the systems default.

jasonwryan wrote:

Your locale looks broken to me...

Maybe. That's, how I've configured my locales:

$ echo "LANG=en_US.UTF-8" > /etc/locale.conf
$ echo "KEYMAP=de-latin1" > /etc/vconsole.conf
$ ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
$ sed -i -E 's/^#(en_US.UTF-8 UTF-8)/\1/g' /etc/locale.gen
$ locale-gen
$ localectl set-x11-keymap de pc105 nodeadkeys
seth wrote:

I'd rather say the used font (and any available fallback) simply lacks the required unicode symbols.

In case that is true, which font package is typically installed with the major desktop environment like Gnome or KDE? I'm using pure i3.

Last edited by xCh12i5 (2019-05-21 07:59:46)

Offline

#5 2019-05-21 08:08:46

seth
Member
Registered: 2012-09-03
Posts: 50,983

Re: ncurses and $TERM

I've no idea but dejavu and noto tend to cover many codepoints. Whether yours are among them (esp. in the monospace variants) is impossible to say w/o knowing which ones are actually missing.

Offline

Board footer

Powered by FluxBB