bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] New Options menu


From: Jim Segrave
Subject: Re: [Bug-gnubg] New Options menu
Date: Fri, 17 Jan 2003 14:04:41 +0100
User-agent: Mutt/1.4i

On Fri 17 Jan 2003 (10:26 -0200), Albert Silver wrote:
> > > MET... displaying the MET currently selected would help. How about a
> > > selection box like the one for selecting boards? Or a button with a
> > > list like the RNG selection list?
> > 
> > The problem with a selection list is that any file is potentially a
> MET
> > file, whereas all board designs are stored in a single file (well, two
> > files).
> > 
> > I can send you the new Thyssen match equity tables that is a series of
> > METs based on the number of beers consumed by the players. So you save
> > these into C:\CRAP. How should gnubg know which files to show in a
> > selection list?
> > 
> > Possible solutions :
> > 
> > (a) show only files from the default match equity directory
> >     (not good as the directory easily contains on-MET files)
> > (b) show only .xml files from the default match equity directory
> >     (we're back to the extension-discussion.... gnubg does not require
> >     the met to be named .xml, you can use .met if you like)
> > (c) put all METs inside one large file.
> >     (requires a lot of programming)
> 
> Could the files have something that clearly identifiues them as a met
> other than the extension? Perhaps some code or line inside the file that
> it would scan very quickly? If it seems a problem because of non-stop
> scanning, then perhaps it could crete a log of the files in the
> directory the first time, and compare the directory to the current log
> when it displays the METs. That way if the directory's contents hadn't
> changed it wouldn't bother scanning the files, but if a new file
> appeared, a new MET, it would check to see if it is a new MET to be
> added.

Does Windows have an equivalent to /usr/share/misc/magic?
Is there a way to get a new magic entry distributed among Unices?

-- 
Jim Segrave           address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]