Обсуждение: psql doesn't recognize some keys
Hi, I've got a problem with psql on my home box: it doesn't recognize the arrow keys nor the backspace and probably other keys as well. I've compiled it from the sources, as I did on another server, where it works correctly. The termcaps should be the same on both the machines, so I'm a bit clueless now (the only difference is that the working one is using Mandrake 7.0, while my home box has 7.2) Is there anything I could check or any switch to set? -- Simone Tellini <tellini@areabusiness.it>
Simone Tellini wrote: > I've got a problem with psql on my home box: it doesn't recognize the > arrow keys nor the backspace and probably other keys as well. It was either libreadline or libhistory or both. Dave _ _ _(_)(_)_ David Wetzel, Turbocat's Development, (_) __ (_) Buchhorster Strasse 23, D-16567 Muehlenbeck/Berlin, FRG, _/ \_ Fax +49 33056 82835 Mail dave@turbocat.de (______) http://www.turbocat.de/ DEVELOPMENT * CONSULTING * ADMINISTRATION
Simone Tellini <tellini@areabusiness.it> writes: > I've got a problem with psql on my home box: it doesn't recognize the > arrow keys nor the backspace and probably other keys as well. Install libreadline (headers too; you will need the devel RPM), reconfigure, rebuild psql. regards, tom lane
Simone Tellini wrote: > Hi, > > I've got a problem with psql on my home box: it doesn't recognize the > arrow keys nor the backspace and probably other keys as well. > > I've compiled it from the sources, as I did on another server, where it > works correctly. The termcaps should be the same on both the machines, > so I'm a bit clueless now (the only difference is that the working one > is using Mandrake 7.0, while my home box has 7.2) > > Is there anything I could check or any switch to set? > this is an issue I've also experienced with Mandrake 7.2, but at some page at postgre's website, this was listed as a known error. Solution is to run 7.0.3, and it's easy to migrate. Björn