You can make your own ed command like this
#include "slick.sh"
#pragma option(strictsemicolons,on)
#pragma option(strict,on)
#pragma option(autodecl,off)
#pragma option(strictparens,on)
_str _retrieve;
_command void ed() name_info(',')
{
_str line;
_str msg = '';
_str arg_type;
if (!_no_child_windows()) {
_retrieve = false;
msg = _mdi.p_child.p_buf_name;
//msg = strip_filename(_mdi.p_child.p_buf_name, 'N');
arg_type = '-FILE';
} else {
_retrieve = true;
arg_type = '-.Ed';
}
typeless status=get_string(line,'Ed : ',arg_type, msg);
if (status == 0) {
edit(maybe_quote_filename(line));
}
}
Graeme