Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Save gas, don't use the shell.


computers / comp.os.vms / DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

SubjectAuthor
* DCL "READ/TIME_OUT=n" from terminal; timer resets if message writtenScott Snadow
+- Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screSimon Clubley
+* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageVolker Halle
|+* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screScott Snadow
||`* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageRobert A. Brooks
|| +* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageDave Froble
|| |`- Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageArne Vajhøj
|| `* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screStephen Hoffman
||  `- Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screSimon Clubley
|`* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screSimon Clubley
| `- Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageDave Froble
`* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messagegah4
 +* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screStephen Hoffman
 |`* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messagegah4
 | +- Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageChris Townley
 | `- Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screStephen Hoffman
 `* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screSimon Clubley
  `* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageDave Froble
   +* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageDavid Jones
   |+* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screSimon Clubley
   ||+- Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageabrsvc
   ||`* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageDave Froble
   || `* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageArne Vajhøj
   ||  +* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screSimon Clubley
   ||  |`* Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageArne Vajhøj
   ||  | `- Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageJan-Erik Söderholm
   ||  `- Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screStephen Hoffman
   |`- Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageDave Froble
   `- Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if messageJohn Wallace

Pages:12
DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=14995&group=comp.os.vms#14995

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a0c:ef45:: with SMTP id t5mr14320553qvs.26.1621617291769;
Fri, 21 May 2021 10:14:51 -0700 (PDT)
X-Received: by 2002:a05:622a:1014:: with SMTP id d20mr12708684qte.64.1621617291569;
Fri, 21 May 2021 10:14:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 21 May 2021 10:14:51 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=198.186.7.171; posting-account=pCOVfwoAAADgOohphcPIq_YxNmYRxOFE
NNTP-Posting-Host: 198.186.7.171
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
Subject: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written
to screen
From: sco...@snadow.com (Scott Snadow)
Injection-Date: Fri, 21 May 2021 17:14:51 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Scott Snadow - Fri, 21 May 2021 17:14 UTC

I searched but didn't find this mentioned anywhere...

If I do this:

$ READ/TIME_OUT=10 SYS$COMMAND FOOBAR

And while the READ is waiting for me to respond to it, if someone sends a REPLY message to my screen, or if I have a subprocess running that sends some output to my screen, the ten second timer restarts at zero again.

I tested this with a subprocess that just shoots out a message every 9 seconds, and the ten-second READ *never* timed-out.

Tried this on OpenVMS Alpha V7.3-2 and V8.4-2L2, same result.

Anyone else encounter this before? Documented somewhere? Bug? Feature? Etc...

The motivation behind this: During startup, a command procedure asks the operator a few questions; if an operator isn't there, the questions time-out and default answers are assumed. BUT - the timeout is currently set to 60 seconds, and there's a fairly constant stream of OPCOM messages coming to OPA0:, and those messages usually come more frequently than once a minute. End result, the questions never time out and the system never finishes startup.

Yes, I know that other solutions are possible. Shortening the timeout, suppressing the OPCOM messages, etc. But at this point I just want to know if this is "the way it's supposed to work" or not!

Scott

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s88qjr$sq3$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=14996&group=comp.os.vms#14996

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen
Date: Fri, 21 May 2021 17:28:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <s88qjr$sq3$1@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
Injection-Date: Fri, 21 May 2021 17:28:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f8fbefe2ee13716461696436e5273a06";
logging-data="29507"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/0KjjYrZYn2fsf+vNodtuMkdCQLApzAoQ="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:2ssiHNmE7FT/bCfodM4gd0LmfsE=
 by: Simon Clubley - Fri, 21 May 2021 17:28 UTC

On 2021-05-21, Scott Snadow <scott@snadow.com> wrote:
> I searched but didn't find this mentioned anywhere...
>
> If I do this:
>
> $ READ/TIME_OUT=10 SYS$COMMAND FOOBAR
>
> And while the READ is waiting for me to respond to it, if someone sends a REPLY message to my screen, or if I have a subprocess running that sends some output to my screen, the ten second timer restarts at zero again.
>

Now that is a new one on me. :-)

I wonder if this is just a DCL problem or if it's a general terminal
driver problem.

To solve your immediate problem, can you spawn/nowait a subprocess, stall
the main process for about 3-5 minutes, ask the questions in the subprocess,
and then kill the subprocess if the subprocess is still running when the
main process resumes execution ?

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<ef2ec234-b498-483b-9509-61be87e1e2fdn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15006&group=comp.os.vms#15006

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:1389:: with SMTP id k9mr804994qki.483.1621667612403;
Sat, 22 May 2021 00:13:32 -0700 (PDT)
X-Received: by 2002:a05:620a:1097:: with SMTP id g23mr15916384qkk.350.1621667612203;
Sat, 22 May 2021 00:13:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 22 May 2021 00:13:32 -0700 (PDT)
In-Reply-To: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:c0:8f22:163a:6de4:49d2:c737:2ee3;
posting-account=cHmS7AoAAACMYAFH9kP9m4l8qjrXLvte
NNTP-Posting-Host: 2003:c0:8f22:163a:6de4:49d2:c737:2ee3
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ef2ec234-b498-483b-9509-61be87e1e2fdn@googlegroups.com>
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
From: volker_h...@hotmail.com (Volker Halle)
Injection-Date: Sat, 22 May 2021 07:13:32 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Volker Halle - Sat, 22 May 2021 07:13 UTC

Scott,

this is expected and documented behaviour. It has nothing to do with DCL.

https://vmssoftware.com/docs/VSI_IO_REF.pdf

Table 5.6. Read QIO Function Modifiers for the Terminal Driver

IO$M_TIMED ...
If a read operation is interrupted by either a broadcast write or a synchronous write request, the timer operation is restarted.

Volker.

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<2f587564-1b56-4e30-9ac7-a5f93f936cd1n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15008&group=comp.os.vms#15008

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a0c:ef90:: with SMTP id w16mr20122402qvr.28.1621696272704; Sat, 22 May 2021 08:11:12 -0700 (PDT)
X-Received: by 2002:ac8:7956:: with SMTP id r22mr17018289qtt.361.1621696272520; Sat, 22 May 2021 08:11:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 22 May 2021 08:11:12 -0700 (PDT)
In-Reply-To: <ef2ec234-b498-483b-9509-61be87e1e2fdn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=47.187.146.151; posting-account=pCOVfwoAAADgOohphcPIq_YxNmYRxOFE
NNTP-Posting-Host: 47.187.146.151
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com> <ef2ec234-b498-483b-9509-61be87e1e2fdn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2f587564-1b56-4e30-9ac7-a5f93f936cd1n@googlegroups.com>
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen
From: sco...@snadow.com (Scott Snadow)
Injection-Date: Sat, 22 May 2021 15:11:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 23
 by: Scott Snadow - Sat, 22 May 2021 15:11 UTC

On Saturday, May 22, 2021 at 2:13:33 AM UTC-5, Volker Halle wrote:

> this is expected and documented behaviour. It has nothing to do with DCL.
>
> https://vmssoftware.com/docs/VSI_IO_REF.pdf
>
> Table 5.6. Read QIO Function Modifiers for the Terminal Driver
>
> IO$M_TIMED ...
> If a read operation is interrupted by either a broadcast write or a synchronous write request, the timer operation is restarted.

Look at that. It *IS* documented! Thanks Volker for pointing me to that. It also makes sense that it's buried inside of the terminal driver and not in DCL, since I couldn't imagine that DCL would actually be coded to be aware of incoming writes to the terminal from other processes.

VSI, if you're reading this, a documentation enhancement request: Please mention this in the DCL Manual and also in "HELP READ /TIME_OUT" since a casual DCL programmer probably wouldn't be perusing the I/O User's Reference Manual very often!

Scott

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8b7ba$un$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15009&group=comp.os.vms#15009

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: FIRST.L...@vmssoftware.com (Robert A. Brooks)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
Date: Sat, 22 May 2021 11:18:02 -0400
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <s8b7ba$un$1@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
<ef2ec234-b498-483b-9509-61be87e1e2fdn@googlegroups.com>
<2f587564-1b56-4e30-9ac7-a5f93f936cd1n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 22 May 2021 15:18:03 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d02b2af0bd53e525a9bcc34f4c54680b";
logging-data="983"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/un9h63L+BhqBDopUbFPtYJyW0Q9Y/qJYrGIptawxS+A=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
Cancel-Lock: sha1:Nr6mdEkbtA7lvJT7pwPf6dTVEIk=
In-Reply-To: <2f587564-1b56-4e30-9ac7-a5f93f936cd1n@googlegroups.com>
X-Antivirus-Status: Clean
Content-Language: en-US
X-Antivirus: Avast (VPS 210522-0, 05/21/2021), Outbound message
 by: Robert A. Brooks - Sat, 22 May 2021 15:18 UTC

On 5/22/2021 11:11 AM, Scott Snadow wrote:

> VSI, if you're reading this, a documentation enhancement request: Please
> mention this in the DCL Manual and also in "HELP READ /TIME_OUT" since a
> casual DCL programmer probably wouldn't be perusing the I/O User's Reference
> Manual very often!

Noted.

I'll pass it along to the doc team.

--
-- Rob

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8bokr$ek4$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15010&group=comp.os.vms#15010

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
Date: Sat, 22 May 2021 16:14:42 -0400
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <s8bokr$ek4$1@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
<ef2ec234-b498-483b-9509-61be87e1e2fdn@googlegroups.com>
<2f587564-1b56-4e30-9ac7-a5f93f936cd1n@googlegroups.com>
<s8b7ba$un$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 22 May 2021 20:13:15 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b87d8d244797001081647711d0b6f54b";
logging-data="14980"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18OTFGEOVABRa4sdg9bzq/gT7Gr1sV3mxM="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:ufNjxPvVMOizNkK2mxrvwzX4URg=
In-Reply-To: <s8b7ba$un$1@dont-email.me>
 by: Dave Froble - Sat, 22 May 2021 20:14 UTC

On 5/22/2021 11:18 AM, Robert A. Brooks wrote:
> On 5/22/2021 11:11 AM, Scott Snadow wrote:
>
>> VSI, if you're reading this, a documentation enhancement request: Please
>> mention this in the DCL Manual and also in "HELP READ /TIME_OUT" since a
>> casual DCL programmer probably wouldn't be perusing the I/O User's
>> Reference
>> Manual very often!
>
> Noted.
>
> I'll pass it along to the doc team.
>

Ok, the pest is about to possibly show his ignorance.

:-)

All my uses of a timer AST has been with a delta time. All I've ever
needed. But consider:

SUBMIT/AFTER=????

Where ???? is an absolute time. I'm not aware of a timer AST being able
to use an absolute time. Can it? If not, what can?

Curious, not in need.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8bpe6$v14$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15011&group=comp.os.vms#15011

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
Date: Sat, 22 May 2021 16:26:44 -0400
Organization: Aioe.org NNTP Server
Lines: 35
Message-ID: <s8bpe6$v14$1@gioia.aioe.org>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
<ef2ec234-b498-483b-9509-61be87e1e2fdn@googlegroups.com>
<2f587564-1b56-4e30-9ac7-a5f93f936cd1n@googlegroups.com>
<s8b7ba$un$1@dont-email.me> <s8bokr$ek4$1@dont-email.me>
NNTP-Posting-Host: 5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Sat, 22 May 2021 20:26 UTC

On 5/22/2021 4:14 PM, Dave Froble wrote:
> All my uses of a timer AST has been with a delta time.  All I've ever
> needed.  But consider:
>
> SUBMIT/AFTER=????
>
> Where ???? is an absolute time.  I'm not aware of a timer AST being able
> to use an absolute time.  Can it?  If not, what can?
>
> Curious, not in need.

Docs says:

<quote>
$SETIMR
Set Timer — Sets the timer to expire at a specified time. On Alpha and
Integrity server systems, this service accepts 64-bit addresses.

Format
SYS$SETIMR [efn] ,daytim ,[astadr] ,[reqidt] ,[flags]
....
daytim
OpenVMS usage: date_time
type: quadword
access: read only
mechanism: by 64-bit reference (Alpha and Integrity servers)
Time at which the timer expires. The daytim argument is the 64-bit
address (on Alpha and Integrity
server systems) of a quadword time value. A positive time value
specifies an absolute time at which
the timer expires; a negative time value specifies an offset (delta
time) from the current time.
</quote>

Arne

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8c4j3$6it$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15012&group=comp.os.vms#15012

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen
Date: Sat, 22 May 2021 19:37:07 -0400
Organization: HoffmanLabs LLC
Lines: 39
Message-ID: <s8c4j3$6it$1@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com> <ef2ec234-b498-483b-9509-61be87e1e2fdn@googlegroups.com> <2f587564-1b56-4e30-9ac7-a5f93f936cd1n@googlegroups.com> <s8b7ba$un$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="eeef4681d126f2d5ff87bd0e44755431";
logging-data="6749"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rjVe/Zfofj0eSOzrYDtNUW8hRAYi5cwU="
User-Agent: Unison/2.2
Cancel-Lock: sha1:tnKMRco4NRHuF1TYR/dxgP6RpxY=
 by: Stephen Hoffman - Sat, 22 May 2021 23:37 UTC

On 2021-05-22 15:18:02 +0000, Robert A. Brooks said:

> On 5/22/2021 11:11 AM, Scott Snadow wrote:
>
>> VSI, if you're reading this, a documentation enhancement request:
>> Please mention this in the DCL Manual and also in "HELP READ /TIME_OUT"
>> since a casual DCL programmer probably wouldn't be perusing the I/O
>> User's Reference Manual very often!
>
> Noted.
>
> I'll pass it along to the doc team.

Referring to the current behavior as "documented" as per a previous
posting here is, well, generous, and calling this behavior appropriate
yet more generous.

Who here thinks that a broadcast should reset an input timeout timer?
Principle of least surprise and all.

At least with a $qio or $io_perform and a timeout, I can (mostly) avoid
that get-interrupted-and-the-timer-resets mess.

BTW, one of the safer approaches for dealing with this within an app is
to first set an "ignore" flag (interlocked bitlock) somewhere and
either let the $qio or $io_perform AST fire, or set the flag and issue
a $cancel.

OpenVMS lacks means to fire off a thread save via an AST, and the
queuing is necessarily home-grown within the app. But I digress. For
those that haven't looked into it and are working with asynchronous
processing (on other platforms), FRP can get interesting here, too.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15013&group=comp.os.vms#15013

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:644c:: with SMTP id y73mr19832743qkb.331.1621728303999;
Sat, 22 May 2021 17:05:03 -0700 (PDT)
X-Received: by 2002:ae9:e406:: with SMTP id q6mr20195339qkc.406.1621728303881;
Sat, 22 May 2021 17:05:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 22 May 2021 17:05:03 -0700 (PDT)
In-Reply-To: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4979:5551:9375:dd56:9eed;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4979:5551:9375:dd56:9eed
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com>
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
From: gah...@u.washington.edu (gah4)
Injection-Date: Sun, 23 May 2021 00:05:03 +0000
Content-Type: text/plain; charset="UTF-8"
 by: gah4 - Sun, 23 May 2021 00:05 UTC

On Friday, May 21, 2021 at 10:14:53 AM UTC-7, sc...@snadow.com wrote:
> I searched but didn't find this mentioned anywhere...

> If I do this:

> $ READ/TIME_OUT=10 SYS$COMMAND FOOBAR

> And while the READ is waiting for me to respond to it, if someone sends a REPLY
> message to my screen, or if I have a subprocess running that sends some output
> to my screen, the ten second timer restarts at zero again.

Seems to make some sense to me.

If you are supposed to type something, and get interrupted, you should get
extra time. Especially if you have to read and process the message that
came out.

Is there a way to turn off such messages? All except the most important?

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8c7c5$n2l$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15014&group=comp.os.vms#15014

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen
Date: Sat, 22 May 2021 20:24:37 -0400
Organization: HoffmanLabs LLC
Lines: 25
Message-ID: <s8c7c5$n2l$1@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com> <1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="eeef4681d126f2d5ff87bd0e44755431";
logging-data="23637"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+5R8DrbHyYKWyPhV1MivTrf/ySzTAjTw="
User-Agent: Unison/2.2
Cancel-Lock: sha1:86+/yj9uEBfp+nOsykXOJEzEfjo=
 by: Stephen Hoffman - Sun, 23 May 2021 00:24 UTC

On 2021-05-23 00:05:03 +0000, gah4 said:

> If you are supposed to type something, and get interrupted, you should
> get extra time. Especially if you have to read and process the message
> that came out.
>
> Is there a way to turn off such messages? All except the most important?

Page 8-4ff in the old OpenVMS FAQ: http://hoffmanlabs.com/vmsfaq/vmsfaq.pdf

