[Info-vax] width of "size" when /unit=byte

Jan-Erik Söderholm jan-erik.soderholm at telia.com
Wed Nov 4 09:55:23 EST 2009


Neil Rieck wrote:
> On Nov 4, 9:02 am, Jan-Erik Söderholm <jan-erik.soderh... at telia.com>
> wrote:
>> Jan-Erik Söderholm wrote:
>>> Christoph Gartmann wrote:
>>>> Which version of VMS?
>>> 8.2
>> Ah, never mind, this seems to be "fixed" in 8.3 :
>>
>> $ set proc/unit=block
>> $ dir dsa100.bck
>>
>> Directory $1$DGA1400:<DIST>
>>
>> DSA100.BCK;1        *******/*******   3-NOV-2009 23:35:59.59
>>
>> Total of 1 file, 23028201/23028267 blocks.
>>
>> $ set proc/unit=byte
>> $ dir dsa100.bck
>>
>> Directory $1$DGA1400:<DIST>
>>
>> DSA100.BCK;1        10.98GB/10.98GB     3-NOV-2009 23:35:59.59
>>
>> Total of 1 file, 10.98GB/10.98GB
>> $
>>
>> Jan-Erik.
> 
> Well, first off I was wondering if you have redefined the "DIR" symbol
> because date+time are always presented even though you never
> explicitly requested it. Secondly, I have found that if I reserve
> enough space for FILENAME, then all other fields usually display
> properly.
> 
> NSR

No, the problem was the default 7 pos size of the "size" field.
If the size in blocks was over 7 chars, the size in bytes would
not display, even if it was less then or equal to 7 chars.

The actual format of *my* posts was edited so that shouldn't wrap.
It was the handling of the "size" field that was interesting.

And I have now verified that this is different between 8.2 and 8.3.





More information about the Info-vax mailing list