Thu 17 Jan 2013 @ 07:34 PM


PuTTY with FreeBSD

I keep rediscovering these steps to make PuTTY work well with FreeBSD (all the cursor keys and such properly defined) so I'm documenting them here. If they help you, so much the better.

Step 1: Edit /usr/share/misc/termcap on the FreeBSD system and add the following lines:


Note: The second line is indented with a tab character.

Step 2: Recompile the /usr/share/misc/termcap file as follows:

cap_mkdb /usr/share/misc/termcap

Note: This updates the /usr/share/misc/termcap.db file to include the earlier modifications to /usr/share/misc/termcap.

Step 3: Change PuTTY's "Terminal-type string" to the following:


Note: The "Terminal-type string" is found in PuTTY Configuration category Connection, Data.

Go Top