blob: 8a8dc3316dd118ec07e0ff481c38a9af28f67bf6 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
2 void ed()
3 void ed(string file)
4 void ed(string file, string func)
5
6DESCRIPTION
7 Calling without arguments will start the editor ed with the
8 name of the error file, that was returned by
9 master->valid_read(0, geteuid(this_player()), "ed_start",
10 this_player()), usually something like ~/.err. If that file is
11 empty, ed will immediatly exit again.
12 Calling ed() with argument file will start the editor on the
13 file. If the optional argument func is given, this function
14 will be called after exiting the editor.
15
16 The editor ed is almost ed(1) compatible.
17
18SEE ALSO
19 enable_commands(E), query_editing(E), ed0(LPC)