Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

byobu Hard Status line scrolls the screen when updating

Wanting to give byobu a looksee as a screen 'update' of sorts. I start it with

byobu

and instead of the status line sitting at the bottom of the screen, everytime it updates it pushes to an additional line underneath the previous one. before long, the screen (putty) is filled with status line echoes.

How do I stop this?

running puttytray v0.62 on win7 to ubuntu 12.04

like image 886
monsto Avatar asked May 24 '12 04:05

monsto


3 Answers

Putty defaults to a translation encoding of ISO-8859-1 where as Ubuntu sends out UTF-8 encoding.

Click on your server in the Load, save or delete a stored session window. Then click on the Load button.

Next, in the Category panel on the left click on: Window -> Translation

Change the drop down under "Received data assumed to be in which character set" to UTF-8.

Once you do that then click on Session in the top of the Category panel and then click on save in the stored sessions area.

I am not saying this is the correct fix. I am just telling you all what fixed it for me without having to do any crazy stuff to the server.

Cheers!

like image 150
phanku Avatar answered Oct 22 '22 16:10

phanku


This seems to be an issue with the default byobu backend. By default, byobu in Ubuntu 12.04 uses tmux as the backend. You can change this by running byobu-select-backend and selecting screen (option 2).

While not a solution as to why tmux is doing this on PuTTY sessions, it fixes your issue for the screen scrolling.

like image 34
Brian Turchyn Avatar answered Oct 22 '22 17:10

Brian Turchyn


The UTF-8 setting works wonders. I usually set this together with Terminal => Keyboard => "Function keys and kepad" from "ESC[n~" to "Xterm R6" and save it as default configuration in Putty. That last option enables the use of the F key functions in Byobu. It's pretty much useless without.

like image 9
Peter Avatar answered Oct 22 '22 17:10

Peter