INF: Invoking an Editor from ISQLID: Q36929
|
The following is an explanation of how to envoke an editor from within ISQL.
Before running ISQL, the EDITOR environment parameter must be set to
the name of the editor's executable file and the executable file must
be available on the path. Be sure that environment parameters for the
editor (such as TMP or INIT) are also set. Once inside ISQL, use the
"ed" command to invoke the editor.
ISQL writes the contents of its input buffer to a temporary file and
spawns the specified editor to edit that temporary file. When the
editor terminates, ISQL reads the temporary file back into its input
buffer.
The default editor is EDLIN, which will not run in protected mode. If
the specified editor cannot be spawned, ISQL will produce the
following message
DB-Library: spawnlp failed in dbedit(xxx):n
2 Not Found
8 Not 'EXE' format
12 Not enough memory
Unknown error from xxx:n
Additional query words: ISQL
Keywords : kbtool SSrvISQL
Version : 4.20
Platform : OS/2
Issue type :
Last Reviewed: March 6, 1999