Re: psql: recall previous command? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: psql: recall previous command?
Date
Msg-id 20050222044822.GC20393@dcc.uchile.cl
Whole thread Raw
In response to psql: recall previous command?  (Neil Conway <neilc@samurai.com>)
List 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"


pgsql-hackers by date:

Previous
From: lsunley@mb.sympatico.ca
Date:
Subject: Re: psql: recall previous command?
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Fwd: Apple Darwin disabled fsync?