• Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Stable
  • Assigned To
  • Operating System Hyperbola GNU/Linux-libre
  • Severity Medium
  • Priority Low
  • Reported Version Any
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Packages
Opened by fablamar78 - 24/11/2018
Last edited by heckyel - 27/10/2021

FS#1259 - Garbled display with xfce4-terminal (terminfo)

A very nasty bug I wasn’t able to find an answer to.
I compiled stuff (buildroot) using menuconfig, the menu display was fine in xfce4-terminal (See screenshot #1)
I restarted the config a few days later with the same command :

$ make menuconfig

and this time the display was messed up (See screenshot #2)

After investigation, I noticed a directory (filled with stuff) have been created in my home folder :


I don’t know why. But anyway, if I delete it, then the display is ok again.
I noticed that if I use good old xterm terminal, then the display is fine even if the .terminfo directory is present. (it uses “xterm” instead of xterm-256color)

But, with xfce4-terminal (and others, I tried with gnome-terminal, sakura..), the display is messed up if the .terminfo directory is present in my home folder.

I also noticed that if I run the command in a screen session, the issue is not present.

(I open xfce4-terminal)

$ screen
$ printenv TERM
$ make menuconfig (or htop, or other program using ncurses)

= display ok

but with default :

(I open xfce4-terminal)

$ printenv TERM
make menuconfig (or htop, or other program using ncurses)

= display messed up if .terminfo directory is present

So I have no idea why this .terminfo directory is generated. What could trigger its generation ? Is that an issue with ncurses or something else ?

Thanks for your help

Closed by  heckyel
27.10.2021 21:24
Reason for closing:  Won't implement
Additional comments about closing:  

Issue cannot be resolved as XFCE was removed in Hyperbola Milky Way 0.4

The content of .terminfo directory is the same as what what the following package provides :


But this package isn't provided by Hyperbola (or is it integrated to ncurses base ??) so I'm wondering how it ends up in my /home folder.
After further investigation, "buildroot" ( menuconfig seems to trigger the .terminfo directory generation. Because it never happened before.

infocmp -D


So it seems the generated .terminfo directory conflicts with the system-wide one provided. (/usr/lib/terminfo)... which could maybe explain the display error ?


Setting :




fixed the issue !

Tell me if you think it was the correct way to proceed. Is there any "con" doing it that way ?

Tell me if you think it was the correct way to proceed. Is there any "con" doing it that way ?

I don't know about it since i'm not using XFCE4, but seems that way is correct because we are a distro "do-yourself", however there are some basic features made by us by default, so i'm assigning this task for our debuggers to make testing.

Date User Effort (H:M)
watch my effort tracking timers


Available keyboard shortcuts


Task Details

Task Editing