From: J G Miller on
On Thu, 17 Jun 2010 01:53:45 -0700, Todd wrote:
> So I have to retype everything I mess up, which is
> about two out of three command lines.

Because of the shell.

If it is Bourne shell then there is absolutely no command
line history with editing. If it is CSH then there is
command line editing but not of the type with which you
are familiar, eg !! to recall the last command, and
!N to recall command number N.
From: Todd on
On 06/17/2010 06:18 AM, J G Miller wrote:
> On Thu, 17 Jun 2010 01:53:45 -0700, Todd wrote:
>> So I have to retype everything I mess up, which is
>> about two out of three command lines.
>
> Because of the shell.
>
> If it is Bourne shell then there is absolutely no command
> line history with editing. If it is CSH then there is
> command line editing but not of the type with which you
> are familiar, eg !! to recall the last command, and
> !N to recall command number N.

It is some kind of "K" shell
From: J G Miller on
On Thu, 17 Jun 2010 06:29:35 -0700, Todd wrote:

> It is some kind of "K" shell

Presumably Korn shell. The default for Korn shell
is vi style editing, in which ESK K (if I recall
correctly) brings back the previous command.

See examples at

<http://sewww.epfl.CH/SIC/SE/servcentraux/kshell.html>

You could try doing a

set -o emacs

to see if it will switch to emacs command line editing and then
you will be able to use the more intuitive CTRL P (previous),
CTRL N (next), CTRL A (beginning of line), CTRL E (end of line)
etc keystrokes.
From: Kevin D. Snodgrass on
Todd wrote:
> On 06/17/2010 06:18 AM, J G Miller wrote:
>
>> On Thu, 17 Jun 2010 01:53:45 -0700, Todd wrote:
>>
>>> So I have to retype everything I mess up, which is
>>> about two out of three command lines.
>>
>>
>> Because of the shell.
>>
>> If it is Bourne shell then there is absolutely no command
>> line history with editing. If it is CSH then there is
>> command line editing but not of the type with which you
>> are familiar, eg !! to recall the last command, and
>> !N to recall command number N.
>
>
> It is some kind of "K" shell

Some variant of the Korn shell (ksh)?

Check /bin/*sh, find any other shells? Try them. Maybe even check the
man page for each. If you find one you like change /etc/passwd to load
that shell at next login for whatever username you use.