My new server install looks odd:
is there anyway to resize it to use the whole terminal window?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
This means that there is another ssh or terminal client, other than yourself, connected to this session, which has a smaller window size than yours.
You can detach all clients but yourself, using this Byobu hotkey:
Or you can run the script
Full disclosure: I am the author and maintainer of Byobu.
An alternative to
Prefix is your byobu escape command (typically
Alt-F6 did not work for me. But I found that I was using tmux. To detach the other window use a combination of list-clients and detach-client:
% tmux list-clients /dev/pts/1: 0 [64x160 xterm] (utf8) /dev/pts/39: 0 [39x143 xterm] (utf8) % tmux detach-client -t /dev/pts/39
Since the 64x160 is larger, I figured that was my window while the other client was the smaller one.
Fantastic script! On OSX using byobu installed with Homebrew, it's (currently)
presumably you'd modify the version number, but that's to give you an idea of how to find it
brew info byobu will tell you where byobu stores its lib etc files.
then just append the
lib/byobu/include/tmux-detach-all-but-current-client to whatever that location is (in my case,
I tried both the script (
alt-F6. None of them worked. The terminal only went fullscreen for a couple of seconds, then it went back to small size (like in the image in the original post).
I also checked users with
w, it was only me logged in.
What ended up working for me, was simply disabling Byobu and enabling Byobu again, with a logout/in in between. Like so:
Screen is back to normal.