Re: mfd questions

2004-11-25 Thread Dave Shield
>./mib2c -S mfd_fewer_files=1 . > seems to have no effect whatsoever OK - I've done a bit more digging, and the flag actually seems to be 'm2c_create_fewer_files' And this *does* work from the mib2c command line (though only using the two-parameter '-S m2c_create_fewer_files' form) Bu

Re: mfd questions

2004-11-25 Thread Dave Shield
Dave> Can [md2 flags] be specified via "mib2c -S" as well, Dave> or do they only work via the md2 file? Robert> Yes, they should work from the command line. Sorry, Robert - that doesn't seem to work. I tried running ./mib2c -S m2c_table_settable=0 -c mib2c.mfd.conf myTable and it still gen

Re: mfd questions

2004-11-24 Thread Coders
On Wed, 24 Nov 2004 16:45:22 + Dave wrote: DS> > The flags that are intended for user modification are stored in the DS> > default-table-myTable.md2 file. DS> DS> OK - thanks. I'll play about with them, and see what happens. DS> DS> Can they be specified via "mib2c -S" as well, DS> or do the

Re: mfd questions

2004-11-24 Thread Dave Shield
> The flags that are intended for user modification are stored in the > default-table-myTable.md2 file. OK - thanks. I'll play about with them, and see what happens. Can they be specified via "mib2c -S" as well, or do they only work via the md2 file? > I completely forgot to mention the 'Dave

Re: mfd questions

2004-11-24 Thread Coders
On Wed, 24 Nov 2004 15:32:46 + Dave wrote: DS> It Works! woo hoo! DS> Now I've just got to work out how best to describe all this, and then DS> I can move on to look at the SET support. uh-oh. A whole nother can of worms. ;-) DS> Thanks you, Robert - you've been a great help. That's wh

Re: mfd questions

2004-11-24 Thread Dave Shield
It Works! I've got my example (read-only) table working properly, including holes, dynamically calculated column values and wilful misuse of the RowStatus object :-) Now I've just got to work out how best to describe all this, and then I can move on to look at the SET support. Thanks you, Ro

Re: mfd questions

2004-11-24 Thread Coders
On Wed, 24 Nov 2004 09:50:33 + Dave wrote: DS> I was mislead by the use of the token "TODO". DS> That's tended to be used as a marker for future work - a place where the DS> handling has been simplified a bit (ducking the difficult cases), and DS> usually denotes where we need to come back and

Re: mfd questions

2004-11-24 Thread Dave Shield
> DS> Give us a chance, Robert! I'm still trying to come to terms with what > DS> this helper does do. I'm nowhere near ready to start looking at what > DS> it *doesn't* do! :-) > > I don't think we are on the same page here... I sent a command to grep the > source for the caterpillers, put t

Re: mfd questions

2004-11-23 Thread Wes Hardaker
> On Tue, 23 Nov 2004 15:03:45 +, Dave Shield <[EMAIL PROTECTED]> said: >> BTW, you might want to use a test table with multiple types in it. Dave> Yes - my test table does. It's Wes' that doesn't :-) Um, mine was a simple example not a test table! Dave> Remember that I'm used to Wes'

Re: mfd questions

2004-11-23 Thread Coders
On Tue, 23 Nov 2004 15:03:45 + Dave wrote: DS> DS> I'm sure it will all fall into place once I've DS> DS> a better idea of how it all fits together, but at the moment I DS> DS> feel like I'm drowning in caterpillers :-) DS> DS> > Hopefully the cmd line I send to generated the ordered todo lis

Re: mfd questions

2004-11-23 Thread Dave Shield
> Variables are declared for indexes, since you are likely to need > temporary storage to create the index before creating the rowreq context. > The other two are assigning data to the data context, and thus should be > real values. Until recently, those variable names were of the form > TO

Re: mfd questions

2004-11-23 Thread Coders
On Tue, 23 Nov 2004 11:57:05 + Dave wrote: DS> Dave> The second place where this code failed to compile was in the DS> Dave> 'myTable_cache_load' routine. This seems to refer to various local DS> Dave> variables that weren't actually declared for some (but not all) of DS> the Dave> column ob

Re: mfd questions

2004-11-23 Thread Dave Shield
Dave> Yup, it's your nightmare scenario - I'm finally looking Dave> seriously at the MfD helper :-) Robert> Aaauuugghhh! Why does everyone want to poke Robert> at it and find bugs now that we're frozen!?!? Well, I did suggest a longer development freeze, but was shot down in flame

Re: mfd questions

2004-11-22 Thread Coders
On Mon, 22 Nov 2004 23:17:13 + Dave wrote: DS> Yup, it's your nightmare scenario - I'm finally looking seriously at DS> the MfD helper :-) Aaauuugghhh! Why does everyone want to poke at it and find bugs now that we're frozen!?!? DS> The first problem I ran into is that the

mfd questions

2004-11-22 Thread Dave Shield
Yup, it's your nightmare scenario - I'm finally looking seriously at the MfD helper :-) It's going to take a little while to get used to the structure of this code, but I've got a couple of initial questions. I've taken my standard test MIB, generated a set of code files using the mib2c.mfd.con