int keditfile(
char *filename,
int spawn,
kvalist)
none
Also if the DISPLAY environment variable is set then the editor will be executed within an xterm. The xterm and editor will be started in background and keditfile will return immediately. If not then the editor will be executed locally and will not return until the process finishes executing.
Also, options can be specified to keditfile. The following are a list of options:
KEDITOR_GEOMETRY - the geometry of the editor KEDITOR_TITLE - the editor title KEDITOR_FOREGROUND - the editor foreground color KEDITOR_BACKGROUND - the editor background color KEDITOR_ICON - the editor icon file KEDITOR_PID - the pid of the editor KEDITOR_CHDIR - change to file's directory
none
none
$BOOTSTRAP/objects/library/kutils/src/file.c