Subj : USER_NOPAUSESPIN in user.settings
To   : Nightfox
From : Digital Man
Date : Sun Apr 24 2016 02:54 am

 Re: USER_NOPAUSESPIN in user.settings
 By: Nightfox to All on Sat Apr 23 2016 02:53 pm

> I have a JavaScript script where I'd like to check for the user's spin pause
> setting.  I saw in sbbsdefs.js that USER_NOPAUSESPIN represents no spinning
> cursor at the pause prompt for user.settings.  However, when I check for
> this, it seems it's always true, regardless of my spinning cursor setting.
> I've tried a simple test to ensure I'm correctly checking for it:
>
> if (user.settings & USER_NOPAUSESPIN)
>     console.print("No spin pause");
> else
>     console.print("Spin pause is enabled");
>
> Regardless of whether my spin pause is enabled or not, that code hits the
> "No spin pause" case.
> I've also tried the "if" test this way (which should be equivalent) with the
> same result:
>
> if ((user.settings & USER_NOPAUSESPIN) == USER_NOPAUSESPIN)
>     console.print("No spin pause");
> else
>     console.print("Spin pause is enabled");
>
> I'm not sure if I'm not checking it correctly or if it's a bug in
> Synchronet.  I'm currently running Synchronet 3.17 for Windows built on
> January 3, 2016.

Perhaps you're confusing USER_NOPAUSESPIN for USER_SPIN? The USER_SPIN setting
enables the spinning cursor at all input prompts. The USER_NOPAUSESPIN
*disables* the spinning cursor at the pause prompt (only). One has no effect on
the other.

                                           digital man

Synchronet "Real Fact" #80:
Vertrauen has had the FidoNet node number 1:103/705 since 1992.
Norco, CA WX: 58.6�F, 60.0% humidity, 0 mph NNW wind, 0.00 inches rain/24hrs

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