Bug 15181 - byobu causes error in terminal
Summary: byobu causes error in terminal
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Jani Välimaa
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-01 23:01 CET by Marc Lattemann
Modified: 2015-02-22 17:06 CET (History)
2 users (show)

See Also:
Source RPM: byobu-5.86-3.mga5.src.rpm
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.