New ntpq peers chops refclocks to 6 characters

Hal Murray hmurray at megapathdsl.net
Mon Jun 27 10:24:02 UTC 2016


esr at thyrsus.com said:
> More suggestions like this, please.

bps may not be enough.  There is also the parity and stop bits, but I don't 
think they are fiddled much.

The HP driver uses one mode bit to switch from whatever the default is to a 
different baud rate and parity.  It may be simpler to use a device-type 
keyword rather than require the user to know about bps and such.

The NMEA driver uses a chunk of the mode field to select the type of sentence 
to use.  Something symbolic would be nicer.

The palisade driver has an option that selects from several modes.

There are probably others.

It's probably worth a pass through the code and/or documentation before you 
do anything.


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list