screens other than 0-9 (was: Re: Windows 2003/IIS 6 issues...new andimproved ones.)

Brian K. White brian at aljex.com
Wed May 23 17:18:09 PDT 2007


----- Original Message ----- 
From: "Fairlight" <fairlite at fairlite.com>
To: "filePro Mailing List" <filepro-list at lists.celestial.com>
Sent: Wednesday, May 23, 2007 5:48 PM
Subject: screens other than 0-9 (was: Re: Windows 2003/IIS 6 issues...new 
andimproved ones.)


> >From inside the gravity well of a singularity, Kenneth Brody shouted:
>> Quoting Fairlight (Wed, 23 May 2007 17:10:04 -0400):
>> [...]
>> > I still have dclerk not "seeing" the "debug1" that dscreen created.  No
>> > idea what that's on about.  I made a screen 0 and suddenly that showed
>> > up, but it's the ONLY screen that shows up in clerk.  Go figure. fP
>> > 5.0.14DN9, Win2K3.  Apparently, don't use named screens??
>>
>> Umm...  Are you expecting dclerk's list of screens given after you
>> enter the filename to include anything other than 0 through 9?
>
> Yes?  Why shouldn't they be presented?
>
> Been a while since I had to deal with screens on a named basis.  Are you
> trying to tell me that only 0-9 are usable from the selection, and the 
> rest
> are only usable via -s or with SCREEN or the like?

Correct. Anything that takes a screen as an argument accepts the long names, 
but only screens 0-9 appear in clerks built-in menu, and pressing numbers at 
entsel only gets you 0-9. For other screens you have to provide your own 
menu/listbox/special screen/etc.. and you can write your own @keys to jump 
to other screens from entsel as if they were 0-9.

We use a rough standard where several non 0-9 screens have @keys that pop 
them up so they seem just like 0-9 screens but by pressing other letters or 
even punctuation.
And one of the @keys is always @keym, which does a screen "m", which 
displays a menu of all screens that can be jumped to by pressing a key at 
entsel.
So screen m ends up behaving just like a menu, but with more control over 
looks/layout/number-of-items than real menus or listboxes. But it's just a 
static screen with no input fields you can only get to from entsel or 
processing or command line flag. It's important that this not be a 0-9 
screen itself too. If it were say, screen 0, it would be possible to enter 
the screen in add-records mode, which causes a tight loop creating empty 
records as fast as the computer can do it.

The built-in screen menu, like a lot of the built-in initial dialogs, we 
don't usually allow the user to see any more so it doesn't matter much what 
it can and can't include.

Brian K. White    brian at aljex.com    http://www.myspace.com/KEYofR
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro  BBx    Linux  SCO  FreeBSD    #callahans  Satriani  Filk!



More information about the Filepro-list mailing list