From: Dylan Penhale <dylan@(email surpressed).au>
Subject: Job reporting - column width 
   Date: Fri, 02 Dec 2005 18:38:23 -0800
Msg# 1125
View Complete Thread (2 articles) | All Threads
Last Next
Hi there

Our JOBTITLES have been getting longer and longer, and it's not really practical to shorten them as we have quite a few scripts that use their format. I have been modifying the rush.conf file in an attempt to adapt the TITLE column to accommodate this increase. (currently about 65 chars seems sufficient).

I read the REPORT FORMATTING disclaimer and admit at being far from a Perl master, but I have a simple question. In the following example could you tell me why rush -laj displays a 65 char column width (in both shell and iRush) and yet rush -lj does not?

# REPORT FORMAT: rush -lj
jobheader1 "STATUS JOBID TITLE OWNER % DONE %FAIL BUSY ELAPSED REMARKS" jobheader2 "-------- ---------------- ------------------------------------------------------- --------- ----- ----- ---- ---------- --------"
jobfmt     "%-8s %-16s %-55s %-9s %5s %5s %4s %10s %s"

# REPORT FORMAT: rush -laj
alljobsheader1 "STATUS JOBID TITLE OWNER %DONE %FAIL BUSY ELAPSED REMARKS" alljobsheader2 "-------- ---------------- ----------------------------------------------------------------- --------- ----- ----- ---- ---------- --------"
alljobsfmt     "%-8s %-16s %-65s %-9s %5s %5s %4s %10s %s"

(the fonts on the machine make it look as if there is the incorrect number of chars, but it is correct)

I have tried restarting rushd. Also have pushed the rush.conf file out network wide.

Is it posable that rush -lj has a limit of around 55 chars? and rush - laj doesn't?






_________________________________________

Dylan Penhale
Systems Administrator
Fuel International
65 King Street
Newtown
2042
Sydney
Australia
p. (Tel# suppressed)
f. (Tel# suppressed)



Last Next