I just switched one of my systems from Gentoo to Ubuntu. There is one difference between the two setups that is driving me mad, and I cannot figure out how to fix it. When I use the 'up arrow' to go to a previous command, the cursor is moved to the start of the line. In Gentoo the cursor would remain at the end of the line. I have been using this behavior for over 10 years, adapting to the new behavior will be a major pain. How does one configure this?
This happens in any terminal: urxvt, xterm, and the console before X starts. It happens in bash and zsh, and happens regardless of if I am using 'screen'. It seems to be a global setting.