[ntp:questions] your refclock driver via data over telnet question
Breck Beatie
bbeatie at symmetricom.com
Wed Apr 21 22:09:57 UTC 2010
Hi,
The question you asked there, "whether there is already the
functionality in Linux to throw the stdout of one program
into a device which can be seen by another program as a serial
port" seems to fit the pseudo tty device. Have you looked
in to pseudo ttys? Try a "man pty" and see if that looks like
it'd help.
Breck
-----Original Message-----
Date: Wed, 21 Apr 2010 13:06:51 -0700 (PDT)
From: Movis <ben at internetaddress.com>
To: questions at lists.ntp.org
Subject: Re: Reference Clock driver for getting time
via "date" command over telnet?
Message-ID:
<8be8fe3b-dc96-484f-b252-86cd4187ba8f at b33g2000yqc.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
unruh,
There appears to be a misunderstanding. Perhaps I could have worded my
question more specifically, and not written the title as such. The
issue is not one of security, and I did not state that it was. While
most people would not choose to do this, it is simply the case that I
have made the assessment that this solution would suit my needs and I
seek to implement it.
Also, I do not expect anyone to go to any considerable effort on my
behalf. I agree that would not benefit most users. I simply wonder
whether there is already the functionality in Linux to throw the
stdout of one program into a device which can be seen by another
program as a serial port. I am happy to devise a way making behave
like a clock .
That is all I'm looking for. If you have any suggestions please do
offer them.
Regards,
Movis
------------------------------
_______________________________________________
questions mailing list
questions at lists.ntp.org
http://lists.ntp.org/listinfo/questions
End of questions Digest, Vol 66, Issue 46
*****************************************
More information about the questions
mailing list