Unfortunately not.  A simple grep shows 35+ places, not all of which are
host names.  Best answer is to push it into a #define constant or three
after 3.0 is released.

If you want to take a stab at the work, go for it.

-----Burton

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark
> Gibbons
> Sent: Friday, February 20, 2004 2:55 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Ntop] Size Of hosts column in 3pre1
>
>
> Both hostsinfo or sortdataip.
>
> I would say that 250 is generally a good default compromise.
>
> However, we have a lot of "deeply qualified names" (about 40) for
> routers such as
>
> "mspd-54-glion-wap-br-12-omni-a.morespeed.net"  The wrapping of
> all these means that the report becomes very long.  This causes
> us a problem.  We prefer wide rather than long :-)
>
> So is there some way we can specify the size as a value somewhere
> to override the default 250?
>
> Mark
>
>
>
> -----Original Message-----
> From: Burton M. Strauss III [mailto:[EMAIL PROTECTED]
> Sent: 20 February 2004 20:36
> To: [EMAIL PROTECTED]
> Subject: RE: [Ntop] Size Of hosts column in 3pre1
>
>
> Which report?  hostsInfo.html???
>
> In many of the reports, columns are limited to that size.
>
> That particular report - hostsInfo.html - is especially ugly, since the
> whole report is now about 1200 wide.
>
> There is a method to the madness - using a fixed size means that
> the columns
> (and thus the output) always look about the same...  Otherwise a
> single long
> name makes the whole report look terrible.  And it would jump around each
> time data changed.  250 is a compromise between wasting space if
> you mostly
> have 'normal' names (www.abc.com) and not having enough for
> deeply qualified
> names.
>
> The problem is that there's no easy way to tell html to make the column at
> least this wide, growable to this and then wrap after that.  It's either a
> fixed size or at % or you leave it up to the browser.
>
> Yeah you can do stuff like this with CSS2, but not all (most) of the
> browsers used don't support that in a consistent way.
>
>
> -----Burton
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark
> > Gibbons
> > Sent: Friday, February 20, 2004 2:17 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Ntop] Size Of hosts column in 3pre1
> >
> >
> > Hi
> >
> > <TH  ALIGN=LEFT NOWRAP WIDTH=250>
> >
> > The hosts column in 3pre1 is width limited to 250 so even if
> > NOWRAP is specified (which it is) long names still wrap.  Is
> > there an option not to put in the width attribute to avoid this
> > wrapping  happening?
> >
> > Mark
> >
> >
> > _______________________________________________
> > Ntop mailing list
> > [EMAIL PROTECTED]
> > http://listgateway.unipi.it/mailman/listinfo/ntop
> >
>
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listgateway.unipi.it/mailman/listinfo/ntop
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to