From: | "Trewern, Ben" <Ben(dot)Trewern(at)mowlem(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | RE: terminal psql: wrong console keystrokes |
Date: | 2001-02-20 15:07:07 |
Message-ID: | 996802F75C3CD411B424001083FA445B059546@CET_PONXX_FP001 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
There are updated RPMs for mandrake which include readline support. I
installed them and fixed the problems that you are having :-)
Try to find them on one of the ftp mirrors.
Regards
Ben
> -----Original Message-----
> From: Nico [mailto:nicod(at)tiscalinet(dot)it]
> Sent: 20 February 2001 14:03
> To: pgsql-interfaces(at)postgresql(dot)org; Alessio Bragadini
> Cc: pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] terminal psql: wrong console keystrokes
>
>
> Nope. :(
> I'm using Xfree 4.0.1, and I tried to change it into Xfree 3.3.6.
> Under both servers I'm having troubles with keystrokes.
> Please note that with the konsole the keys are correctly interpreted,
> e.g. if I push Up, konsole bash recalls previous commands.
> Moreover, the interactive terminal VIM interpretes correctly
> the keystrokes.
>
> Under psql things are so strange.
> I don't understand if it's psql that its misinterpreting
> keystrokes (a wrong
> internal setting, which?), or it's something else?
>
> instead of Up (for scrolling in the internel buffer) it
> appears ^[[A
> Down ^[[B
> Right ^[[C
> Left ^[[D
> Back_del (ok)
> Forward_del ^[[3~
> Tab (moves the cursor but does not complete the sql command)
> Esc ^[
>
> What internal settings make the psql interpete the
> keystrokes, and how to
> toggle them?
>
> (Mandrake 7.2, AMD Athlon, postgres ver.7.0.2)
>
>
>
> On 20 febbraio 2001, Alessio Bragadini wrote:
> > Nico wrote:
> > > Through Konsole, the Up, Down, Left, Right keys work properly, but
> > > through psql the keystrokes seem to be wrong:
> > > Linux console, xterm, vt100, vt420pc
> >
> > I've noticed differences between
> > Setting->Keyboard->xterm (XFree 3) and
> > Setting->Keyboard->xterm (XFree 4)
> >
> > Does it work?
>
From | Date | Subject | |
---|---|---|---|
Next Message | Thierry Besancon | 2001-02-20 15:08:55 | Re: binding postmaster to *one* virtual IP address |
Previous Message | gianpaolo racca | 2001-02-20 14:54:56 | Re: binding postmaster to *one* virtual IP address |