• Re: Global Commands

    From SprayPaint@VERT/TRGYM/SPRAYPAINT@TRGYM to Digital Man on Tue Feb 22 21:17:00 2005
    ok i would like to do something sort of like the sysops menu useing ;String
    for the commands... how ever i was thinking of back to that darn MBBS/WG
    thing again of a global package and using the key i was used to like " ' "
    or the " ~ " how ever i wanted to do a who's on but cant seem to locate the CTRL Key menu i know that ^U is who's online but what does it call...

    and if i wanted to have one for sending a message to another node what is
    that command... basically i want to by pass the ^P and go right to message
    mode

    SprayPaint



    "Digital Man" <digital.man@VERT> wrote in message news:3C739FFF.1406.bajaprog@vert.synchro.net...
    Re: Global Commands
    By: Evan Elias to Digital Man on Wed Feb 20 2002 11:10 am

    and can I only use CTRL-Keys as a global command?

    Yes. Otherwise, they would interfere with normal operations. Imagine
    if y
    the letter 'T' for a global command. How would you send e-mail to
    Tom?

    Well, using ordinary letters wouldn't work well for obvious reasons,
    but
    there's many alternatives to CTRL keys. Several BBS packages have
    globals
    begin with a / or an =... for example, listing who's online in WG is
    done by
    typing =# or /# at the start of a line. I guess the difference comes
    into p
    that WG is not hotkey-based while Sync (usually) is though... but I
    still
    find myself trying to to /# on Sync boards from time to time, old
    habits are
    hard to break :(

    Those types of global commands would interfere with other
    features/functions of
    the classic Synchronet command shell, the internal message editor, and eventually external programs/doorgames. Ctrl keys have a lot fewer
    conflicts.

    -Rob

    digital man

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

  • From Digital Man@VERT to SprayPaint on Wed Feb 23 12:08:00 2005
    Re: Re: Global Commands
    By: SprayPaint to Digital Man on Tue Feb 22 2005 09:17 pm

    ok i would like to do something sort of like the sysops menu useing ;String for the commands... how ever i was thinking of back to that darn MBBS/WG thing again of a global package and using the key i was used to like " ' " or the " ~ " how ever i wanted to do a who's on but cant seem to locate the CTRL Key menu i know that ^U is who's online but what does it call...

    and if i wanted to have one for sending a message to another node what is that command... basically i want to by pass the ^P and go right to message mode

    I'm not really sure what want to do. Perhaps SCFG->External Programs->Global Hot Key Events is what you're looking for? You can use these to launch any Baja or JavaScript module at the press of a ctrl key.

    digital man

    Snapple "Real Fact" #77:
    No piece of paper can be folded more than 7 times.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From SprayPaint@VERT/TRGYM/SPRAYPAINT@TRGYM to Digital Man on Wed Feb 23 15:11:00 2005

    ok i would like to do something sort of like the sysops menu useing
    ;String
    for the commands... how ever i was thinking of back to that darn
    MBBS/WG
    thing again of a global package and using the key i was used to like "
    ' "
    or the " ~ " how ever i wanted to do a who's on but cant seem to locate
    the
    CTRL Key menu i know that ^U is who's online but what does it call...

    and if i wanted to have one for sending a message to another node what
    is
    that command... basically i want to by pass the ^P and go right to
    message
    mode

    I'm not really sure what want to do. Perhaps SCFG->External
    Programs->Global
    Hot Key Events is what you're looking for? You can use these to launch any
    Baja
    or JavaScript module at the press of a ctrl key.

    digital man



    OK lets try it this way...one thing at a time... sorry my mind is always 20 miles ahead of my hands
    Baja Command PRIVATE_MESSAGE
    This function is used for private internode messages, telegrams, or chat.
    Same as the Ctrl-P initiated function.

    can i just have a key defined to send inernode messages only, rather than giving them the choice like the Crtl-P

    The same thing for the who's online Ctrl-U gives just who is online, i would like to be able to do the same thing but not use the Ctrl-U

    and yes i understand that the Ctrl-Keys are contained in the C++ code for
    the EXE it self i just wanted to make a sort of uniform globals package, i
    am working on a more indepth Major BBS clone,

    which makes me need to ask another question, does the chat offer any way to
    use the sysop functions like uedit or do i need to mod the chat source files and recomplie?

    SprayPaint
  • From Digital Man@VERT to SprayPaint on Wed Feb 23 21:30:00 2005
    Re: Re: Global Commands
    By: SprayPaint to Digital Man on Wed Feb 23 2005 03:11 pm


    ok i would like to do something sort of like the sysops menu useing
    ;String
    for the commands... how ever i was thinking of back to that darn
    MBBS/WG
    thing again of a global package and using the key i was used to like "
    ' "
    or the " ~ " how ever i wanted to do a who's on but cant seem to locate
    the
    CTRL Key menu i know that ^U is who's online but what does it call...

    and if i wanted to have one for sending a message to another node what
    is
    that command... basically i want to by pass the ^P and go right to
    message
    mode

    I'm not really sure what want to do. Perhaps SCFG->External
    Programs->Global
    Hot Key Events is what you're looking for? You can use these to launch any
    Baja
    or JavaScript module at the press of a ctrl key.

    OK lets try it this way...one thing at a time... sorry my mind is always 20 miles ahead of my hands
    Baja Command PRIVATE_MESSAGE
    This function is used for private internode messages, telegrams, or chat. Same as the Ctrl-P initiated function.

    can i just have a key defined to send inernode messages only, rather than giving them the choice like the Crtl-P

    Yes. But you'll need to use JavaScript instead of Baja as it has finer-grained control over those facilities. See http://synchro.net/docs/jsobjs.html for details.

    The same thing for the who's online Ctrl-U gives just who is online, i would like to be able to do the same thing but not use the Ctrl-U

    Absolutely.

    and yes i understand that the Ctrl-Keys are contained in the C++ code for the EXE it self i just wanted to make a sort of uniform globals package, i am working on a more indepth Major BBS clone,

    which makes me need to ask another question, does the chat offer any way to use the sysop functions like uedit or do i need to mod the chat source files and recomplie?

    You'd need to either write a chat module in JS (see exec/irc.js for an example) or modify the C++ source and recompile.

    digital man

    Snapple "Real Fact" #97:
    A turkey can run at 20mph.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From Tracker1@VERT/TRN to SprayPaint on Sat Feb 26 01:06:00 2005
    SprayPaint wrote:
    and yes i understand that the Ctrl-Keys are contained in the C++ code
    for the EXE it self i just wanted to make a sort of uniform globals
    package, i am working on a more indepth Major BBS clone,

    which makes me need to ask another question, does the chat offer any
    way to use the sysop functions like uedit or do i need to mod the chat source files and recomplie?

    actually, you can replace ctrl-key hotkey menus within sync itself, it's
    in the scfg.exe -> external programs ... you can specify a *bajamod or a ?javascript mod .. this can override ctrl-p/u .. if you go to my board,
    you can see what I did here.. :)

    Unless it is a hardcoded area (like file listing, or message reading
    (the headers are fully modable)), you *REALLY* don't need to touch the
    c/c++ source to change *anything* in the telnet interface.

    --
    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