3 ms·
The description mentioned socat as a replacement. Does anyone know how? "man socat" examples only show using readline for sending TCP messages.
by blahgeek 3y ago
The description mentioned socat as a replacement. Does anyone know how? "man socat" examples only show using readline for sending TCP messages.
- Crestwave 3y agoSomething 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).