Re: psql: recall previous command?
Alvaro Herrera <alvherre@dcc.uchile.cl>
From: Alvaro Herrera <alvherre@dcc.uchile.cl>
To: Neil Conway <neilc@samurai.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2005-02-22T04:48:22Z
Lists: pgsql-hackers
On Tue, Feb 22, 2005 at 03:26:52PM +1100, Neil Conway wrote: > Is there a way to recall the previous command in psql? Obviously, "up > arrow" or Ctrl-P using readline and the default readline bindings is > close, but it recalls the previous _line_ of input. That is not at all > the same thing in the case of a multiple line command, for example. Something else to be considered about readline behavior: prepending a # on M-# is useless. -- in that context would be much better, or /* if in a multiline command. (Just something I have had in my to-do list for a while ...) -- Alvaro Herrera (<alvherre[@]dcc.uchile.cl>) "La felicidad no es mañana. La felicidad es ahora"