Although I am new to Ubuntu/bash/Linux I have been using UNIX for about 20 years; the first seven with csh and the rest with ksh.
I have been trying to edit some of the commands in my history but can only seem to get the arrow, backspace and delete keys to work.
I am used to vi-type commands from my ksh days but can't seem to get it to function.
I've tried setting environment variables, EDITOR and FCEDIT, to different combinations of /usr/bin/vi and /bin/ed but can't seem to get into the command mode to move around the text of the recalled command.
I can get the command to come up in a vi session for editing and the command mode works well there.
But I wanted to do this on a single-line mode (just like I used to get when typing ESC-K in the ksh).
I am using Ubuntu's gnome terminal with bash, of course.
What am I missing?