Subj : Menu Polling/Defeat Pause
To   : Digital Man
From : Corvey
Date : Tue Jan 17 2006 04:46 am

DM  > While sitting at the Ctrl-P prompt or the Inter-BBS prompt or while in
DM  > multi-node chat, instant messages and telegrams are received "instantly".
DM  > Some
DM  > 3rd party command shells implement constant polling of messages at all
DM  > prompts.

C   > Ok, those prompt are what I like,  how can I make the main menu and game
C   > men
C   > be "instantly" like the CTRL-P prompt?

DM  > The main menu, it depends on which command shell you're using. Basically,
DM  > you
DM  > need an "inkey loop" instead of calling getkey. See the example in
DM  > sbbsimsg.js.
DM  > This same method can be applied to the prompts in exec/xtrn_sec.js
DM  > (external programs section).

                                                 digital man


In sbbsimsg.js I see:

"key=console.inkey(K_UPPER, 500);"

but I'm not sure in where in xtrn_sec.js to place code to make it work.


I am noob, can you be more precise, from and where to place code to make this
work for me?

Thanks,
corvey

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net