|
LPC Library Functions: ed_start |
|
NAMEed_start() - start an ed session
SYNOPSISstring ed_start(string file | void, int restricted | void)
DESCRIPTIONThe driver's internal editor is started, optionally loading 'file' for editing. The resulting output is returned. The editor session remains active, and further calls to ed_cmd() can be used to send commands to it. Unlike the older ed() efun, ed_start() does not provide a user interface; this is strictly the mudlib's responsibility. The optional 'restricted' flag limits the editor's capabilities, and prevents the following operations:
Only one ed session can be active per object at a time. This efun is available only if the driver flag OLD_ED is not defined. SEE ALSO |
|
Page design by Frank Jacquette & Tim Hollebeek Copyright (C) 1998 Tim Hollebeek & Frank Jacquette |
|