ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示
/doc/efuns/ed_start
eeeedddd____ssssttttaaaarrrrtttt((((3333)))) MMMMuuuuddddOOOOSSSS ((((22222222 JJJJaaaannnn 1111999999995555)))) eeeedddd____ssssttttaaaarrrrtttt((((3333))))
NNNNAAAAMMMMEEEE
ed_start() - start an ed session
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
string ed_start(string file | void, int restricted | void)
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
This efun is available only if __OLD_ED__ is not defined.
The 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.
If restricted is 1, the commands that change which file is
being edited will be disabled.
Only one ed session can be active per object at a time.
Page 1 (printed 3/16/95)