[Nut-upsdev] zero-prepended values - why oh why?

Niklas Edmundsson nikke at acc.umu.se
Mon Feb 27 21:39:12 UTC 2006


On Mon, 27 Feb 2006, Arnaud Quette wrote:

> I should have cleaned it for long... now it's done.

Wee! :)

> I've done mge-utalk / mge-shut, and snmp-ups. For the latter, we'll
> however have to rework the *mib files, and the driver core à la
> newhidups.

Yup. But that's a separate issue :)

> For the others, can you contact the authors to check if it's needed.
> If not, then the drivers will have to be cleaned.

I think I'll wait a while and see which drivers gets fixed by the 
active developers first.

Given this experience, I think it would be a good thing to document 
suggested format strings in docs/new-names.txt. Something like %.1f 
for measurements. The question is how to handle stuff with only 
integer output, do we want those to stick to integers or do we want 
them to produce similarly formatted output? I tend to prefer the 
latter, consistent output is a good thing. However, since my taste 
isn't the Universal Truth<tm> I expect a lengthy thread debating this 
:)


/Nikke
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     nikke at acc.umu.se
---------------------------------------------------------------------------
  "Artoo, I have a bad feeling about this." - C-3PO
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



More information about the Nut-upsdev mailing list