[OZAPRS] Most convoluted HF gateway ever?

Steve stevez at tpg.com.au
Mon Oct 26 20:44:17 EST 2009


You're spot on regarding the power of having everything act as a file 
James!.
For the record, the command to create a couple of virtual serial ports, 
and connect them via virtual null-modem cable looks like :-
socat PTY,link=/tmp/ttyVS0,raw,echo=0 PTY,link=/tmp/ttyVS1,raw,echo=0

In the above example, two new psudo TTYs will be created - /tmp/ttyVS0, 
and /tmp/ttyVS1.
Anything that goes in one, pops out the other.

Steve (VK2ZSZ)



James Cameron wrote:
> On Mon, Oct 26, 2009 at 07:58:03PM +1100, Steve wrote:
>   
>> 3) Now for the thing that took the longest to work out. A virtual
>> "Null-Modem" cable between a Windows app (MixW), running under WINE,
>> and a native Linux app (Xastir). It took me a couple of days to work
>> it out, but in the end I must say that I love the socat command!
>>     
>
> Yes, it's neat.  Well done.  A use for socat that I hadn't come across
> yet!
>
> (Once everything on an operating system is a file, accessed the same
> basic way ... open, read, write, close ... stuff like this just works.)
>
>   



More information about the OZAPRS mailing list