On Dec 28, at 10:19 | Dec28, Tobias Fröschle wrote:

> Am 26.12.2011 12:25, schrieb George Gwilt:
>> I have just used QD to examine a file with the longest possible name. The 
>> name was actually
>> ram1_abcdefghijklmnopqrstuvwxyz123456_wda. Although QD displayed the 
>> contents of the file correctly, it did so with a purple coloured ink. This 
>> ink was set for all other files read in provided the name was not of maximum 
>> length. The file ram1_abcdefghijklmnopqrstuvwxyz12345_wda1 reset the colour 
>> to a rather fainter, almost unreadable, purple.
>> 
>> Is this a new feature of QD? Has anyone noticed this before?
>> 
>> George
>> _______________________________________________
>> QL-Users Mailing List
>> http://www.q-v-d.demon.co.uk/smsqe.htm
>> 
> George,
> looks like you've found a bug in QD - The same for me here (well, the color 
> is not exacly purple, but some oddly stippled brownish green). Looks like the 
> long filename overwrites some of QD's internal storage for the ink color. And 
> I remember there were some discussions in the past what /exactly/ is the 
> longest allowed filename in QDOSSMSQ (i.e is the device part part of it or 
> not).
> Interestingly, if you start QD with the very same long filename from the 
> command line (i.e ex qd;<verylongname>) it refuses to save the file ("Not 
> found") in my setup and doesn't produce any other quirk. It looks to me as if 
> there's a mismatch in allowed filename length between QD and the Menu 
> extension.
> Will try and keep my filenames short enough in the future ;)
> 
> Happy new year to all of you
> Tobias
I don't remember that discussion, but  I *know* that device is part of it, as 
when I used particular 'good' filename via the network in the early days, it 
failed, as length was increased by three.
The *real* limit is less three if one uses a network - and even that is longer 
if one networks more than 9 machines. Has anyone?  I know Leon Jaeggi did in 
his short fling with QLs and his kitchen business.
Remember my "Telepen Barcoder"? This was hardware being sold by Dave Storton 
(DS Enterprises) at a ZX MIcrofair.  He called them 'lightpens' and sold none.  
I realised what they were and bought them all at a really low price.  Leon 
bought all my remaining stock and was going to use them, with QLs at his tills. 
I think the business folded before he did that.

Also I reduce most of my 'paths' to very limited length, as they too, of 
course, are part of the filename.
Isn't it a pity that filename handling, with paths, was not done better from 
the start. No-one wants novels as a filename, but the QL limit is so 
ridiculously short.
I suppose it was *fine* in the microdrive days (8-)#

Tony

-- 
      [email protected]     http://firshman.co.uk
Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 Skype: tonyfirshman
   TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to