Ian Barwick <barwick@gmx.net> writes:
> Peter Eisentraut writes:
> > Propose a macro processor.
>
> Why? What do you envisage? What advantages would this, and presumably the fair
> amount of additional and / or re-coding associated, have for me (or anyone
> else) compared to a more specific solution as suggested below?
If you've compiled psql with readline you could just use readline's
macro system. With e.g.
$if Psql
"\M-g": "\\x\\g\\x"
$endif
in your .inputrc, Meta-g would expand to \x\g\x
Bernhard
--
Intevation GmbH http://intevation.de/
Sketch http://sketch.sourceforge.net/
MapIt! http://www.mapit.de/