þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com[Psi-Jack -//- Decker]
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.
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.
þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com[Psi-Jack -//- Decker]
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.
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;
þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com[Psi-Jack -//- Decker]
Sysop: | MCMLXXIX |
---|---|
Location: | Prospect, CT |
Users: | 325 |
Nodes: | 10 (0 / 10) |
Uptime: | 07:52:22 |
Calls: | 510 |
Messages: | 220571 |