socat and rich terminals (with Ctrl+C/Ctrl+Z/Ctrl+D propogation)
- by Vi
socat - exec:'bash -li',pty,stderr,ctty - bash: no job control in this shell
What options should I use to get fully fledged shell as I get with ssh/sshd?
I want be able to connect the shell to everything socat can handle (socks5, udp, openssl), but also to have a nice shell which correctly interprets all keys, various Ctrl+C/Ctrl+Z and jobs control.
Update: Found "setsid" socat option. It fixes "no job control". Now trying to fix Ctrl+D.