Subject Re: [firebird-support] isql-fb set editor
Author Mark Rotteveel
On 15-2-2013 18:20, 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.

And if like me you are curious about these environment variables:

http://unix.stackexchange.com/questions/4859/visual-vs-editor-whats-the-difference
http://en.wikibooks.org/wiki/Guide_to_Unix/Environment_Variables#VISUAL
http://en.wikibooks.org/wiki/Guide_to_Unix/Environment_Variables#EDITOR

Mark
--
Mark Rotteveel