• Write

    From DesotoFireflite@VERT/VALHALLA to All on Sat Mar 26 14:10:47 2022
    Is there a way to use the "write" command in js without it using a pause. All I want to do is display a one line comment momentarly without the user having to hit enter. Thanks in advance.ããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã--- Don't eat the yellow snow!ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From Nightfox@VERT/DIGDIST to DesotoFireflite on Sat Mar 26 11:58:52 2022
    Re: Writeã By: DesotoFireflite to All on Sat Mar 26 2022 02:10 pmãã De> Is there a way to use the "write" command in js without it using a pause.ã De> All I want to do is display a one line comment momentarly without the userã De> having to hit enter. Thanks in advance. ããIf you want to have it wait momentarily without user input, you can call mswait and give it a number of milliseconds to pause.ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
  • From Digital Man@VERT to DesotoFireflite on Sat Mar 26 12:18:35 2022
    Re: Writeã By: DesotoFireflite to All on Sat Mar 26 2022 02:10 pmãã > Is there a way to use the "write" command in js without it using a pause.ã > All I want to do is display a one line comment momentarly without the userã > having to hit enter. Thanks in advance.ããI'm not clear what you're asking. Is the screen clearing immediately after or something happening to the text ("comment") your displaying to the user with write()?ã-- ã digital man (rob)ããSling Blade quote #7:ãKarl: I don't reckon the Good Lord would send anybody like you to Hades.ãNorco, CA WX: 74.7øF, 44.0% humidity, 9 mph S wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Andre@VERT/RDOMENTR to Digital Man on Sat Mar 26 16:39:02 2022
    Re: Writeã By: Digital Man to DesotoFireflite on Sat Mar 26 2022 12:18 pmãã DM> I'm not clear what you're asking.ããMy template for when people say something isn't working:ãã1. What are you doing?ã2. What do you expect to happen?ã3. What is actually happening?ããã- Andreãã---ã þ Synchronet þ Radio Mentor BBS - bbs.radiomentor.orgã
  • From DesotoFireflite@VERT/VALHALLA to Digital Man on Sat Mar 26 17:34:49 2022
    Re: Writeã By: Digital Man to DesotoFireflite on Sat Mar 26 2022 12:18 pmãã DM> Re: Writeã DM> By: DesotoFireflite to All on Sat Mar 26 2022 02:10 pmãã >> Is there a way to use the "write" command in js without it using aã >> pause. All I want to do is display a one line comment momentarlyã >> without the user having to hit enter. Thanks in advance.ãã DM> I'm not clear what you're asking. Is the screen clearing immediately afterã DM> or something happening to the text ("comment") your displaying to the userã DM> with write()?ããEverytime I call write, it will display the line, then the pause prompt will follow. I want it so no user activity is required, just show the message. I might us mswait to make it stay there on the screen for a few seconds.ããwrite("\r\n\1h\1rNumber Pad Required!\r\n\r\n");ããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã--- CAT (n.), Furry keyboard cover.ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From DesotoFireflite@VERT/VALHALLA to Nightfox on Sat Mar 26 17:37:07 2022
    Re: Writeã By: Nightfox to DesotoFireflite on Sat Mar 26 2022 11:58 amãã Ni> Re: Writeã Ni> By: DesotoFireflite to All on Sat Mar 26 2022 02:10 pmãã De>> Is there a way to use the "write" command in js without it using aã De>> pause. All I want to do is display a one line comment momentarlyã De>> without the user having to hit enter. Thanks in advance. ãã Ni> If you want to have it wait momentarily without user input, you can callã Ni> mswait and give it a number of milliseconds to pause.ããso just adding the mswait command with the milliseconds will suppress the pause prompt. I'll give it a shot. I've only used mswait one other time, so I wasn't aware. ThanksããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã--- Don't eat the yellow snow!ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From Digital Man@VERT to DesotoFireflite on Sat Mar 26 16:50:49 2022
    Re: Writeã By: DesotoFireflite to Digital Man on Sat Mar 26 2022 05:34 pmãã > Re: Writeã > By: Digital Man to DesotoFireflite on Sat Mar 26 2022 12:18 pmã >ã > DM> Re: Writeã > DM> By: DesotoFireflite to All on Sat Mar 26 2022 02:10 pmã >ã > >> Is there a way to use the "write" command in js without it using aã > >> pause. All I want to do is display a one line comment momentarlyã > >> without the user having to hit enter. Thanks in advance.ã >ã > DM> I'm not clear what you're asking. Is the screen clearing immediatelyã > DM> after or something happening to the text ("comment") your displaying toã > DM> the user with write()?ã >ã > Everytime I call write, it will display the line, then the pause prompt willã > follow.ããMost likely, that pause prompt is *not* because of the write() call but rather because your script has stopped executing and the user is returning to a menu that is displaying a menu with a clear-screen sequence or you script has a clear-screen sequence in (e.g. console.clear()) or is displaying a file that has a clear-screen sequence in it. The write() isn't the issue here.ãã > I want it so no user activity is required, just show the message. Iã > might us mswait to make it stay there on the screen for a few seconds.ã >ã > write("\r\n\1h\1rNumber Pad Required!\r\n\r\n");ããAnd then what happens after that? It's *that* that is causing the screen pause.ã-- ã digital man (rob)ããBreaking Bad quote #16:ãThinking Operation Breath Mint evertime you and me are on a stakeout together.ãNorco, CA WX: 78.1øF, 39.0% humidity, 11 mph SSE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Digital Man@VERT to DesotoFireflite on Sat Mar 26 16:52:19 2022
    Re: Writeã By: DesotoFireflite to Nightfox on Sat Mar 26 2022 05:37 pmãã > Re: Writeã > By: Nightfox to DesotoFireflite on Sat Mar 26 2022 11:58 amã >ã > Ni> Re: Writeã > Ni> By: DesotoFireflite to All on Sat Mar 26 2022 02:10 pmã >ã > De>> Is there a way to use the "write" command in js without it using aã > De>> pause. All I want to do is display a one line comment momentarlyã > De>> without the user having to hit enter. Thanks in advance.ã >ã > Ni> If you want to have it wait momentarily without user input, you canã > Ni> call mswait and give it a number of milliseconds to pause.ã >ã > so just adding the mswait command with the milliseconds will suppress theã > pause prompt.ããNo, an mswait() call will not suppress a pause prompt.ããThe pause prompt is happening because there is a screen clear or scroll and there is unacknowledged/read text on the user's screen. Adding an mswait() call isn't going to change that.ã-- ã digital man (rob)ããRush quote #55:ãHe'd like a lover's wings to fly on, to a tropic isle of Avalon .. Digital ManãNorco, CA WX: 78.1øF, 39.0% humidity, 11 mph SSE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Nightfox@VERT/DIGDIST to DesotoFireflite on Sat Mar 26 17:34:52 2022
    Re: Writeã By: DesotoFireflite to Nightfox on Sat Mar 26 2022 05:37 pmãã De>>> Is there a way to use the "write" command in js without it using aã De>>> pause. All I want to do is display a one line comment momentarlyã De>>> without the user having to hit enter. Thanks in advance. ãã Ni>> If you want to have it wait momentarily without user input, you canã Ni>> call mswait and give it a number of milliseconds to pause.ãã De> so just adding the mswait command with the milliseconds will suppress theã De> pause prompt. I'll give it a shot. I've only used mswait one other time,ã De> so I wasn't aware. Thanks ããmswait() won't suppress any pause prompts; mswait() simply delays for a moment and then lets the script continue on.ãI might be a little confused. What pause are you seeing that you need to suppress?ãI've used write() before and hadn't necessarily seen it cause any pause prompts where the user had to input anything. If you're seeing such a pause prompt, I'm wondering if it might be because it's automatically pausing for input after a screenful of information, perhaps?ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
  • From DesotoFireflite@VERT/VALHALLA to Digital Man on Sun Mar 27 08:11:50 2022
    Re: Writeã By: Digital Man to DesotoFireflite on Sat Mar 26 2022 04:50 pmãã >> Re: Writeã >> By: Digital Man to DesotoFireflite on Sat Mar 26 2022 12:18 pmãã > DM>> Re: Writeã > DM>> By: DesotoFireflite to All on Sat Mar 26 2022 02:10 pmãã > >>> Is there a way to use the "write" command in js without it using aã > >>> pause. All I want to do is display a one line comment momentarlyã > >>> without the user having to hit enter. Thanks in advance.ãã > DM>> I'm not clear what you're asking. Is the screen clearingã > DM>> immediately after or something happening to the text ("comment")ã > DM>> your displaying to the user with write()?ãã >> Everytime I call write, it will display the line, then the pauseã >> prompt will follow.ãã DM> Most likely, that pause prompt is *not* because of the write() call butã DM> rather because your script has stopped executing and the user is returningã DM> to a menu that is displaying a menu with a clear-screen sequence or youã DM> script has a clear-screen sequence in (e.g. console.clear()) or isã DM> displaying a file that has a clear-screen sequence in it. The write()ã DM> isn't the issue here. ãã >> I want it so no user activity is required, just show the message. Iã >> might us mswait to make it stay there on the screen for a few seconds.ãã >> write("\r\n\1h\1rNumber Pad Required!\r\n\r\n");ãã DM> And then what happens after that? It's *that* that is causing the screenã DM> pause.ã ãOK, cool deal, I fully undersatnd. I just got into programing with js, and I'm still learning. It's a big learning curve to me after doing it all with baja. Thanks for the assist.ããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã--- CAT (n.), Furry keyboard cover.ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From DesotoFireflite@VERT/VALHALLA to Nightfox on Sun Mar 27 08:19:57 2022
    Re: Writeã By: Nightfox to DesotoFireflite on Sat Mar 26 2022 05:34 pmãã Ni> Re: Writeã Ni> By: DesotoFireflite to Nightfox on Sat Mar 26 2022 05:37 pmãã De>> so just adding the mswait command with the milliseconds willã De>> suppress the pause prompt. I'll give it a shot. I've only usedã De>> mswait one other time, so I wasn't aware. Thanks ãã Ni> mswait() won't suppress any pause prompts; mswait() simply delays for aã Ni> moment and then lets the script continue on.ã Ni> I might be a little confused. What pause are you seeing that you need toã Ni> suppress?ã Ni> I've used write() before and hadn't necessarily seen it cause any pauseã Ni> prompts where the user had to input anything. If you're seeing such aã Ni> pause prompt, I'm wondering if it might be because it's automaticallyã Ni> pausing for input after a screenful of information, perhaps?ããI think Rob hit the nail on the head. I was using a console clear command afterwords. I am going to tweak it a bit. Everytime I've ever used the write command, I get the pause prompt, and not till today did I realize the commands that I put after that would cause the issues I was having. Thanks for the assist.ããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã--- Don't eat the yellow snow!ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From Digital Man@VERT to DesotoFireflite on Sun Mar 27 11:03:33 2022
    Re: Writeã By: DesotoFireflite to Digital Man on Sun Mar 27 2022 08:11 amãã > DM> And then what happens after that? It's *that* that is causing theã > DM> screen pause.ã >ã > OK, cool deal, I fully undersatnd. I just got into programing with js, andã > I'm still learning. It's a big learning curve to me after doing it all withã > baja. Thanks for the assist.ããNo problem. You'd have exact same auto-pause behavior using Baja functions.ã-- ã digital man (rob)ããSynchronet "Real Fact" #39:ãSynchronet first supported Windows NT v6.x (a.k.a. Vista/Win7) w/v3.14a (2006)ãNorco, CA WX: 60.0øF, 76.0% humidity, 0 mph E wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Ragnarok@VERT/DOCKSUD to DesotoFireflite on Wed Mar 30 19:17:56 2022
    El 26/3/22 a las 18:34, DesotoFireflite escribió:
    Re: Write
    By: Digital Man to DesotoFireflite on Sat Mar 26 2022 12:18 pm

    DM> Re: Write
    DM> By: DesotoFireflite to All on Sat Mar 26 2022 02:10 pm

    >> Is there a way to use the "write" command in js without it using a
    >> pause. All I want to do is display a one line comment momentarly
    >> without the user having to hit enter. Thanks in advance.

    DM> I'm not clear what you're asking. Is the screen clearing immediately after
    DM> or something happening to the text ("comment") your displaying to the user
    DM> with write()?

    Everytime I call write, it will display the line, then the pause prompt will follow. I want it so no user activity is required, just show the message. I might us mswait to make it stay there on the screen for a few seconds.

    write("\r\n\1h\1rNumber Pad Required!\r\n\r\n");

    maybe you have bad size defined at your terminal user settings

    ---
    ï¿­ Synchronet ï¿­ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar