add a simple history mechanism
map home and end keys
disable insert key

The insert key can put the buffer in insert mode and allow the user to
mess it up. While possible to toggle the modifiable option as needed,
it's probably nicer just to disable the key.