On Thu, 18 Sep 2003, Ryan Underwood wrote: > Here is the procedure I undertook, to hopefully shed some more light: > > 1. First I added a new variable to the config struct in > src/include/emu.h called delay_interval > > 2. in src/base/init/lexer.l.in: > delay_interval RETURN(DELAY_INTERVAL); > > 3. in src/base/init/parser.y.in: > %token DELAY_INTERVAL > > 4. in src/base/init/parser.y.in also: > | DELAY_INTERVAL expression > { > c_printf("Hello, this is delay_interval speaking\n"); > } > > 5. in global.conf, under checkuservar, I add $_delay_interval. > In the parser_version_3 scope, I add: > delay_interval $_delay_intervala > > 6. in dosemu.conf on my system, I add $_delay_interval = (1234) > > 7. I run the new dosemu.bin -D+C, and my c_printf is never displayed. > > Any ideas?
sounds about right; maybe there's something obscure. Try a "warn" in global.conf, and the options -h2 -D+cw -O (not -D+C but small c) for some more clues. Also _delay_interval should show up in "unix set" and "system set" typed from the DOS prompt. The difference between () and "" is in global.conf. Numbers from () you can add, multiply, compare and so on; on strings you can use strlen and so on. See also README-tech.txt. Bart - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html