Re: [Dps-devel] Building with XFree86 4.0.2?
Status: Inactive
Brought to you by:
jch
From: Juliusz C. <Jul...@en...> - 2001-01-08 18:38:11
|
KB> That works fine. Then I've got no idea what's going wrong. The ``Hello'' message does appear, right? You may try uncommenting lines 274 and 275 in texteroids.c. KB> What do all the flush's do? Are they required to see any errors KB> during dpsexec? Not errors, only standard output. KB> I noticed dpsexec only seems to print a prompt in some situations, KB> not after every 'Enter'. In DPS, context output is buffered. The executive (the thing you interact with in dpsexec) works by flushing output before printing every prompt. The reason that works is that the executive does not interact with standard input, but with terminal input which gives it a chance to print a prompt once in a while. I have not (yet?) implemented terminal input, but instead have made it an alias for terminal input. So you need to type either ``flush'' or ``prompt'' once in a while to get the output flushed. KB> But when I enter something that causes a stackunderflow or KB> nocurrentpoint error it prints the error and a prompt immediately. The error handler runs a new instance of the executive which starts by calling ``prompt'' which in turn calls ``flush''. Juliusz |