Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

In Lexington, Kentucky, it's illegal to carry an ice cream cone in your pocket.


dovenet / Synchronet Javascript / Write

SubjectAuthor
* WriteDesotoFireflite
+* WriteNightfox
|`* WriteDesotoFireflite
| +- WriteDigital Man
| `* WriteNightfox
|  `- WriteDesotoFireflite
`* WriteDigital Man
 +- WriteAndre
 `* WriteDesotoFireflite
  +* WriteDigital Man
  |`* WriteDesotoFireflite
  | `- WriteDigital Man
  `- Re: WriteRagnarok

1
Write

<623F5727.708.dove-syncjs@valhalla.synchro.net>

 copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=751&group=DOVE-Net.Synchronet_Javascript#751

 copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: desotofireflite@VERT/VALHALLA (DesotoFireflite)
To: All
Subject: Write
Message-ID: <623F5727.708.dove-syncjs@valhalla.synchro.net>
Date: Sat, 26 Mar 2022 07:10:47 -0400
X-Comment-To: All
Path: rocksolidbbs.com!not-for-mail
Organization: Valhalla Home Services
Newsgroups: DOVE-Net.Synchronet_Javascript
X-FTN-PID: Synchronet 3.19c-Win32 master/0b34b299a Mar 20 2022 MSC 1929
X-FTN-CHRS: CP437 2
WhenImported: 20220326112233-0700 c1e0
WhenExported: 20220326115756-0700 c1e0
ExportedFrom: VERT sync-js 3667
WhenImported: 20220326141047-0400 c12c
WhenExported: 20220326142225-0400 c12c
ExportedFrom: VALHALLA dove-syncjs 708
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: DesotoFireflite - Sat, 26 Mar 2022 11:10 UTC

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

Write

<623F626C.3601.dove_sync_js@digitaldistortionbbs.com>

 copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=752&group=DOVE-Net.Synchronet_Javascript#752

 copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: nightfox@VERT/DIGDIST (Nightfox)
To: DesotoFireflite
Subject: Write
Message-ID: <623F626C.3601.dove_sync_js@digitaldistortionbbs.com>
Date: Sat, 26 Mar 2022 04:58:52 -0700
X-Comment-To: DesotoFireflite
Path: rocksolidbbs.com!not-for-mail
Organization: Digital Distortion
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <623F5727.708.dove-syncjs@valhalla.synchro.net>
References: <623F5727.708.dove-syncjs@valhalla.synchro.net>
X-FTN-PID: Synchronet 3.19c-Win32 master/066055393 Mar 23 2022 MSC 1929
X-FTN-CHRS: CP437 2
WhenImported: 20220326120853-0700 c1e0
WhenExported: 20220326175753-0700 c1e0
ExportedFrom: VERT sync-js 3668
WhenImported: 20220326115852-0700 c1e0
WhenExported: 20220326120849-0700 c1e0
ExportedFrom: DIGDIST dove_sync_js 3601
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Nightfox - Sat, 26 Mar 2022 11:58 UTC

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

Write

<623F670B.3669.sync-js@vert.synchro.net>

 copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=753&group=DOVE-Net.Synchronet_Javascript#753

 copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: digital.man@VERT (Digital Man)
To: DesotoFireflite
Subject: Write
Message-ID: <623F670B.3669.sync-js@vert.synchro.net>
Date: Sat, 26 Mar 2022 05:18:35 -0700
X-Comment-To: DesotoFireflite
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <623F5727.708.dove-syncjs@valhalla.synchro.net>
References: <623F5727.708.dove-syncjs@valhalla.synchro.net>
X-FTN-PID: Synchronet 3.19c-Win32 master/9ac7335f3 Mar 25 2022 MSC 1929
X-FTN-CHRS: CP437 2
WhenImported: 20220326121835-0700 c1e0
WhenExported: 20220326175753-0700 c1e0
ExportedFrom: VERT sync-js 3669
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Sat, 26 Mar 2022 12:18 UTC

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

Write