Page 27ff in the doc:
https://vmssoftware.com/docs/VSI_SYS_MGMT_MANUAL_VOL_I.PDF

The few console messages that can't be blocked, well, can't be blocked.
Search for details of the PAGEFRAG and PAGECRIT messages, there.

The OPCOM messages, send that chatter somewhere else other than the
console, if you need to have that chatter logged somewhere other than
OPERATOR.LOG.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<4f9da02c-dda7-4de0-b6bc-7b7b3f8e35fdn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15015&group=comp.os.vms#15015

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:7285:: with SMTP id v5mr21298701qto.247.1621763811344;
Sun, 23 May 2021 02:56:51 -0700 (PDT)
X-Received: by 2002:a37:59c4:: with SMTP id n187mr23603195qkb.218.1621763811201;
Sun, 23 May 2021 02:56:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sun, 23 May 2021 02:56:51 -0700 (PDT)
In-Reply-To: <s8c7c5$n2l$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4979:99ed:8558:eba4:1f7;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4979:99ed:8558:eba4:1f7
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
<1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com> <s8c7c5$n2l$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4f9da02c-dda7-4de0-b6bc-7b7b3f8e35fdn@googlegroups.com>
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
From: gah...@u.washington.edu (gah4)
Injection-Date: Sun, 23 May 2021 09:56:51 +0000
Content-Type: text/plain; charset="UTF-8"
 by: gah4 - Sun, 23 May 2021 09:56 UTC

On Saturday, May 22, 2021 at 5:24:40 PM UTC-7, Stephen Hoffman wrote:

(snip)

> The few console messages that can't be blocked, well, can't be blocked.
> Search for details of the PAGEFRAG and PAGECRIT messages, there.

Are we talking about the console or ordinary user terminals.

I remember some systems, maybe TOPS-10, VMS, and Unix, that allow one to
write to any terminal. Maybe also supply a special command for doing it.
I haven't actually thought about it recently, though.

But I think also have the ability to block them, at least ones from
ordinary users.

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8dbph$o7k$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15016&group=comp.os.vms#15016

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: new...@cct-net.co.uk (Chris Townley)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
Date: Sun, 23 May 2021 11:46:08 +0100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <s8dbph$o7k$1@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
<1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com>
<s8c7c5$n2l$1@dont-email.me>
<4f9da02c-dda7-4de0-b6bc-7b7b3f8e35fdn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 23 May 2021 10:46:09 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="209a56caf75836ebf8f4b74047d9e74a";
logging-data="24820"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GVadzVTyx6TEEwpJzRPw5qSW53so9WM8="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
Cancel-Lock: sha1:ADtSkkTM7+mSZ8RoElnGoL0tvUg=
In-Reply-To: <4f9da02c-dda7-4de0-b6bc-7b7b3f8e35fdn@googlegroups.com>
Content-Language: en-GB
 by: Chris Townley - Sun, 23 May 2021 10:46 UTC

On 23/05/2021 10:56, gah4 wrote:
> On Saturday, May 22, 2021 at 5:24:40 PM UTC-7, Stephen Hoffman wrote:
>
> (snip)
>
>> The few console messages that can't be blocked, well, can't be blocked.
>> Search for details of the PAGEFRAG and PAGECRIT messages, there.
>
> Are we talking about the console or ordinary user terminals.
>
> I remember some systems, maybe TOPS-10, VMS, and Unix, that allow one to
> write to any terminal. Maybe also supply a special command for doing it.
> I haven't actually thought about it recently, though.
>
> But I think also have the ability to block them, at least ones from
> ordinary users.
>
>
SET BROADCAST

--
Chris Townley

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8drr9$898$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15020&group=comp.os.vms#15020

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen
Date: Sun, 23 May 2021 11:20:10 -0400
Organization: HoffmanLabs LLC
Lines: 88
Message-ID: <s8drr9$898$1@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com> <1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com> <s8c7c5$n2l$1@dont-email.me> <4f9da02c-dda7-4de0-b6bc-7b7b3f8e35fdn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="eeef4681d126f2d5ff87bd0e44755431";
logging-data="8488"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/VDEEjVk1umX9uhpV9LmpQqCzkV1rKCvg="
User-Agent: Unison/2.2
Cancel-Lock: sha1:c6AdTEB8XeiYlbUeqpg1XHI9pNA=
 by: Stephen Hoffman - Sun, 23 May 2021 15:20 UTC

On 2021-05-23 09:56:51 +0000, gah4 said:

> On Saturday, May 22, 2021 at 5:24:40 PM UTC-7, Stephen Hoffman wrote:
>
> (snip)
>
>> The few console messages that can't be blocked, well, can't be blocked.
>> Search for details of the PAGEFRAG and PAGECRIT messages, there.
>
> Are we talking about the console or ordinary user terminals.

There are terminal broadcasts which can arise from system services or
via REPLY /TO, there are kernel broadcasts from device drivers and the
kernel, and there are OPCOM-related broadcasts.

The kernel broadcasts are high-IPL last-ditch calls, of which PAGEFRAG
and PAGECRIT are two currently-ill-documented messages, and these two
messages are sent only to the console.

There are a few others. In one project decades ago, I had the device
driver detect and send a message to the console when the device
hardware interrupt vector setting was wrong. There are a few other
examples around.

OPCOM generates an endless buffet of chatter and—outside of those few
sites unfortunately still using actual tape or disk operators still on
the console—are messages rather less than useful for ordinarily
enabling to the console.

And yes, automating some of the OPCOM processing is possible, as is
central collection, but, well, kinda ugly at best. OPCOM itself was
seemingly overdue for an overhaul for Y2K (easier automation, easier
syslogng-style central collection, etc), yet here we are.

