Subject: Re: Beeping (fwd)

From: Michael Pomputius <[email-masked]>
Date: Tue, 8 Mar 1994 13:14:42 -0500 (EST)

---------- Forwarded message ----------
Date: Tue, 8 Mar 1994 08:19:45 -0800 (PST)
From: Terry Gray <[email-masked]>
To: Michael Pomputius <[email-masked]>
Subject: Re: Beeping

I'm not sure... you might address the question to the
"[email-masked]" mailing list...

-teg

On Tue, 8 Mar 1994, Michael Pomputius wrote:

> I notice if I suspend Pine (with ctrl-Z) and then try to bring it to the 
> background (with bg %1) or try to run it in the background (read &) it 
> still says Stopped and says tty output.  I was hoping there was some way 
> I could put it in the background and do other stuff, and it would make a 
> beep while I'm doing other stuff alerting me that there's new mail.  This 
> would be nice when I'm at home on my PC without any Xwindows.
> 
> 
>

---

From: Roman Czyborra <[email-masked]>
Date: Wed, 9 Mar 1994 23:27:34 +0100

Michael Pomputius <[email-masked]> wrote:

> still says Stopped and says tty output.

Pine is an interactive program. Why would you want to run it in the
background?  You can suspend it with ^Z and fg, but...

> I was hoping there was some way I could put it in the background and
> do other stuff, and it would make a beep while I'm doing other stuff
> alerting me that there's new mail. This would be nice when I'm at
> home on my PC without any Xwindows.

Oh, I see.  You get the fastest and least expensive notification with
biff y.  If biff is not an option, you can have your shell check for
new mail every 60 seconds or so:

	csh:	set mail = ( 60 /usr/spool/mail/jp17 )
	sh:	MAIL=/usr/spool/mail/jp17 MAILCHECK=60

---

From: Jeff Traigle <[email-masked]>
Date: Wed, 9 Mar 1994 18:46:59 -0500 (EST)

> 	sh:	MAIL=/usr/spool/mail/jp17 MAILCHECK=60

This will of course only works if he's logged into the mail server or if 
his mail spool directory is NFS mounted. Any methods currently available 
for clients? I've had a user ask about this too. I personally just leave 
pine running at all times, but different strokes for different folks.

--
+-----------------------------------------------------------------------------+
|                                 Jeff Traigle                                |
|                             Systems Administrator                           |
+-----------------------------------------------------------------------------+
|  University of Michigan               University of Michigan                |
|  College of Pharmacy                  Biophysics Research Division          |
|  Pharmacy Building, Room 1033         Chemistry Building, Room 3080         |
|  Ann Arbor  MI 48109                  Ann Arbor  MI 48109                   |
+-----------------------------------------------------------------------------+
|  [email-masked]                    Pager: (313) 617-8793                 |
+-----------------------------------------------------------------------------+