<623F87F6.1168.dove-syncjs@bbs.radiomentor.org>

 copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=754&group=DOVE-Net.Synchronet_Javascript#754

 copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: andre@VERT/RDOMENTR (Andre)
To: Digital Man
Subject: Write
Message-ID: <623F87F6.1168.dove-syncjs@bbs.radiomentor.org>
Date: Sat, 26 Mar 2022 09:39:02 -0500
X-Comment-To: Digital Man
Path: rocksolidbbs.com!not-for-mail
Organization: Radio Mentor BBS
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <623F670B.3669.sync-js@vert.synchro.net>
References: <623F670B.3669.sync-js@vert.synchro.net>
X-FTN-PID: Synchronet 3.19c-Linux master/f5a4c16bb Mar 24 2022 GCC 9.4.0
X-FTN-CHRS: CP437 2
WhenImported: 20220326151834-0700 c1e0
WhenExported: 20220326175753-0700 c1e0
ExportedFrom: VERT sync-js 3670
WhenImported: 20220326163902-0500 c168
WhenExported: 20220326171832-0500 c168
ExportedFrom: RDOMENTR dove-syncjs 1168
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Andre - Sat, 26 Mar 2022 14:39 UTC

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

Write

<623F86F9.711.dove-syncjs@valhalla.synchro.net>

 copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=755&group=DOVE-Net.Synchronet_Javascript#755

 copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: desotofireflite@VERT/VALHALLA (DesotoFireflite)
To: Digital Man
Subject: Write
Message-ID: <623F86F9.711.dove-syncjs@valhalla.synchro.net>
Date: Sat, 26 Mar 2022 10:34:49 -0400
X-Comment-To: Digital Man
Path: rocksolidbbs.com!not-for-mail
Organization: Valhalla Home Services
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <623F670B.3669.sync-js@vert.synchro.net>
References: <623F670B.3669.sync-js@vert.synchro.net>
X-FTN-PID: Synchronet 3.19c-Win32 master/0b34b299a Mar 20 2022 MSC 1929
X-FTN-CHRS: CP437 2
WhenImported: 20220326152244-0700 c1e0
WhenExported: 20220326175753-0700 c1e0
ExportedFrom: VERT sync-js 3671
WhenImported: 20220326173449-0400 c12c
WhenExported: 20220326182238-0400 c12c
ExportedFrom: VALHALLA dove-syncjs 711
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: DesotoFireflite - Sat, 26 Mar 2022 14:34 UTC

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

Write

<623F8783.712.dove-syncjs@valhalla.synchro.net>

 copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=756&group=DOVE-Net.Synchronet_Javascript#756

 copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: desotofireflite@VERT/VALHALLA (DesotoFireflite)
To: Nightfox
Subject: Write
Message-ID: <623F8783.712.dove-syncjs@valhalla.synchro.net>
Date: Sat, 26 Mar 2022 10:37:07 -0400
X-Comment-To: Nightfox
Path: rocksolidbbs.com!not-for-mail
Organization: Valhalla Home Services
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <623F626C.3601.dove_sync_js@digitaldistortionbbs.com>
References: <623F626C.3601.dove_sync_js@digitaldistortionbbs.com>
X-FTN-PID: Synchronet 3.19c-Win32 master/0b34b299a Mar 20 2022 MSC 1929
X-FTN-CHRS: CP437 2
WhenImported: 20220326152244-0700 c1e0
WhenExported: 20220326175753-0700 c1e0
ExportedFrom: VERT sync-js 3672
WhenImported: 20220326173707-0400 c12c
WhenExported: 20220326182238-0400 c12c
ExportedFrom: VALHALLA dove-syncjs 712
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: DesotoFireflite - Sat, 26 Mar 2022 14:37 UTC

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

Write

<623FA6D9.3673.sync-js@vert.synchro.net>

 copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=757&group=DOVE-Net.Synchronet_Javascript#757

 copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: digital.man@VERT (Digital Man)
To: DesotoFireflite
Subject: Write
Message-ID: <623FA6D9.3673.sync-js@vert.synchro.net>
Date: Sat, 26 Mar 2022 09:50:49 -0700
X-Comment-To: DesotoFireflite
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <623F86F9.711.dove-syncjs@valhalla.synchro.net>
References: <623F86F9.711.dove-syncjs@valhalla.synchro.net>
X-FTN-PID: Synchronet 3.19c-Win32 master/9ac7335f3 Mar 25 2022 MSC 1929
X-FTN-CHRS: CP437 2
WhenImported: 20220326165049-0700 c1e0
WhenExported: 20220326175753-0700 c1e0
ExportedFrom: VERT sync-js 3673
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Sat, 26 Mar 2022 16:50 UTC

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

Write

<623FA733.3674.sync-js@vert.synchro.net>

 copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=758&group=DOVE-Net.Synchronet_Javascript#758

 copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: digital.man@VERT (Digital Man)
To: DesotoFireflite
Subject: Write
Message-ID: <623FA733.3674.sync-js@vert.synchro.net>
Date: Sat, 26 Mar 2022 09:52:19 -0700
X-Comment-To: DesotoFireflite
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <623F8783.712.dove-syncjs@valhalla.synchro.net>
References: <623F8783.712.dove-syncjs@valhalla.synchro.net>
X-FTN-PID: Synchronet 3.19c-Win32 master/9ac7335f3 Mar 25 2022 MSC 1929
X-FTN-CHRS: CP437 2
WhenImported: 20220326165219-0700 c1e0
WhenExported: 20220326175753-0700 c1e0
ExportedFrom: VERT sync-js 3674
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Sat, 26 Mar 2022 16:52 UTC

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

Write

<623FB12C.3609.dove_sync_js@digitaldistortionbbs.com>

 copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=759&group=DOVE-Net.Synchronet_Javascript#759

 copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: nightfox@VERT/DIGDIST (Nightfox)
To: DesotoFireflite
Subject: Write
Message-ID: <623FB12C.3609.dove_sync_js@digitaldistortionbbs.com>
Date: Sat, 26 Mar 2022 10:34:52 -0700
X-Comment-To: DesotoFireflite
Path: rocksolidbbs.com!not-for-mail
Organization: Digital Distortion
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <623F8783.712.dove-syncjs@valhalla.synchro.net>
References: <623F8783.712.dove-syncjs@valhalla.synchro.net>
X-FTN-PID: Synchronet 3.19c-Win32 master/066055393 Mar 23 2022 MSC 1929
X-FTN-CHRS: CP437 2
WhenImported: 20220326174309-0700 c1e0
WhenExported: 20220326175753-0700 c1e0
ExportedFrom: VERT sync-js 3675
WhenImported: 20220326173452-0700 c1e0
WhenExported: 20220326174305-0700 c1e0
ExportedFrom: DIGDIST dove_sync_js 3609
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Nightfox - Sat, 26 Mar 2022 17:34 UTC

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

Write

<62405486.717.dove-syncjs@valhalla.synchro.net>

 copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=760&group=DOVE-Net.Synchronet_Javascript#760

 copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: desotofireflite@VERT/VALHALLA (DesotoFireflite)
To: Digital Man
Subject: Write
Message-ID: <62405486.717.dove-syncjs@valhalla.synchro.net>
Date: Sun, 27 Mar 2022 01:11:50 -0400
X-Comment-To: Digital Man
Path: rocksolidbbs.com!not-for-mail
Organization: Valhalla Home Services
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <623FA6D9.3673.sync-js@vert.synchro.net>
References: <623FA6D9.3673.sync-js@vert.synchro.net>
X-FTN-PID: Synchronet 3.19c-Win32 master/0b34b299a Mar 20 2022 MSC 1929
X-FTN-CHRS: CP437 2
WhenImported: 20220327052323-0700 c1e0
WhenExported: 20220327055760-0700 c1e0
ExportedFrom: VERT sync-js 3676
WhenImported: 20220327081150-0400 c12c
WhenExported: 20220327082318-0400 c12c
ExportedFrom: VALHALLA dove-syncjs 717
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: DesotoFireflite - Sun, 27 Mar 2022 05:11 UTC

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

Write

<6240566D.718.dove-syncjs@valhalla.synchro.net>

 copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=761&group=DOVE-Net.Synchronet_Javascript#761

 copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: desotofireflite@VERT/VALHALLA (DesotoFireflite)
To: Nightfox
Subject: Write
Message-ID: <6240566D.718.dove-syncjs@valhalla.synchro.net>
Date: Sun, 27 Mar 2022 01:19:57 -0400
X-Comment-To: Nightfox
Path: rocksolidbbs.com!not-for-mail
Organization: Valhalla Home Services
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <623FB12C.3609.dove_sync_js@digitaldistortionbbs.com>
References: <623FB12C.3609.dove_sync_js@digitaldistortionbbs.com>
X-FTN-PID: Synchronet 3.19c-Win32 master/0b34b299a Mar 20 2022 MSC 1929
X-FTN-CHRS: CP437 2
WhenImported: 20220327052323-0700 c1e0
WhenExported: 20220327055760-0700 c1e0
ExportedFrom: VERT sync-js 3677
WhenImported: 20220327081957-0400 c12c
WhenExported: 20220327082318-0400 c12c
ExportedFrom: VALHALLA dove-syncjs 718
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: DesotoFireflite - Sun, 27 Mar 2022 05:19 UTC

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

Write

<6240A6F5.3678.sync-js@vert.synchro.net>

 copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=762&group=DOVE-Net.Synchronet_Javascript#762

 copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: digital.man@VERT (Digital Man)
To: DesotoFireflite
Subject: Write
Message-ID: <6240A6F5.3678.sync-js@vert.synchro.net>
Date: Sun, 27 Mar 2022 04:03:33 -0700
X-Comment-To: DesotoFireflite
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <62405486.717.dove-syncjs@valhalla.synchro.net>
References: <62405486.717.dove-syncjs@valhalla.synchro.net>
X-FTN-PID: Synchronet 3.19c-Win32 master/1f0d53ca8 Mar 26 2022 MSC 1929
X-FTN-CHRS: CP437 2
WhenImported: 20220327110333-0700 c1e0
WhenExported: 20220327115755-0700 c1e0
ExportedFrom: VERT sync-js 3678
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Sun, 27 Mar 2022 11:03 UTC

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

Re: Write

<6244D714.3608.dovenetsyncprjs@bbs.docksud.com.ar>

 copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=764&group=DOVE-Net.Synchronet_Javascript#764

 copy link   Newsgroups: DOVE-Net.Sync_JavaScript DOVE-Net.Synchronet_Javascript
From: ragnarok@VERT/DOCKSUD (Ragnarok)
To: DesotoFireflite
Subject: Re: Write
Message-ID: <6244D714.3608.dovenetsyncprjs@bbs.docksud.com.ar>
Date: Wed, 30 Mar 2022 12:17:56 -0300
X-Comment-To: DesotoFireflite
Path: rocksolidbbs.com!not-for-mail
Organization: Dock Sud BBS
Newsgroups: DOVE-Net.Sync_JavaScript,DOVE-Net.Synchronet_Javascript
In-Reply-To: <623F86F9.711.dove-syncjs@valhalla.synchro.net>
References: <623F86F9.711.dove-syncjs@valhalla.synchro.net>
X-FTN-PID: Synchronet 3.19c-Linux master/02c962f23 Mar 15 2022 GCC 6.3.0
X-FTN-CHRS: UTF-8 4
WhenImported: 20220330155508-0700 c1e0
WhenExported: 20220330175762-0700 c1e0
ExportedFrom: VERT sync-js 3680
WhenImported: 20220330191756-0300 ff4c
WhenExported: 20220330195506-0300 ff4c
ExportedFrom: DOCKSUD dovenetsyncprjs 3608
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101Firefox/91.0 Thunderbird/91.7.0
Content-Language: es-AR
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: Ragnarok - Wed, 30 Mar 2022 15:17 UTC

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

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor