[ntp:hackers] ntpq width output

Dan Mahoney dmahoney at isc.org
Thu Aug 14 07:43:34 UTC 2014



On Thu, 14 Aug 2014, Hal Murray wrote:

> 
> stenn at ntp.org said:
> > Dan Mahoney suggested we consider an option (-w/--wide) that would print out
> > the entire "remote" value, and if this caused the output to "spill over"
> > into adjacent columns, we just emit a newline and print out the remaining
> > columns properly indented on the next line: 
> 
> Seems like a good idea to me.
> 
> I'd also vote for -W or whatever to skip the newline.  The idea is to make it 
> easy to parse.

Assuming it resolves to a hostname and you print this value, it *could* 
be up to 255 chars long, according to RFC1035.

Just saying :)

I'm all for both options, depending on how one is parsing.

-Dan



More information about the hackers mailing list