Subj : Help with Command Shell for menus To : Chris Schneider From : Nightfox Date : 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 then > 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 recommend JavaScript, as it is more flexible and provides more functionality. There is 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 width with the screen_columns property of the console object: http://www.synchro.net/docs/jsobjs.html#console Nightfox --- þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.com .