-
USER_NOPAUSESPIN in user.settings
From
Nightfox@VERT/DIGDIST to
All on Sat Apr 23 14:53:51 2016
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.ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
-
From
Digital Man@VERT to
Nightfox on Sun Apr 24 02:54:32 2016
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 þ [vert/cvs/bbs].synchro.netã
-
From
Nightfox@VERT/DIGDIST to
Digital Man on Sun Apr 24 14:34:57 2016
Re: USER_NOPAUSESPIN in user.settingsã By: Digital Man to Nightfox on Sun Apr 24 2016 02:54:32ãã DM> Perhaps you're confusing USER_NOPAUSESPIN for USER_SPIN? The USER_SPINã DM> setting enables the spinning cursor at all input prompts. Theã DM> USER_NOPAUSESPIN *disables* the spinning cursor at the pause promptã DM> (only). One has no effect on the other.ããI'm not trying to enable/disable anything, I'm only trying to check to see ifãthe user has one of those settings enabled. It looks like if I check forãUSER_SPIN, it works as expected.ããIn the user settings screen, I only see one relevant setting, "SpinningãCursor". I don't see a separate setting for spinning cursor only at the pauseãprompt. Does USER_NOPAUSESPIN correspond to any of the user settings? Or isãit only intended for JavaScript scripts to disable spinning at the pause promptãfor some of the JS functions?ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
-
From
Digital Man@VERT to
Nightfox on Mon Apr 25 02:25:37 2016
Re: USER_NOPAUSESPIN in user.settingsã By: Nightfox to Digital Man on Sun Apr 24 2016 02:34 pmãã > Re: USER_NOPAUSESPIN in user.settingsã > By: Digital Man to Nightfox on Sun Apr 24 2016 02:54:32ã >ã > DM> Perhaps you're confusing USER_NOPAUSESPIN for USER_SPIN? The USER_SPINã > DM> setting enables the spinning cursor at all input prompts. Theã > DM> USER_NOPAUSESPIN *disables* the spinning cursor at the pause promptã > DM> (only). One has no effect on the other.ã >ã > I'm not trying to enable/disable anything, I'm only trying to check to seeã > if the user has one of those settings enabled. It looks like if I check forã > USER_SPIN, it works as expected.ã >ã > In the user settings screen, I only see one relevant setting, "Spinningã > Cursor". I don't see a separate setting for spinning cursor only at theã > pause prompt. Does USER_NOPAUSESPIN correspond to any of the user settings?ããYes, example:ãã[S] Spinning Cursor : Onã...ãWhich or [Q]uit: Sã[û] Spinning cursor on pause prompts? [Yes] Noãã > Or is it only intended for JavaScript scripts to disable spinning at theã > pause prompt for some of the JS functions?ããIt's user toggleable.ãã digital manããSynchronet "Real Fact" #2:ãSynchronet version 2 was written in C and 8086 assembly programming languages.ãNorco, CA WX: 56.0øF, 82.0% humidity, 4 mph SE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã