Working backslash commands

* Import the `os` module so we can run shell commands.
* Don't use `rawinput` in `\e` mode.