• Default.src

    From Uatu13@VERT/DARKSIDE to Digital Man on Sun Sep 24 01:43:48 2017
    Hi DM,

    I'm trying to use the Default.src file as a reference to build my own command shell and I have a couple of questions:

    # Get key (with / extended commands allowed)
    compare_user_misc UM_COLDKEYS
    if_false
    getkeye
    else
    getstrupr 60
    endif <---

    1. Is that endif a typo? Is it supposed to be end_if or does it matter?

    ------------

    # Do nothing for control keys and space
    cmdkey ^@
    cmd_cmd
    cmdkey ^M
    end_cmd
    cmdkey ^S
    end_cmd
    cmdkey " <---
    end_cmd

    2. Is that last cmdkey supposed to only be one double quote (') ?


    Thanks.

    -=U13=-ãã---ã þ Synchronet þ The DarkSide of the Moon - telnet://darkside.synchro.netã
  • From MRO@VERT/BBSESINF to Uatu13 on Sun Sep 24 13:27:36 2017
    Re: Default.srcã By: Uatu13 to Digital Man on Sun Sep 24 2017 01:43 amãã > Hi DM, ã > ã > I'm trying to use the Default.src file as a reference to build my ownã > command shell and I have a couple of questions: ã > ã > # Get key (with / extended commands allowed) ã > compare_user_misc UM_COLDKEYS ã > if_false ã > getkeye ã > else ã > getstrupr 60 ã > endif <---ã > ã > 1. Is that endif a typo? Is it supposed to be end_if or does it matter? ã > ããshould probably be end_if but that worksã---ã þ Synchronet þ ::: BBSES.info - free BBS services :::ã
  • From Uatu13@VERT/DARKSIDE to MRO on Sun Sep 24 16:27:40 2017
    Re: Default.srcã By: MRO to Uatu13 on Sun Sep 24 2017 13:27:36ãã >> I'm trying to use the Default.src file as a reference to build my ownã >> command shell and I have a couple of questions: ãã >> # Get key (with / extended commands allowed) ã >> compare_user_misc UM_COLDKEYS ã >> if_false ã >> getkeye ã >> else ã >> getstrupr 60 ã >> endif <---ãã >> 1. Is that endif a typo? Is it supposed to be end_if or does itã >> matter? ãã MR> should probably be end_if but that worksããThanks Mro, that puts me one step closer to debuging my command shell.ãã-=U13=-ãã---ã þ Synchronet þ The DarkSide of the Moon - telnet://darkside.synchro.netã
  • From MRO@VERT/BBSESINF to Uatu13 on Sun Sep 24 22:05:30 2017
    Re: Default.srcã By: Uatu13 to MRO on Sun Sep 24 2017 04:27 pmãã > Re: Default.srcã > By: MRO to Uatu13 on Sun Sep 24 2017 13:27:36ãã > >> I'm trying to use the Default.src file as a reference to build my ownã > >> command shell and I have a couple of questions: ãã > >> # Get key (with / extended commands allowed) ã > >> compare_user_misc UM_COLDKEYS ã > >> if_false ã > >> getkeye ã > >> else ã > >> getstrupr 60 ã > >> endif <---ãã > >> 1. Is that endif a typo? Is it supposed to be end_if or does itã > >> matter? ãã > MR> should probably be end_if but that worksãã > Thanks Mro, that puts me one step closer to debuging my command shell.ãã > -=U13=-ãããif i were you, i'd take the renegade command shell trim it down.ã---ã þ Synchronet þ ::: BBSES.info - free BBS services :::ã
  • From Digital Man@VERT to Uatu13 on Mon Sep 25 15:44:46 2017
    Re: Default.srcã By: Uatu13 to Digital Man on Sun Sep 24 2017 01:43 amãã > Hi DM,ã >ã > I'm trying to use the Default.src file as a reference to build my ownã > command shell and I have a couple of questions:ã >ã > # Get key (with / extended commands allowed)ã > compare_user_misc UM_COLDKEYSã > if_falseã > getkeyeã > elseã > getstrupr 60ã > endif <---ã >ã > 1. Is that endif a typo? Is it supposed to be end_if or does it matter?ãã"endif" and "end_if" are both valid and equal to the Baja compiler.ãã > ------------ã >ã > # Do nothing for control keys and spaceã > cmdkey ^@ã > cmd_cmdã > cmdkey ^Mã > end_cmdã > cmdkey ^Sã > end_cmdã > cmdkey " <---ã > end_cmdã >ã > 2. Is that last cmdkey supposed to only be one double quote (') ?ããNo, it's correct. It just means a blank command key (a space character).ãã digital manããSynchronet "Real Fact" #56:ãSynchronet Terminal Server introduced SecureShell (SSH) support w/v3.14a (2006).ãNorco, CA WX: 88.2øF, 12.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Uatu13@VERT/DARKSIDE to Digital Man on Mon Sep 25 21:09:48 2017
    Re: Default.srcã By: Digital Man to Uatu13 on Mon Sep 25 2017 15:44:46ãã >> cmdkey " <---ã >> end_cmdãã >> 2. Is that last cmdkey supposed to only be one double quote (') ?ãã DM> No, it's correct. It just means a blank command key (a space character).ãã DM> digital manããThanks, my experience was telling me it needed two double quotes with a spaceãin the middle.. Would that work too?ããAlso, is there any reason why adding a folder path to MENU xferinfo in the FileãInfo Section, for example: MENU darkside\xferinfoããWhen I add the folder path none of the options on the File Info Section menuãwork except for 'Q'.ããNote: Adding the folder path to all the other MENU statments within Default.srcãworks as expected.ããThanks again,ãã-=U13=-ãã---ã þ Synchronet þ The DarkSide of the Moon - telnet://darkside.synchro.netã
  • From Digital Man@VERT to Uatu13 on Tue Sep 26 11:33:23 2017
    Re: Default.srcã By: Uatu13 to Digital Man on Mon Sep 25 2017 09:09 pmãã > Re: Default.srcã > By: Digital Man to Uatu13 on Mon Sep 25 2017 15:44:46ã >ã > >> cmdkey " <---ã > >> end_cmdã >ã > >> 2. Is that last cmdkey supposed to only be one double quote (') ?ã >ã > DM> No, it's correct. It just means a blank command key (a spaceã > DM> character).ã >ã > DM> digital manã >ã > Thanks, my experience was telling me it needed two double quotes with aã > space in the middle.. Would that work too?ããNo. The documented method would be like so:ã cmdkey ' 'ããhttp://synchro.net/docs/baja.html#CommandKeyConstantsããBut some other syntaxes produce the same result.ãã > Also, is there any reason why adding a folder path to MENU xferinfo in theã > File Info Section, for example: MENU darkside\xferinfoã >ã > When I add the folder path none of the options on the File Info Section menuã > work except for 'Q'.ã >ã > Note: Adding the folder path to all the other MENU statments withinã > Default.src works as expected.ããNo, I see no reason why that would be. The "menu" function is just forãdisplaying the menu (e.g. ANSI) file to the user and has nothing to do with theãcommand key parsing/processing. If an option/command doesn't work, I suspectãsomething else is the matter.ãã digital manããSynchronet "Real Fact" #68:ãRobert D. Bouman, the author of SyncEdit, died in the mid to late 1990's.ãNorco, CA WX: 84.3øF, 19.0% humidity, 3 mph ESE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Uatu13@VERT/DARKSIDE to Digital Man on Tue Sep 26 21:43:58 2017
    Re: Default.srcã By: Digital Man to Uatu13 on Tue Sep 26 2017 11:33:23ãã >> Also, is there any reason why adding a folder path to MENU xferinfo inã >> the File Info Section, for example: MENU darkside\xferinfoãã DM> No, I see no reason why that would be. The "menu" function is just forã DM> displaying the menu (e.g. ANSI) file to the user and has nothing to doã DM> with the command key parsing/processing. If an option/command doesn'tã DM> work, I suspect something else is the matter.ãã DM> digital manããThanks. I suspected this, but just had to check because nothing else makesãsense. I copied the Default.src to Darkside.src then added the pathãdarkside\menufile to all the MENU functions. The Darkside folder resides in theãtext\menu folder and all the custom menu files display, but none of the info_ãfunctions are working when that command shell is used; I discovered last nightãthat it's not just the File Info, it's also the Main Info not working as well.ããI guess I'll have to start over and test after I add each path to the .src fileãto hunt this down.ããThanks for help as always! :)ãã-=U13=-ãã---ã þ Synchronet þ The DarkSide of the Moon - telnet://darkside.synchro.netã
  • From Digital Man@VERT to Uatu13 on Wed Sep 27 10:57:06 2017
    Re: Default.srcã By: Uatu13 to Digital Man on Tue Sep 26 2017 09:43 pmãã > Re: Default.srcã > By: Digital Man to Uatu13 on Tue Sep 26 2017 11:33:23ã >ã > >> Also, is there any reason why adding a folder path to MENU xferinfo inã > >> the File Info Section, for example: MENU darkside\xferinfoã >ã > DM> No, I see no reason why that would be. The "menu" function is just forã > DM> displaying the menu (e.g. ANSI) file to the user and has nothing to doã > DM> with the command key parsing/processing. If an option/command doesn'tã > DM> work, I suspect something else is the matter.ã >ã > DM> digital manã >ã > Thanks. I suspected this, but just had to check because nothing else makesã > sense. I copied the Default.src to Darkside.src then added the pathã > darkside\menufile to all the MENU functions. The Darkside folder resides inã > the text\menu folder and all the custom menu files display, but none of theã > info_ functions are working when that command shell is used; I discoveredã > last night that it's not just the File Info, it's also the Main Info notã > working as well.ããBut the other menu files work okay?ãã > I guess I'll have to start over and test after I add each path to the .srcã > file to hunt this down.ããYou might want to use a forward-slash instead of a backslash. Forward-slashesãare cross-platform (work in both Windows and *nix) and they don't need escapingã(e.g. "\\") in any context.ãã digital manããSynchronet "Real Fact" #66:ãSynchronet was conceived of and mostly developed in southern California.ãNorco, CA WX: 81.2øF, 27.0% humidity, 1 mph E wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From MRO@VERT/BBSESINF to Uatu13 on Wed Sep 27 16:25:26 2017
    Re: Default.srcã By: Uatu13 to Digital Man on Tue Sep 26 2017 09:43 pmãã > darkside\menufile to all the MENU functions. The Darkside folder resides inã > the text\menu folder and all the custom menu files display, but none of theã > info_ functions are working when that command shell is used; I discoveredã > last night that it's not just the File Info, it's also the Main Info notã > working as well.ãã > I guess I'll have to start over and test after I add each path to the .srcã > file to hunt this down.ãã > Thanks for help as always! :)ãããgo to my bbs, bbs.eob-bbs.com and send me an email with your email address.ãalso if you want to at this point, zip up your menus and the .src file and sendãit to me and i will look it over and run it on my test system and fix it up ifãi can.ããi'm also on irc at irc.bbses.info user mro. you can pm be the info but i dontãtake file xfers.ã---ã þ Synchronet þ ::: BBSES.info - free BBS services :::ã
  • From Uatu13@VERT/DARKSIDE to Digital Man on Wed Sep 27 22:12:21 2017
    Re: Default.srcã By: Digital Man to Uatu13 on Wed Sep 27 2017 10:57:06ãã >> Re: Default.srcã >> By: Digital Man to Uatu13 on Tue Sep 26 2017 11:33:23ãã > >>> Also, is there any reason why adding a folder path to MENU xferinfoã > >>> in the File Info Section, for example: MENU darkside\xferinfoãã > DM>> No, I see no reason why that would be. The "menu" function is justã > DM>> for displaying the menu (e.g. ANSI) file to the user and hasã > DM>> nothing to do with the command key parsing/processing. If anã > DM>> option/command doesn't work, I suspect something else is theãmatter. ã > DM>> digital manãã >> Thanks. I suspected this, but just had to check because nothing elseã >> makes sense. I copied the Default.src to Darkside.src then added theã >> path darkside\menufile to all the MENU functions. The Darkside folderã >> resides in the text\menu folder and all the custom menu files display,ã >> but none of the info_ functions are working when that command shell isã >> used; I discovered last night that it's not just the File Info, it'sã >> also the Main Info not working as well.ãã DM> But the other menu files work okay?ããAs far as I can tell the only menus affected are the ones with info_ functionsãrelated to them (xferinfo, maininfo). All other custom menus load and allãcmdkeys work as expected.ãã >> I guess I'll have to start over and test after I add each path to theã >> .src file to hunt this down.ãã DM> You might want to use a forward-slash instead of a backslash.ã DM> Forward-slashes are cross-platform (work in both Windows and *nix) andã DM> they don't need escaping (e.g. "\\") in any context.ãã DM> digital manããInterestingly enough, I had already used forward-slashes on the other menuãcalls. I've changed the File Info Menu call to "menu darkside/xferinfo" withoutãthe quotes obviously. I still had the same issue.ããI believe I've isolated the cause although I don't understand it.ããI have not yet created custom .ans files for xferinfo or maininfo, but wasãabout to. As a quick and dirty test I had originally copied xferino.asc toãmenu/darkside then I used asc2ans to convert.ããI have since opened xferinfo.ans into an editor, made a minor text change andãsaved. Now the info_ functions work correctly when that menu is displayed.ããPlease let me know if you have any questions and I hope you can shed some lightãon this for me. :)ããThanks,ãã-=U13=-ãã---ã þ Synchronet þ The DarkSide of the Moon - telnet://darkside.synchro.netã
  • From Uatu13@VERT/DARKSIDE to MRO on Wed Sep 27 22:14:31 2017
    Re: Default.srcã By: MRO to Uatu13 on Wed Sep 27 2017 16:25:26ãã MR> Re: Default.srcã MR> By: Uatu13 to Digital Man on Tue Sep 26 2017 09:43 pmãã >> darkside\menufile to all the MENU functions. The Darkside folderã >> resides in the text\menu folder and all the custom menu files display,ã >> but none of the info_ functions are working when that command shell isã >> used; I discovered last night that it's not just the File Info, it'sã >> also the Main Info not working as well.ãã >> I guess I'll have to start over and test after I add each path to theã >> .src file to hunt this down.ãã >> Thanks for help as always! :)ãã MR> go to my bbs, bbs.eob-bbs.com and send me an email with your emailã MR> address. also if you want to at this point, zip up your menus and the .srcã MR> file and send it to me and i will look it over and run it on my testã MR> system and fix it up if i can.ãã MR> i'm also on irc at irc.bbses.info user mro. you can pm be the info but iã MR> dont take file xfers.ã MR> ---ã MR> þ Synchronet þ ::: BBSES.info - free BBS services :::ããThank you for the kind offer Mro! I believe I have this sorted out, but if Iãneed further assitance with my command shell I will be sure and ask. :)ãã-=U13=-ãã---ã þ Synchronet þ The DarkSide of the Moon - telnet://darkside.synchro.netã