support for home, end, del keys on command line plus new emacs/vi mode equivlents