• SYS_RA_EMU

    From Psi-Jack@VERT/DECKHVN2 to All on Thursday, September 25, 2014 08:35:39
    So, in sbbsdefs.js, there's a SYS_RA_EMU, which I understand very little about. Looks like bitwise used with system.settings&SYS_RA_EMU, but where is this actually configured to be used?

    I'm often finding myself hitting R at the message read prompt in hopes to reply, instead getting the message again and slapping myself to hit A because, Synchronet.

    It looks like my sys_read_p.js mod I'm using can make use of this setting as well to handle mapping the keys, so I'm curious as to how to put it to actual use.

    ---
    [Psi-Jack -//- Decker]
    þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com
  • From Digital Man@VERT to Psi-Jack on Friday, September 26, 2014 15:53:16
    Re: SYS_RA_EMU
    By: Psi-Jack to All on Thu Sep 25 2014 08:35 am

    So, in sbbsdefs.js, there's a SYS_RA_EMU, which I understand very little about. Looks like bitwise used with system.settings&SYS_RA_EMU, but where
    is this actually configured to be used?

    I'm often finding myself hitting R at the message read prompt in hopes to reply, instead getting the message again and slapping myself to hit A because, Synchronet.

    It looks like my sys_read_p.js mod I'm using can make use of this setting
    as well to handle mapping the keys, so I'm curious as to how to put it to actual use.

    The "reading messages" and "reading mail" prompts check this flag and the @msgreply@ code will display the appropriate character ('A' in normal mode, 'R'
    in RA-mode). Some command shells (those emulating a BBS which normally uses 'R'
    for reply) set the flag. If you're writing your own message reader, then you can just hard code whatever command keys you feel most comfortable with and ignore this flag.

    digital man

    Synchronet "Real Fact" #52:
    Synchronet Blackjack was the first multi-node/multi-user game for Synchronet. Norco, CA WX: 82.4øF, 40.0% humidity, 13 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Psi-Jack@VERT/DECKHVN2 to Digital Man on Saturday, September 27, 2014 00:03:12
    Re: SYS_RA_EMU
    By: Digital Man to Psi-Jack on Fri Sep 26 2014 03:53 pm

    Re: SYS_RA_EMU
    By: Psi-Jack to All on Thu Sep 25 2014 08:35 am

    So, in sbbsdefs.js, there's a SYS_RA_EMU, which I understand very
    little about. Looks like bitwise used with system.settings&SYS_RA_EMU,
    but where is this actually configured to be used?

    I'm often finding myself hitting R at the message read prompt in hopes
    to reply, instead getting the message again and slapping myself to hit
    A because, Synchronet.

    The "reading messages" and "reading mail" prompts check this flag and
    the @msgreply@ code will display the appropriate character ('A' in
    normal mode, 'R' in RA-mode). Some command shells (those emulating a BBS which normally uses 'R' for reply) set the flag. If you're writing your own message reader, then you can just hard code whatever command keys
    you feel most comfortable with and ignore this flag.

    Okay, but how does one set this flag, preferably in JavaScript shells, so I can do that.

    ---
    [Psi-Jack -//- Decker]
    þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com
  • From Nightfox@VERT/DIGDIST to Psi-Jack on Friday, September 26, 2014 22:46:03
    Re: SYS_RA_EMU
    By: Psi-Jack to Digital Man on Sat Sep 27 2014 00:03:12

    The "reading messages" and "reading mail" prompts check this flag
    and the @msgreply@ code will display the appropriate character ('A'
    in normal mode, 'R' in RA-mode). Some command shells (those
    emulating a BBS which normally uses 'R' for reply) set the flag. If
    you're writing your own message reader, then you can just hard code
    whatever command keys you feel most comfortable with and ignore this
    flag.

    Okay, but how does one set this flag, preferably in JavaScript shells, so I can do that.

    It looks like this will enable that flag in JavaScript:
    system.settings |= SYS_RA_EMU;

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.com
  • From Psi-Jack@VERT/DECKHVN2 to Nightfox on Saturday, September 27, 2014 09:34:57
    Re: SYS_RA_EMU
    By: Nightfox to Psi-Jack on Fri Sep 26 2014 10:46 pm

    Re: SYS_RA_EMU
    By: Psi-Jack to Digital Man on Sat Sep 27 2014 00:03:12

    Okay, but how does one set this flag, preferably in JavaScript
    shells, so I can do that.

    It looks like this will enable that flag in JavaScript:
    system.settings |= SYS_RA_EMU;

    Perfect! That did the trick alright! Even continues to work with sys_read_p because that little mod checks the value of that as well to determine how it passes on the key to the prompt. :)

    ---
    [Psi-Jack -//- Decker]
    þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com