Bug 15181

Summary: byobu causes error in terminal
Product: Mageia Reporter: Marc Lattemann <marc.lattemann>
Component: RPM PackagesAssignee: Jani Välimaa <jani.valimaa>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: mageia, pterjan
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: byobu-5.86-3.mga5.src.rpm CVE:
Status comment:

Description Marc Lattemann 2015-02-01 23:01:27 CET
starting byobu result in:

[media@MediaCenter ~]$ byobu
open terminal failed: missing or unsuitable terminal: xterm-256color

Also other terminal programs are affected. E.g.:
[media@MediaCenter ~]$ less test.txt 
tput: unknown terminal "xterm-256color"
WARNING: terminal is not fully functional
test.txt  (press RETURN)

it seems it is due to an entry in .bashrc:
[ -r /home/media/.byobu/prompt ] && . /home/media/.byobu/prompt   #byobu-prompt#

this line will be added when installing byobu? After commenting the line out the program starts and also the less program does not show the error anymore. 

The same issue is true for MGA4.

Reproducible: 

Steps to Reproduce:
David Walser 2015-02-02 15:20:34 CET

CC: (none) => mageia
Assignee: bugsquad => jani.valimaa

Comment 1 Marc Lattemann 2015-02-02 19:55:56 CET
According to dev-ml (and self-tested):'export TERM=xterm-color' fixed issue, also the installation of ncurses-extraterms.
Comment 2 Pascal Terjan 2015-02-03 10:05:55 CET
I guess /home/media/.byobu/prompt contains something setting TERM to xterm-256color for which you have no description (and ncurses-extraterms installs the description for it).

CC: (none) => pterjan

Comment 3 Jani Välimaa 2015-02-22 17:06:32 CET
Added requires for ncurses-extraterms to -4.mga5.

Status: NEW => RESOLVED
Resolution: (none) => FIXED