Backspace works in some programs (eterm, xemacs, ...) but not in others
(psql).  When it works, it produces the behavior I expect as a user raised
on DOS/Windows.  When I say it doesn't works, I mean it displays ^H instead
of getting rid of the text just behind the cursor.  That's what happens with
the display, but psql seems to have a different interpretation of the
command I've entered...

So, I type
 SELECT SomeColumn FROM SomeTable WHEREE
oops, made a mistake.  So, I press backspace.
now I see:
 SELECT SomeColumn FROM SomeTable WHEREE^H
but if I continue to type, finishing the SQL statement, psql says
 ERROR: parser: parse error at or near ''
instead of returning the rows I asked for.

Some programs are interpreting my backspace as "erase the character just
behind the cursor" while others seem to be interpreting it as "on the
screen, show ^H inserted at the cursor but in memory replace the character
just behind the cursor with (a particular) something that is not nothing."

Any ideas?

If it matters, my setup is:
 Linux Mandrake 7.2
 with kernel 2.4.3
 accessed via VNC

If I SSH in with the proper TeraTerm config, psql does the right thing with
my backspaces.



Reply via email to