Execute correct `clear` and `man` behavior in (e)shell

In `shell`, this is made possible by checking the input and then executing the appropriate behavior. For `eshell`, we only need to define `clear`.