Home and End keys in PUTTY
Summary
I use putty to connect to various Linux boxes. The home and end keys
didn't work on the command line. This is how to fix it.
Detail
Edit /root/.bashrc (or whereever the home directory is for the current user)
add export TERM=linux