Added "tai" variable to units display, fixed lurking bug in ntpmon.

Gary E. Miller gem at rellim.com
Wed Apr 12 01:17:27 UTC 2017


Yo Ian!

> Subject: [Git][NTPsec/ntpsec][master] Added "tai" variable to units
> display, fixed lurking bug in ntpmon.
> 
> Note that tai has not been properly tested as I have never seen it show
> up on my system in the first place. However, it uses the same system as
> all the other variables that display units.

I can not test this as ntpmon now crashes before i can get to the ntpmon
screen with tai on it.

Easy way to crash:

# ntpmon -u
(press 'd' key)
(press [down arrow] key)

Boom:

#  ntpmon -u
Traceback (most recent call last):
  File "/usr/local/bin/ntpmon", line 309, in <module>
    stdscr.addstr(strconvert.encode('UTF-8'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xae in position 60: ordinal not in range(128)




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin



RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170411/343fa61b/attachment.html>
-------------- next part --------------
_______________________________________________
vc mailing list
vc at ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/vc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170411/343fa61b/attachment.bin>


More information about the devel mailing list