View Single Post
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#73
Originally Posted by tz1 View Post
The platform is very good out of the box, and only gets better because I can extend and enhance it easily - maybe not as easily as one or two clicks, but there is a lot of stuff not on my Macintosh powerbook because there is no way to get it to work (challenge - create a virtual serial port - something that Google Earth or other closed mapping program could recognize as a serial port for a GPS NMEA stream, but takes data from a TCP (or UDP) port. I have all the dev docs, yet I've not attempted it).
Well, I've no mac (/, depending), but I think ptys are your ticket here.
Do something like
Code:
nc -l -p port </dev/ptyp0 >/dev/ptyp0
And let GE go to /dev/ttyp0; change p0 to an available choice in [p-sP-S][a-z0-9] if needed. I got my info on pty specifics from pty(4)