Re: Re: No backspace key in the psql command-line tool?

From: "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net>
To: Nils Zonneveld <nils(at)mbit(dot)nl>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Re: No backspace key in the psql command-line tool?
Date: 2001-04-18 01:43:14
Message-ID: Pine.LNX.4.30.0104172140450.9319-100000@chapelperilous.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joseph Shraibman 2001-04-18 02:50:35 Re: gzip and bzip2 (distributing postgresql)
Previous Message Roberto Mello 2001-04-18 01:42:02 Re: [SQL] Where are the 7.1 RPM's?