Subject Re: [firebird-support] isql-fb set editor
Author Leonardo M. Ramé
On 2013-02-15 18:20:25 +0100, Mark Rotteveel wrote:
> On 15-2-2013 13:24, Leonardo M. Ramé wrote:
> > Hi, I'm trying to define an editor (vim) to edit inside isql-fb's.
> > Currently it uses vi.
> >
> > How can I define it?.
>
> According to the Interbase 6.0 Operations Guide (available from
> http://www.firebirdsql.org/en/reference-manuals/ )
>
> "On UNIX, EDIT calls the text editor specified by either the VISUAL
> environment variable or EDITOR, in that order. If neither variable is
> defined, then EDIT uses the vi editor."
>
> I am not sure if that is still valid for Firebird, but I assume it is.
>
> Mark
> --
> Mark Rotteveel

Thanks Mark, I've found VISUAL works on cshrc, but not EDITOR. Before
posting the question, I've tested the EDITOR envvar, and didn't work.

--
Leonardo M. Ramé
http://leonardorame.blogspot.com