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
Zesstra715ec202025-07-09 22:18:31 +02006DESCRIPTION
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.
MG Mud User88f12472016-06-24 23:31:02 +020015
Zesstra715ec202025-07-09 22:18:31 +020016 The editor ed is almost ed(1) compatible.
MG Mud User88f12472016-06-24 23:31:02 +020017
Zesstra715ec202025-07-09 22:18:31 +020018SEE ALSO
MG Mud User88f12472016-06-24 23:31:02 +020019 enable_commands(E), query_editing(E), ed0(LPC)