Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 653972

Summary: app-editors/hexedit-1.2.13 has garbled UI with =sys-libs/ncurses-6.1-r2
Product: Gentoo Linux Reporter: ta2002 <throw_away_2002>
Component: Current packagesAssignee: Thomas Beierlein <tomjbe>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 652080    
Attachments: screenshot

Description ta2002 2018-04-24 12:06:35 UTC
Created attachment 528422 [details]
screenshot

Seems like this is a known problem (yes, I am using konsole-17.12.3). Confirmed on multiple machines. Screenshot attached.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-04-24 12:11:41 UTC
What's your TERM variable set to?
Comment 2 ta2002 2018-04-25 06:23:00 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #1)
> What's your TERM variable set to?

Hope this is what you mean:

$ set | grep TERM
COLORTERM=truecolor
TERM=xterm-256color
Comment 3 Thomas Beierlein gentoo-dev 2018-04-25 15:22:58 UTC
(In reply to ta2002 from comment #2)
> (In reply to Lars Wendler (Polynomial-C) from comment #1)
> > What's your TERM variable set to?
> 
> Hope this is what you mean:
> 
> $ set | grep TERM
> COLORTERM=truecolor
> TERM=xterm-256color

Yep. That is what we were looking for. Thanks.
Comment 4 Thomas Beierlein gentoo-dev 2018-05-01 09:05:38 UTC
(In reply to Thomas Beierlein from comment #3)
> (In reply to ta2002 from comment #2)
> > (In reply to Lars Wendler (Polynomial-C) from comment #1)
> > > What's your TERM variable set to?
> > 
> > Hope this is what you mean:
> > 
> > $ set | grep TERM
> > COLORTERM=truecolor
> > TERM=xterm-256color
> 
> Yep. That is what we were looking for. Thanks.

As others have success with just TERM=xterm-color can you please try it out and report back. Thanks.
Comment 5 ta2002 2018-05-05 11:57:41 UTC
(In reply to Thomas Beierlein from comment #4)
> As others have success with just TERM=xterm-color can you please try it out
> and report back. Thanks.

By golly, that works. :) Thank you very much (I use a lot of apps that this will help with).

One question - how do I set that systemwide?

I did "# grep -r xterm-256color /etc/" and got nothing but:

Binary file /etc/terminfo/x/xterm-256color matches

There must be some way to make xterm-color the default.
Comment 6 ta2002 2018-05-05 12:49:23 UTC
(In reply to ta2002 from comment #5)
> (In reply to Thomas Beierlein from comment #4)
> > As others have success with just TERM=xterm-color can you please try it out
> > and report back. Thanks.
> 
> By golly, that works. :) Thank you very much (I use a lot of apps that this
> will help with).

I take the back. The display is perfect, but the function keys (ie. F2 to save changes) no longer work. That is, of course, completely unusable.
Comment 7 ta2002 2018-05-08 02:25:31 UTC
(In reply to Thomas Beierlein from comment #4)
> As others have success with just TERM=xterm-color can you please try it out
> and report back. Thanks.

Same problem in programs such as "less" (with TERM=xterm-color). The home and end keys no longer go to the top and bottom of the file, for example.
Comment 8 Pacho Ramos gentoo-dev 2018-05-23 18:26:20 UTC

*** This bug has been marked as a duplicate of bug 648338 ***