Amanda-Users

Re: multi-line columnspec?

2004-11-19 23:04:44
Subject: Re: multi-line columnspec?
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: Joe Rhett <jrhett AT meer DOT net>
Date: Fri, 19 Nov 2004 22:59:47 -0500
On Friday 19 November 2004 20:27, Joe Rhett wrote:
>> on Freitag, 19. November 2004 at 18:35 you wrote to amanda-users:
>> JR> I've been searching through the archives, but apparently this
>> question has JR> never come up.  How can we get multi-line
>> columnspec?
>>
>> JR> Reasoning: the line length in our reports is already 120chars,
>> which is JR> beyond the screen for more people.  We actually need
>> to expand the disk and JR> hostname to even larger values.
>
>On Fri, Nov 19, 2004 at 09:47:40PM +0100, Stefan G. Weichinger wrote:
>> Maybe the new parameter "displayunit" will help you. It enables
>> you to display your data in GB instead of MB for example, so
>> columns will also shrink.
>
>We need the full hostnames and full filesystem names to be
> displayed.  That will go wider than 70 characters all by itself.
>
>So I'm glad to see this, but that won't solve the real problem.

well, I haven't tried it, but in re: the columnspec, refering to the 
srcs for reporter.c, would it not be possible to edit it to use a 
linefeed ("\n") at the end of the fprintf format specification for 
the output of the host/path being output at the instant?, then just 
set the columnspec itself for a length sufficient to show the full 
name?

I've looked server-src/reporter.c over but don't quickly see exactly 
where such a fix might be put in.  Possibly someone more familiar 
with the src code might be able to help?

Now if the output is being sent also to something like 3hole.ps, then 
it might need a similar massage to make the additional pages that 
might require be properly formatted.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.29% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.

<Prev in Thread] Current Thread [Next in Thread>