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

Поиск
Список
Период
Сортировка
От Brett W. McCoy
Тема Re: Re: No backspace key in the psql command-line tool?
Дата
Msg-id Pine.LNX.4.30.0104172140450.9319-100000@chapelperilous.net
обсуждение исходный текст
Ответ на Re: No backspace key in the psql command-line tool?  (Nils Zonneveld <nils@mbit.nl>)
Список 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


В списке pgsql-general по дате отправления:

Предыдущее
От: "mike"
Дата:
Сообщение: Re: No backspace key in the psql command-line tool?
Следующее
От: Joseph Shraibman
Дата:
Сообщение: Re: gzip and bzip2 (distributing postgresql)