Artificial intelligent assistant

How to run mutt via ssh without going through an interactive shell Mutt depends on curses according to this here, my discussion with Michael: > @hhh: ssh hhh@server.com mutt <\--- what is wrong here? trying to run mutt there... > @MichaelMrozek: mutt uses curses, which depends on a lot of terminal manipulation; I imagine it doesn't like being run within ssh like that The manual has the entry: ssh [user@]hostname -- [command] How can I run `mutt` running locally from outside the server without needing to `ssh` to it and run `mutt` directly?

From `man 1 ssh`


-t Force pseudo-tty allocation. This can be used to execute arbitrary
screen-based programs on a remote machine, which can be very useful,
e.g. when implementing menu services. Multiple -t options force tty
allocation, even if ssh has no local tty.


Now `mutt` has a tty to display it's menus on. (You would use `-tt` if connecting to `mutt` remotely via a script from `cron`, for example.)

`ssh -t hhh@server.com mutt`

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy d54272a6fbbefecfabe59ca88cc1d0a1