The SET BROADCAST command controls the broadcast path, and is a
less-than-preferred but functional means for controlling arriving OPCOM
messages.

OPCOM messages are more commonly controlled using the OPC$* logical
names previously linked, or the older and less-preferred
logical-name-redirection-REPLY command.

The kernel/driver broadcasts for PAGEFRAG and PAGECRIT are
approximately undocumented at VSI at present, not sure what's up with
that. Whether those are now gone from OpenVMS, or "just" gone from the
doc?

> I remember some systems, maybe TOPS-10, VMS, and Unix, that allow one
> to write to any terminal. Maybe also supply a special command for doing
> it. I haven't actually thought about it recently, though.

On OpenVMS, PHONE and REPLY (REPLY /TO, REPLY / ALL, etc) were the
usual commands for that.

On some other systems, messages to the local network were also feasible
at different times with (for instance) the /net send/ command of
Windows.

> But I think also have the ability to block them, at least ones from
> ordinary users.

Most messaging mechanisms do have that, as unrestricted messaging
mechanisms tend to become fodder for harassment.

OPCOM was always less than useful to the console, as it drowns out
other and vastly more important traffic sent to the console device. The
whole of the OpenVMS startup is just hilariously bad, if you look at it
from the perspective of what info you need to the console, and what you
don't. The self-tests and the rest are utter rubbish—absent errors—and
the same holds for the OpenVMS and site-specific startups. Linux has a
vastly better and cleaner design for what is a detailed and
still-chatty startup, and other systems have other less-chatty designs.
What do we care about in a startup as system managers, other than
continued progress to app readiness, and any actual hardware or
software or network errors? More experienced system managers tend to
reduce the startup chatter, too. But by default, the OpenVMS startup is
just hilariously bad. But I've grumped about the startup before, and I
digress. OPCOM is a big contributor to console chatter.

And I don't think that resetting a terminal timeout timer is a
reasonable behavior. That read should time out based on (lack of) user
input (read), not on commonly-unrelated terminal output (write).

--
Pure Personal Opinion | HoffmanLabs LLC

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8g6p4$edv$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15025&group=comp.os.vms#15025

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen
Date: Mon, 24 May 2021 12:39:00 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <s8g6p4$edv$2@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com> <ef2ec234-b498-483b-9509-61be87e1e2fdn@googlegroups.com>
Injection-Date: Mon, 24 May 2021 12:39:00 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9b811ff180b547ff8febabf92cd34147";
logging-data="14783"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TG/BODf9WoS2ldCcDsE8HV0LqENqEsfw="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:4osoIfyKmD9WgepPK6Nf4Wkktc8=
 by: Simon Clubley - Mon, 24 May 2021 12:39 UTC

On 2021-05-22, Volker Halle <volker_halle@hotmail.com> wrote:
> Scott,
>
> this is expected and documented behaviour. It has nothing to do with DCL.
>
> https://vmssoftware.com/docs/VSI_IO_REF.pdf
>
> Table 5.6. Read QIO Function Modifiers for the Terminal Driver
>
> IO$M_TIMED ...
> If a read operation is interrupted by either a broadcast write or a synchronous write request, the timer operation is restarted.
>
> Volker.

What could the point of that behaviour possibly be ???

This sounds to me like someone added timeout support to the terminal driver,
found a bug where the timer gets reset on terminal writes, could not find
a way to easily fix it, so they ended up documenting the bug as expected
behaviour. :-)

If that wasn't the case, and this was actually intended behaviour, then
what could the reasoning for this behaviour possibly be ?

And before everyone jumps on me, just remember that we talking about
a driver that is apparently so convoluted internally that adding code
to allow editing of lines longer than the terminal width is apparently
not viable to do (even though you can do this just fine on other operating
systems).

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8g6v0$edv$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15026&group=comp.os.vms#15026

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen
Date: Mon, 24 May 2021 12:42:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <s8g6v0$edv$3@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com> <ef2ec234-b498-483b-9509-61be87e1e2fdn@googlegroups.com> <2f587564-1b56-4e30-9ac7-a5f93f936cd1n@googlegroups.com> <s8b7ba$un$1@dont-email.me> <s8c4j3$6it$1@dont-email.me>
Injection-Date: Mon, 24 May 2021 12:42:08 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9b811ff180b547ff8febabf92cd34147";
logging-data="14783"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+asOXbmmM9X6TN9tcXPEkcTlK5LkXluIg="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:O57KkoJGnO8+L3yJczW8GvwkXGU=
 by: Simon Clubley - Mon, 24 May 2021 12:42 UTC

On 2021-05-22, Stephen Hoffman <seaohveh@hoffmanlabs.invalid> wrote:
>
> Who here thinks that a broadcast should reset an input timeout timer?

Never. It's utter nonsense to think it should. That timeout was given by
the programmer for a reason.

> Principle of least surprise and all.
>

Well, it's certainly something I didn't know about.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8g75u$edv$4@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15027&group=comp.os.vms#15027

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen
Date: Mon, 24 May 2021 12:45:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <s8g75u$edv$4@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com> <1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com>
Injection-Date: Mon, 24 May 2021 12:45:50 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9b811ff180b547ff8febabf92cd34147";
logging-data="14783"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19C5wGHT+VoW/fy7vw6GlitFBw0Bfqn8VA="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:Vrqe+fydPsb5BzifFkGzYWgMHTw=
 by: Simon Clubley - Mon, 24 May 2021 12:45 UTC

On 2021-05-22, gah4 <gah4@u.washington.edu> wrote:
>
> Seems to make some sense to me.
>
> If you are supposed to type something, and get interrupted, you should get
> extra time. Especially if you have to read and process the message that
> came out.
>

