Hey all,
I'm trying to communicate with a guest OS (Ubuntu) from a shell on the host. Ideally, I'd like just to get serial output from the guest on stdin, place input via stdout.
I'm trying to use the "named pipe" option (and no, it does not use Unix named pipes.. this misnomer REALLY NEEDS to be cleared up) with the following config:
serial0.present = "TRUE"
serial0.fileType = "pipe"
serial0.filename = "/tmp/serial0"
serial0.tryNoRxLoss = "FALSE"
serial0.pipe.endPoint = "client"
serial0.startConnected = "TRUE"
and I'd like to use socat ("socket cat") to do this. (socat is available via MacPorts, see other discussions for a URL.) I'll admit to just having discovered the joys of socat.
How can I set this up? If I type "foo" at the shell, can I get it to appear in a minicom session on the guest, and vice versa?