ntpq rv 0 is broken
Eric S. Raymond
esr at thyrsus.com
Wed Nov 30 22:44:29 UTC 2016
Hal Murray <hmurray at megapathdsl.net>:
> [murray at glypnod play]$ ntpq -c "rv 0"
> status=0115 leap_none, sync_pps, 1 event, clock_sync,
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> /bin/stty: when specifying an output style, modes may not be set
> version="ntpd 0.9.6-glypnod Nov 27 2016 23:56:22", processor="i686",
> system="Linux/4.8.8-200.fc24.i686", leap=00, stratum=1, precision=-21,
> rootdelay=0.0, rootdisp=1.27, refid=PPS,
> reftime=dbe948d0.61a17e2b 2016-11-30T04:47:12.381,
> clock=dbe948e2.ff8cad7a 2016-11-30T04:47:30.998, peer=35371, tc=6, mintc=0,
> offset=0.006283, frequency=9.869, sys_jitter=0.002798, clk_jitter=0.001,
> clk_wander=0.0, tai=36, leapsec=201701010000L, expire=201706280000L
> [murray at glypnod play]$
Ugh. I am not entirely surprised that the kluge in termsize() came unstuck.
I've pushed a different, and hopefully better, implementation.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
More information about the devel
mailing list