Byobu function keys do not work in PuTTY

Problem

You are running Byobu on a remote computer to which you have connected using PuTTY. Everything works fine, except that the Byobu commands that use function keys (like F2, F3 and F6 for example) do not work. This problem is caused because the sequences sent by PuTTY for function key press does not match what Byobu expects.Β This can be fixed easily in PuTTY.

Clean solution

Load the session you use to connect to the remote computer. Go to Connection β†’ Data and set the Terminal-type string to putty-256color. Save the session.

Dirtier solution

Load the session. Go to Terminal β†’ Keyboard and choose Xterm R6 in the Function keys and keypad section. Save the session.

Tried with: PuTTY 0.62 and Byobu 5.17

Advertisements

6 thoughts on “Byobu function keys do not work in PuTTY

  1. Can confirm “putty-256color” does nothing for me. So does Xterm R6.
    Putty 0.60 and byobu 5.87-1…

    Like

  2. i tried both of these, which allow for f-keys to function alone, but as part of key combo they continue to echo “~”

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.