very underrated. I've used this trick before to mock serial ports on some Linux-running industrial devices so I could debug them.
So if you're commonly doing a socat process like: socat -x OPEN:/dev/ttyS0,b115200,echo=0,icanon=0 PTY,link=/dev/ttyO0,rawer 2> socat_log.log
then it may be of interest to you.