Subj : Re: .js command shells To : Glucose Grin From : Tracker1 Date : Tue Aug 10 2004 01:52 am Glucose Grin wrote: > I'm trying to write a login matrix command shell in java, but I'm > running into some stupid problems (ie. I'm stupid :) ) > javascript is new to me (I program in pascal) so I've fudged a loop to > keep the command input going (while (1) {}). > However, I need to be able to test for the user disconnecting so I > don't pooch my bbs. var done = false; while (bbs.online && !done) { ... } > What is going on is this - I display my base ansi, then have an input > loop where the cursor keys change the current menu command. Since the > commands don't do anything yet, I have to disconnect my client when I'm > done testing. Problem is, when my client disconnects, cpu usage spikes > and I can't shutdown the node or sbbsctrl. See above, and check out the assault base pack from http://www.vanguardmoddingcrew.com/ -- Michael J. Ryan - tracker1(at)theroughnecks(dot)net - www.theroughnecks.net icq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email) --- þ Synchronet þ theroughnecks.net - you know you want it .