8 ms·
Something along the lines of `socat readline exec:<cmd>` should work, e.g., `socat readline exec:cat`. I tend to prefer using rlwrap, though; socat has a tende
by Crestwave 3y ago
Something along the lines of `socat readline exec:<cmd>` should work, e.g., `socat readline exec:cat`.
I tend to prefer using rlwrap, though; socat has a tendency to mess up your terminal if you SIGINT it. rlwrap does its job extremely well, except for the parenthesis matching flash (which I find annoying, but can be disabled with a config option).