stdedit fixes (all commands should work, though they're sometimes somewhat more restricted and have different semantics)