Why ?

You are just typing what you have already decided to type.

To implement it in the way VMS does just leads to the problems the
OP is currently experiencing.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8gbha$r3s$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15031&group=comp.os.vms#15031

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
Date: Mon, 24 May 2021 10:00:47 -0400
Organization: A noiseless patient Spider
Lines: 57
Message-ID: <s8gbha$r3s$1@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
<ef2ec234-b498-483b-9509-61be87e1e2fdn@googlegroups.com>
<s8g6p4$edv$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 24 May 2021 14:00:10 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="236768d37a49f942f0f03584b846f0d1";
logging-data="27772"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UU7kaSGVJcw/LDHEiCW0NR7QQ9Jeb8UQ="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:ndpX0hwFaV4AgSbbgvZladEYSKU=
In-Reply-To: <s8g6p4$edv$2@dont-email.me>
 by: Dave Froble - Mon, 24 May 2021 14:00 UTC

On 5/24/2021 8:39 AM, Simon Clubley wrote:
> On 2021-05-22, Volker Halle <volker_halle@hotmail.com> wrote:
>> Scott,
>>
>> this is expected and documented behaviour. It has nothing to do with DCL.
>>
>> https://vmssoftware.com/docs/VSI_IO_REF.pdf
>>
>> Table 5.6. Read QIO Function Modifiers for the Terminal Driver
>>
>> IO$M_TIMED ...
>> If a read operation is interrupted by either a broadcast write or a synchronous write request, the timer operation is restarted.
>>
>> Volker.
>
> What could the point of that behaviour possibly be ???
>
> This sounds to me like someone added timeout support to the terminal driver,
> found a bug where the timer gets reset on terminal writes, could not find
> a way to easily fix it, so they ended up documenting the bug as expected
> behaviour. :-)
>
> If that wasn't the case, and this was actually intended behaviour, then
> what could the reasoning for this behaviour possibly be ?
>
> And before everyone jumps on me, just remember that we talking about
> a driver that is apparently so convoluted internally that adding code
> to allow editing of lines longer than the terminal width is apparently
> not viable to do (even though you can do this just fine on other operating
> systems).
>
> Simon.
>

Well, Ok, perhaps time for some "devil's advocate" ...

There might be circumstances where if an AST on "something" is
triggered, timer ASTs also get triggered/deleted.

Having written that, it's not something I'd want ...

Which might lead to the question of "how does a timer AST get triggered?"

No source code, so some speculation. A timer AST using a delta time
probably checks the current time, add the delta time, and sets an AST
for the calculated actual time. If so, then the absolute time for the
timer AST to trigger is known (to something), and so I'd ask, why isn't
the timer AST reset using the actual time to trigger?

Just wondering why it's implemented as it currently exists ...

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8gbpv$gt$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15032&group=comp.os.vms#15032

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
Date: Mon, 24 May 2021 10:05:29 -0400
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <s8gbpv$gt$1@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
<1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com>
<s8g75u$edv$4@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 24 May 2021 14:04:47 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="236768d37a49f942f0f03584b846f0d1";
logging-data="541"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GxMhNb6BnHfcCEmW1odje8Vt25LQuUcI="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:RlT/IWWX3oQhDQQWa06SDzfUXxo=
In-Reply-To: <s8g75u$edv$4@dont-email.me>
 by: Dave Froble - Mon, 24 May 2021 14:05 UTC

On 5/24/2021 8:45 AM, Simon Clubley wrote:
> On 2021-05-22, gah4 <gah4@u.washington.edu> wrote:
>>
>> Seems to make some sense to me.
>>
>> If you are supposed to type something, and get interrupted, you should get
>> extra time. Especially if you have to read and process the message that
>> came out.
>>
>
> Why ?
>
> You are just typing what you have already decided to type.
>
> To implement it in the way VMS does just leads to the problems the
> OP is currently experiencing.
>
> Simon.
>

There is the speculation that the timer AST was queued to allow time for
user entry. That might not always be the case. Likely on a read from
terminal in DCL.

My "normal" usage of timer ASTs is that I want to allow some time for
something to happen, and if it doesn't, move on. No speculation on
anything, just stop waiting and move on.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<da63a013-0a16-4ec2-b493-c9dbe753d851n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15033&group=comp.os.vms#15033

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:644c:: with SMTP id y73mr27945463qkb.331.1621870294001;
Mon, 24 May 2021 08:31:34 -0700 (PDT)
X-Received: by 2002:a05:620a:a:: with SMTP id j10mr30818491qki.195.1621870293842;
Mon, 24 May 2021 08:31:33 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 24 May 2021 08:31:33 -0700 (PDT)
In-Reply-To: <s8gbpv$gt$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=74.140.8.188; posting-account=CO-_tAoAAACjjs2KLAw3xVKCy6Z_J3VK
NNTP-Posting-Host: 74.140.8.188
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
<1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com> <s8g75u$edv$4@dont-email.me>
<s8gbpv$gt$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <da63a013-0a16-4ec2-b493-c9dbe753d851n@googlegroups.com>
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
From: osuvma...@gmail.com (David Jones)
Injection-Date: Mon, 24 May 2021 15:31:33 +0000
Content-Type: text/plain; charset="UTF-8"
 by: David Jones - Mon, 24 May 2021 15:31 UTC

On Monday, May 24, 2021 at 10:04:49 AM UTC-4, Dave Froble wrote:
> There is the speculation that the timer AST was queued to allow time for
> user entry. That might not always be the case. Likely on a read from
> terminal in DCL.
>
> My "normal" usage of timer ASTs is that I want to allow some time for
> something to happen, and if it doesn't, move on. No speculation on
> anything, just stop waiting and move on.
> --

