No backspace key in the psql command-line tool?
Stupid question.
How do you get the backspace key to work in the psql command-line
tool? Just echos ^H's. I'm running on Mandrake Linux 7.2, and it works
from the system console, but not from a konsole X terminal (or from a
vt220-based telnet session from Windows - using CRT's telnet).
Curses programs don't seem to have this problem, but then again, it
doesn't look like psql uses curses anyway. But I have seen a similar
problem when I telnet from a konsole window on my Linux box into an AIX
box.
Thanks,
Rob
Rob Yampolsky wrote:
Stupid question.
How do you get the backspace key to work in the psql command-line
tool? Just echos ^H's. I'm running on Mandrake Linux 7.2, and it works
from the system console, but not from a konsole X terminal (or from a
vt220-based telnet session from Windows - using CRT's telnet).Curses programs don't seem to have this problem, but then again, it
doesn't look like psql uses curses anyway. But I have seen a similar
problem when I telnet from a konsole window on my Linux box into an AIX
box.
Try another telnet client.
Nils
On Tue, 17 Apr 2001, Nils Zonneveld wrote:
Stupid question.
How do you get the backspace key to work in the psql command-line
tool? Just echos ^H's. I'm running on Mandrake Linux 7.2, and it works
from the system console, but not from a konsole X terminal (or from a
vt220-based telnet session from Windows - using CRT's telnet).Curses programs don't seem to have this problem, but then again, it
doesn't look like psql uses curses anyway. But I have seen a similar
problem when I telnet from a konsole window on my Linux box into an AIX
box.Try another telnet client.
A better answer:
In the shell, type
stty erase ^H
It will make sure ^H actually is the erase (backspace) character.
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
I don't have any solution but I certainly admire the problem.
-- Ashleigh Brilliant
depending on your client, you should just be able to turn naclspace into a
delete and a delte into a backspace.
in SecureCRT its found in your connection profile under your keyboard
settings
you could also try running VT100 as well
Mike
----- Original Message -----
From: "Rob Yampolsky" <ryampols@cjds.com>
To: <pgsql-general@postgresql.org>
Sent: Tuesday, April 17, 2001 1:49 PM
Subject: No backspace key in the psql command-line tool?
Show quoted text
Stupid question.
How do you get the backspace key to work in the psql command-line
tool? Just echos ^H's. I'm running on Mandrake Linux 7.2, and it works
from the system console, but not from a konsole X terminal (or from a
vt220-based telnet session from Windows - using CRT's telnet).Curses programs don't seem to have this problem, but then again, it
doesn't look like psql uses curses anyway. But I have seen a similar
problem when I telnet from a konsole window on my Linux box into an AIX
box.Thanks,
Rob---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
Thanks. I told you it was stupid. But not as stupid as it sounds. I had tried
stty -a to find out what the erase character was (reported ^?), and had tried
typing that as my backspace, but it didn't work.
Oh well, stty erase ^H does work.
Thanks again,
Rob
"Brett W. McCoy" wrote:
Show quoted text
On Tue, 17 Apr 2001, Nils Zonneveld wrote:
Stupid question.
How do you get the backspace key to work in the psql command-line
tool? Just echos ^H's. I'm running on Mandrake Linux 7.2, and it works
from the system console, but not from a konsole X terminal (or from a
vt220-based telnet session from Windows - using CRT's telnet).Curses programs don't seem to have this problem, but then again, it
doesn't look like psql uses curses anyway. But I have seen a similar
problem when I telnet from a konsole window on my Linux box into an AIX
box.Try another telnet client.
A better answer:
In the shell, type
stty erase ^H
It will make sure ^H actually is the erase (backspace) character.
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
I don't have any solution but I certainly admire the problem.
-- Ashleigh Brilliant---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?