I am working on a Debian VM and have experienced a strange behaviour when using the arrow key to position the cursor to edit an earlier line in the command history.