implement editor_read_s6, partial fix for #433