Re: Help with Command Shell for menusã By: Nightfox to Chris Schneider on Thu Nov 29 2012 07:57 pmãã > Re: Help with Command Shell for menusã > By: Chris Schneider to All on Wed Nov 28 2012 21:25:46ã > ã > > All,ã > ã > > I need help writing a command shell that will detect The column width andã > > if it is 40 columns then 40 column menus would be displayed and if 80 theãnã > > the standard menus for 80 column whether it be .ASC or .ANS depending onã > > what the users terminal will display.ã > ã > > I have no experience writing command shells and any help would be greatlyã > > appreciated.ã > ã > Are you writing your command shell in Baja or JavaScript? I'd highly recommãendã > JavaScript, as it is more flexible and provides more functionality. There iãsã > some nice documentation on Synchronet's JavaScript interface on the web hereã:ã >
http://www.synchro.net/docs/jsobjs.htmlã > Using Synchronet's JavaScript object model, you can find out the terminal wiãdthã > with the screen_columns property of the console object:ã >
http://www.synchro.net/docs/jsobjs.html#consoleã > ã > Nightfoxã > ã > ãI am assuming it needs to be in javascript. I do not know javascript though.ãI need it to detect and display the correct menu because alot of the usersãthat this system will be targeted do not have an 80column display. They areãold TI-99/4a users. 40 column is the max for them, but some have 80, so that'sãwhy i need both.ãthanks,ãã---ã þ Synchronet þ SKYNET - skynet.bounceme.netã