[FOSS-GPS] Can rtkrcv create a pseudo-terminal?
Fred Labrosse
ffl at aber.ac.uk
Fri Nov 6 10:17:46 PST 2015
Hello Anthony,
I'll have a look but I think it does the same in terms of serial ports, as
in only deals with real ones. I did a grep on all the sources and did not
find any of the function calls I would have expected if pseudo ttys were
created anywhere.
Looking more at the code, it would actually not be difficult to implement
that (on the Unix side anyway). The open serial functions would be a bit
different, but the rest would be the same.
I'll give it a go.
Fred
On Friday 06 November 2015 17:57:28 arwooldridge wrote:
> Hi,
> Have you looked at strsvr or its console version str2str ?
> This may give you the function you need.
>
> Regards
> Anthony
>
> On 06/11/2015 16:56, Fred Labrosse wrote:
> > All,
> >
> > SO far I have used socat to create a pair of linked pseudo terminals,
> > one used by rtkrcv to output the solution into, the other to be used
> > by my favourite NMEA consumers as a "normal" serial device.
> >
> > For a number of reasons I would like to move away from socat, so I was
> > reading about /dev/ptmx. And this made me think that actually this is
> > something that rtkrcv should handle, as the holder of the master of the
> > created slave pseudo terminal.
> >
> > Any one knows if rtkrcv can do that? If not, if I modify rtkrcv so
> > that it does it, would the authors be interested in the code to
> > include that in the package? I can't do it for windows though.
> >
> > Cheers,
> >
> > Fred
> >
> > _______________________________________________
> > This message is sent to you from FOSS-GPS at lists.osgeo.org mailing list.
> > Visit http://lists.osgeo.org/mailman/listinfo/foss-gps to manage your
> > subscription For more information, check
> > http://wiki.osgeo.org/wiki/FOSS-GPS
> _______________________________________________
> This message is sent to you from FOSS-GPS at lists.osgeo.org mailing list.
> Visit http://lists.osgeo.org/mailman/listinfo/foss-gps to manage your
> subscription For more information, check
> http://wiki.osgeo.org/wiki/FOSS-GPS
More information about the FOSS-GPS
mailing list