I imagine read/time_out=... is using the timeout feature of the terminal driver
and not timer ASTs. The timeout is a feature of the wait for interrupt function
in the kernel, which is why it resets for every character entered (as well as
breakthru writes).

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8giku$424$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15034&group=comp.os.vms#15034

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: johnwall...@yahoo.co.uk (John Wallace)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
Date: Mon, 24 May 2021 17:01:32 +0100
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <s8giku$424$1@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
<1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com>
<s8g75u$edv$4@dont-email.me> <s8gbpv$gt$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 24 May 2021 16:01:34 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="022509813fb655bcc27bf3447030207c";
logging-data="4164"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+ErbJK9nLjjQ+T05Eqqi2QNianL9VSnY="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
Cancel-Lock: sha1:4MD8X75uHQLpTE8Q17+P63luNdI=
In-Reply-To: <s8gbpv$gt$1@dont-email.me>
X-Antivirus-Status: Clean
Content-Language: en-GB
X-Antivirus: Avast (VPS 210523-2, 23/05/2021), Outbound message
 by: John Wallace - Mon, 24 May 2021 16:01 UTC

On 24/05/2021 15:05, Dave Froble wrote:
> On 5/24/2021 8:45 AM, Simon Clubley wrote:
>> On 2021-05-22, gah4 <gah4@u.washington.edu> wrote:
>>>
>>> Seems to make some sense to me.
>>>
>>> If you are supposed to type something, and get interrupted, you
>>> should get
>>> extra time.  Especially if you have to read and process the message that
>>> came out.
>>>
>>
>> Why ?
>>
>> You are just typing what you have already decided to type.
>>
>> To implement it in the way VMS does just leads to the problems the
>> OP is currently experiencing.
>>
>> Simon.
>>
>
> There is the speculation that the timer AST was queued to allow time for
> user entry.  That might not always be the case.  Likely on a read from
> terminal in DCL.
>
> My "normal" usage of timer ASTs is that I want to allow some time for
> something to happen, and if it doesn't, move on.  No speculation on
> anything, just stop waiting and move on.
>

My speculation suggests that the observed controversial behaviour
results from the intentional behaviour of the read_with_prompt QIO (or
equivalent) when used with the optional timeout. This helpfully attempts
to treat the prompt for input and the reading of the input as a
relatively atomic operation.

One reason for doing so might be that in a multi-tasking environment
with more than one program using a particular terminal, it can remain
reasonably simple to work out who is prompting and who will get any input.

Once upon a time it might even have been a "security(ish)" feature - how
do I know which program/whose prompt is going to get my input? I hit
control-R. Obviously security has changed since then, as have lots of
other things.

For what it's worth, I suspect this behaviour goes back at least as far
as RSX11.

Don't like the way it behaves? Try something different; plenty options
to choose from :)

See also e.g. https://en.wikipedia.org/wiki/QIO#IO$_READPROMPT

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8gqb5$cu$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15038&group=comp.os.vms#15038

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen
Date: Mon, 24 May 2021 18:12:53 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <s8gqb5$cu$2@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com> <1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com> <s8g75u$edv$4@dont-email.me> <s8gbpv$gt$1@dont-email.me> <da63a013-0a16-4ec2-b493-c9dbe753d851n@googlegroups.com>
Injection-Date: Mon, 24 May 2021 18:12:53 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9b811ff180b547ff8febabf92cd34147";
logging-data="414"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Y42dxb/pq/Ig+r+i/phW46JtOJeFhnbg="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:fCs8LWY4JPfjzFF4ksg1W7qEjsc=
 by: Simon Clubley - Mon, 24 May 2021 18:12 UTC

On 2021-05-24, David Jones <osuvman50@gmail.com> wrote:
>
> I imagine read/time_out=... is using the timeout feature of the terminal driver
> and not timer ASTs. The timeout is a feature of the wait for interrupt function
> in the kernel, which is why it resets for every character entered (as well as
> breakthru writes).

_If_ that is the case, then the read timeout functionality is broken
IMHO because that is _very_ unexpected behaviour.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<0936a22e-9dd2-4144-8f12-a7cda4e7a17an@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15039&group=comp.os.vms#15039

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a0c:edcf:: with SMTP id i15mr32185786qvr.10.1621881165332;
Mon, 24 May 2021 11:32:45 -0700 (PDT)
X-Received: by 2002:ac8:7cb3:: with SMTP id z19mr28519529qtv.22.1621881165154;
Mon, 24 May 2021 11:32:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 24 May 2021 11:32:44 -0700 (PDT)
In-Reply-To: <s8gqb5$cu$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=96.230.211.194; posting-account=Ysq9BAoAAACGX1EcMMPkdNg4YcTg0TxG
NNTP-Posting-Host: 96.230.211.194
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
<1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com> <s8g75u$edv$4@dont-email.me>
<s8gbpv$gt$1@dont-email.me> <da63a013-0a16-4ec2-b493-c9dbe753d851n@googlegroups.com>
<s8gqb5$cu$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0936a22e-9dd2-4144-8f12-a7cda4e7a17an@googlegroups.com>
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
From: dansabrs...@yahoo.com (abrsvc)
Injection-Date: Mon, 24 May 2021 18:32:45 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: abrsvc - Mon, 24 May 2021 18:32 UTC

On Monday, 24 May 2021 at 14:12:55 UTC-4, Simon Clubley wrote:
> On 2021-05-24, David Jones <osuv...@gmail.com> wrote:
> >
> > I imagine read/time_out=... is using the timeout feature of the terminal driver
> > and not timer ASTs. The timeout is a feature of the wait for interrupt function
> > in the kernel, which is why it resets for every character entered (as well as
> > breakthru writes).
> _If_ that is the case, then the read timeout functionality is broken
> IMHO because that is _very_ unexpected behaviour.
> Simon.
>
> --
> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
> Walking destinations on a map are further away than they appear.

