Better handling of default TERM environment variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Confirmed
|
Low
|
Dustin Kirkland |
Bug Description
Since starting to use byobu, I've encountered two frustrating issues that have caused all kinds of headaches trying to sort out, both relating to the default value of TERM being set to "screen" inside of byobu. One is that all kinds of key bindings were not working inside of emacs. I ended up getting around this by putting in bindings for the escape codes for those key combinations, which is not so bad now that I know about it, but I still have to put in a new binding every now and then when setting one up.
The second is that without 256 color support, I was experiencing issues where some colors were being lost as black on black. I assumed this was a bug in the emacs package I was using, as did this person (https:/
I gather from the below config snippet from /usr/share/
# Cannot use:
# - screen-bce, screen-
# - screen-256color: vim broken without -bce
set -g default-terminal "screen"
Changed in byobu: | |
status: | Incomplete → Confirmed |
Thanks for the report.
Are you able to fix this by overriding in your ~/.byobu/.tmux.conf file?
If so, please paste the snippet you need, and I'll be happy to add it to the byobu manpage in the known issues section.