[comp.mail.elm] Does elm generate invisible screen updates?

david@wubios.wustl.edu (David J. Camp) (07/08/89)

I am using NCSA_Telnet to connect to our Sun where I run elm 2.2 PL9.
NCSA_Telnet will generate a '/' or a '\' whenever there is activity in
one of your open sessions.  I had a session running elm 2.2 PL9, with no
obvious activity while it sat in the index menu, but I occasionally got
the telnet bips that indicated there was some activity.

I am just curious, does elm spontaneously generate some invisible
characters while you are waiting in the index menu?  -David-

-- 
Bitnet:   david@wubios.wustl                ^      Mr. David J. Camp
Internet: david%wubios@wucs1.wustl.edu    < * >    Box 8067, Biostatistics
uucp:     uunet!wucs1!wubios!david          v      660 South Euclid
Washington University (314) 36-23635               Saint Louis, MO 63110

syd@DSI.COM (Syd Weinstein) (07/08/89)

In article <507@wubios.wustl.edu> david@wubios.wustl.edu (David J. Camp) writes:
:I am using NCSA_Telnet to connect to our Sun where I run elm 2.2 PL9.
:NCSA_Telnet will generate a '/' or a '\' whenever there is activity in
:one of your open sessions.  I had a session running elm 2.2 PL9, with no
:obvious activity while it sat in the index menu, but I occasionally got
:the telnet bips that indicated there was some activity.
:
:I am just curious, does elm spontaneously generate some invisible
:characters while you are waiting in the index menu?  -David-

Yes it does, every TIMEOUT seconds it refreshes the index with new mail.
Elm is dumb, and doesn't know whats on the screen, so it updates part
of the screen.  It only does this while its on the index menu. This is
how it shows you that new mail has arrived.


-- 
=====================================================================
Sydney S. Weinstein, CDP, CCP                   Elm Coordinator
Datacomp Systems, Inc.				Voice: (215) 947-9900
syd@DSI.COM or {bpa,vu-vlsi}!dsinc!syd	        FAX:   (215) 938-0235

rob@PacBell.COM (Rob Bernardo) (07/08/89)

In article <507@wubios.wustl.edu> david@wubios.wustl.edu (David J. Camp) writes:
+I am just curious, does elm spontaneously generate some invisible
+characters while you are waiting in the index menu?  -David-

Yes. The read for  user input times out every now and then so that elm
can run through it's main loop and test for newly arrived mail. Such an
iteration ofthe loop may cause the Command: prompt to be rewritten, but
it certainly causes the cursor to move on the screen.
-- 
Rob Bernardo      ...![backbone]!pacbell!pbhyf!rob -or- rob@pbhyf.PacBell.COM
  Product engineer, UNIX/C Reusable Code Library        Editor, "Go `C' UNIX"
  Office: (415) 823-2417                Pacific * Bell, San Ramon, California
  Residence: (415) 827-4301                     R BAR JB, Concord, California

jonathan@cs.keele.ac.uk (Jonathan Knight) (07/09/89)

From article <5733@pbhyf.PacBell.COM>, by rob@PacBell.COM (Rob Bernardo):
> In article <507@wubios.wustl.edu> david@wubios.wustl.edu (David J. Camp) writes:
> +I am just curious, does elm spontaneously generate some invisible
> +characters while you are waiting in the index menu?  -David-
> 
> Yes. The read for  user input times out every now and then so that elm
> can run through it's main loop and test for newly arrived mail.

In which case I have a bug report.  Elm 2.2 at PL10 does not report new
mail until after the user pushes a key.  It certainly does not read
new mail in as it arrives.  It would be real nice if it did that and
rang a bell to let me know it had done it.  That way my window would
flash each time new mail arrived.
-- 
  ______    JANET :jonathan@uk.ac.keele.cs     Jonathan Knight,
    /       BITNET:jonathan%cs.kl.ac.uk@ukacrl Department of Computer Science
   / _   __ other :jonathan@cs.keele.ac.uk     University of Keele, Keele,
(_/ (_) / / UUCP  :...!ukc!kl-cs!jonathan      Staffordshire.  ST5 5BG.  U.K.

rob@PacBell.COM (Rob Bernardo) (07/11/89)

In article <660@kl-cs.UUCP> jonathan@cs.keele.ac.uk (Jonathan Knight) writes:
+From article <5733@pbhyf.PacBell.COM>, by rob@PacBell.COM (Rob Bernardo):
+> In article <507@wubios.wustl.edu> david@wubios.wustl.edu (David J. Camp) writes:
+> +I am just curious, does elm spontaneously generate some invisible
+> +characters while you are waiting in the index menu?  -David-
+> 
+> Yes. The read for  user input times out every now and then so that elm
+> can run through it's main loop and test for newly arrived mail.
+
+In which case I have a bug report.  Elm 2.2 at PL10 does not report new
+mail until after the user pushes a key.  It certainly does not read
+new mail in as it arrives.  It would be real nice if it did that and
+rang a bell to let me know it had done it.  That way my window would
+flash each time new mail arrived.

The timeout on the read is 10 minutes. The function that reads the user
command returns upon *either* timeout *or* user input. In *either* case,
elm runs through this main loop and tests for new mail.
-- 
Rob Bernardo      ...![backbone]!pacbell!pbhyf!rob -or- rob@pbhyf.PacBell.COM
  Product engineer, UNIX/C Reusable Code Library        Editor, "Go `C' UNIX"
  Office: (415) 823-2417                Pacific * Bell, San Ramon, California
  Residence: (415) 827-4301                     R BAR JB, Concord, California