I would put forth the following possibility:

What happens if the number of "messages" is sufficient to prevent the input of a response to the initial question posed to the user? In this case, the input will fail due to lack of input which may revert the system to an unwanted state. While this is not likely to happen, perhaps this is what was in mind when the timer was reset.

We can't know what prompted this behavior (pun intended). However, after 40 years of working this way, we can't know if there are programs or procedures that depend on this behavior.

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8he3v$3e3$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15040&group=comp.os.vms#15040

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
Date: Mon, 24 May 2021 19:52:04 -0400
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <s8he3v$3e3$1@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
<1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com>
<s8g75u$edv$4@dont-email.me> <s8gbpv$gt$1@dont-email.me>
<da63a013-0a16-4ec2-b493-c9dbe753d851n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 24 May 2021 23:50:23 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0035b7481ae100695a169e38f0a21073";
logging-data="3523"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+q+dd5UucxdnOTNizXb2t3f4cCbJSzQyk="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:cT6Xmb3Vf/SsRSWhMAlVPnSttok=
In-Reply-To: <da63a013-0a16-4ec2-b493-c9dbe753d851n@googlegroups.com>
 by: Dave Froble - Mon, 24 May 2021 23:52 UTC

On 5/24/2021 11:31 AM, David Jones wrote:
> On Monday, May 24, 2021 at 10:04:49 AM UTC-4, Dave Froble wrote:
>> There is the speculation that the timer AST was queued to allow time for
>> user entry. That might not always be the case. Likely on a read from
>> terminal in DCL.
>>
>> My "normal" usage of timer ASTs is that I want to allow some time for
>> something to happen, and if it doesn't, move on. No speculation on
>> anything, just stop waiting and move on.
>> --
>
> I imagine read/time_out=... is using the timeout feature of the terminal driver
> and not timer ASTs. The timeout is a feature of the wait for interrupt function
> in the kernel, which is why it resets for every character entered (as well as
> breakthru writes).
>

Thank you David, I was not aware the terminal driver had that timeout
feature. That does explain much.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8he7f$3e3$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15041&group=comp.os.vms#15041

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
Date: Mon, 24 May 2021 19:53:56 -0400
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <s8he7f$3e3$2@dont-email.me>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
<1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com>
<s8g75u$edv$4@dont-email.me> <s8gbpv$gt$1@dont-email.me>
<da63a013-0a16-4ec2-b493-c9dbe753d851n@googlegroups.com>
<s8gqb5$cu$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 24 May 2021 23:52:15 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0035b7481ae100695a169e38f0a21073";
logging-data="3523"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/J9zhO5ut71hhCMVrCXlfxBEOqgNUjtp0="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:Ws/Q9/jJNybiZlsp+EFT1jf1Nqg=
In-Reply-To: <s8gqb5$cu$2@dont-email.me>
 by: Dave Froble - Mon, 24 May 2021 23:53 UTC

On 5/24/2021 2:12 PM, Simon Clubley wrote:
> On 2021-05-24, David Jones <osuvman50@gmail.com> wrote:
>>
>> I imagine read/time_out=... is using the timeout feature of the terminal driver
>> and not timer ASTs. The timeout is a feature of the wait for interrupt function
>> in the kernel, which is why it resets for every character entered (as well as
>> breakthru writes).
>
> _If_ that is the case, then the read timeout functionality is broken
> IMHO because that is _very_ unexpected behaviour.

I don't agree with what you wrote. Yes, I'd prefer a bit different
operation, but, I can understand and accept what's there. Maybe could
be better, but, not broken.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message written to screen

<s8hest$1bet$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15045&group=comp.os.vms#15045

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: DCL "READ/TIME_OUT=n" from terminal; timer resets if message
written to screen
Date: Mon, 24 May 2021 20:03:44 -0400
Organization: Aioe.org NNTP Server
Lines: 33
Message-ID: <s8hest$1bet$1@gioia.aioe.org>
References: <0616ecbc-2cf1-4243-aeb2-ae33b9085353n@googlegroups.com>
<1ff8c8ff-79d0-4ea3-89bc-b973ace0caban@googlegroups.com>
<s8g75u$edv$4@dont-email.me> <s8gbpv$gt$1@dont-email.me>
<da63a013-0a16-4ec2-b493-c9dbe753d851n@googlegroups.com>
<s8gqb5$cu$2@dont-email.me> <s8he7f$3e3$2@dont-email.me>
NNTP-Posting-Host: 5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Tue, 25 May 2021 00:03 UTC

On 5/24/2021 7:53 PM, Dave Froble wrote:
> On 5/24/2021 2:12 PM, Simon Clubley wrote:
>> On 2021-05-24, David Jones <osuvman50@gmail.com> wrote:
>>> I imagine read/time_out=... is using the timeout feature of the
>>> terminal driver
>>> and not timer ASTs. The timeout is a feature of the wait for
>>> interrupt function
>>> in the kernel, which is why it resets for every character entered (as
>>> well as
>>> breakthru writes).
>>
>> _If_ that is the case, then the read timeout functionality is broken
>> IMHO because that is _very_ unexpected behaviour.
>
> I don't agree with what you wrote.  Yes, I'd prefer a bit different
> operation, but, I can understand and accept what's there.  Maybe could
> be better, but, not broken.

I agree.

Not only is it what's there.

As it turned out then it is actually documented behavior.

Actual behavior is expected to follow documented behavior.

It is almost guaranteed that there will be some functionality
where ones expectation without reading the documentation is
different from actual behavior.

Arne

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor