mark@mark.mielke.cc wrote:
>
> You are saying that typing in 50 commands by hand, adjusting it each time,
> is efficient?
>
> I've done what you are suggesting - I think - I do it with a file. I
> type "psql -f <filename>". I run it as many times as required.
>
> Other times, I keep the 50 command lines in an XEmacs session, and I
> cut + paste whole paragraphs from XEmacs to psql.
>
> By doing this - my work is saved.
>
> psql is not an editor session. It will never be an editor session. It
> will always be a command line. Trying to treat it as an editor session
> sounds like torture. Augh. :-)
>
FWIW I tend to use a similar method to this - 'cept the editor is
usually vim instead of emacs...err..oh dear, emacs vs vi here we come...:-).
Cheers
Mark