• Editing simple.src - adding hotkeys?

    From nolageek@VERT/CAPSHRIL to All on Friday, April 18, 2014 11:08:28
    I edited my simple.src menu quite a bit last night - I'm trying to figure out how to make it so the user doesn't have to hit enter after a command is typed. What's teh relevant code, say in default.src, that does this? The only difference I saw right away was that simple uses cmdstr and default uses cmdkey - but that didn't make a difference so I figured I was missing something.

    A nudge in the right direction would help. :)

    -nolageek

    ---
    þ Synchronet þ Capitol Shrill BBS - Washington, DC - capitolshrill.com
  • From Mro@VERT/BBSESINF to nolageek on Saturday, April 19, 2014 11:06:22
    Re: Editing simple.src - adding hotkeys?
    By: nolageek to All on Fri Apr 18 2014 11:08 am

    I edited my simple.src menu quite a bit last night - I'm trying to figure out how to make it so the user doesn't have to hit enter after a command
    is typed. What's teh relevant code, say in default.src, that does this?
    The only difference I saw right away was that simple uses cmdstr and default uses cmdkey - but that didn't make a difference so I figured I was missing something.


    pretty sure your problem is that the user doesnt have hotkeys enabled in their setup.


    you can put this up at the top to force it on for everyone (if you have past users that do not have hotkeys turned on by default)

    compare_user_misc UM_COLDKEYS
    if_true
    toggle_user_misc UM_COLDKEYS
    end_if
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Digital Man@VERT to nolageek on Sunday, April 20, 2014 00:37:40
    Re: Editing simple.src - adding hotkeys?
    By: nolageek to All on Fri Apr 18 2014 11:08 am

    I edited my simple.src menu quite a bit last night - I'm trying to figure out how to make it so the user doesn't have to hit enter after a command
    is typed. What's teh relevant code, say in default.src, that does this?
    The only difference I saw right away was that simple uses cmdstr and default uses cmdkey - but that didn't make a difference so I figured I was missing something.

    A nudge in the right direction would help. :)

    exec/simple.src uses "getstrupr" to request a string from the user. See http://synchro.net/docs/baja.html for details.

    digital man

    Synchronet "Real Fact" #4:
    Synchronet version 3 for Win32 development began in 1999.
    Norco, CA WX: 58.6øF, 79.0% humidity, 1 mph ESE wind, 0.00 inches rain/24hrs

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