Subject: When loging is it possible

From: Vartan Ghazarian <[email-masked]>
Date: Sun, 3 Mar 1996 22:06:38 -0500

that it shows at the unix prompt how many email you have in your pine.
What i mean..lets say I log in to my account and it says %(shell Prompt)
before that it usually says.."You have mail or you have new mail" is 
there a way it shows how many mail there is?

if anyone knows an answer I would appreciate it..
THanks in advance.

****************************************************************************** 
**VaRtAn vArTaN VaRtAn vArTaN VaRtAn vArTaN VaRtAn vArTaN VaRtAn vArTaN VaR **  
****************************************************************************** 
**		               My Home Page! 			 	    **
**	   http://www-home.calumet.yorku.ca/vghazari/www/home.htm           ** 
** 									    **
** Vartan Ghazarian			Emails: [email-masked]           ** 
** Toronto, Canada			        [email-masked]   **
**      __     __     ___     _____     ________     ___     __    __       **
**     |  |   |  |  /  _  \  |   _  \  |__    __|  /  _  \  |   \ |  |      **
**     |  |   |  | |  |_|  | |  |_)  )    |  |    |  |_|  | |     |  |      **
**      \  \_/  /  |   _   | |   _  <     |  |    |   _   | |  |\    |      **
**        \___/    |__| |__| |__| \__\    |__|    |__| |__| |__|  \__|      **
**								            **
****************************************************************************** 
**VaRtAn vArTaN VaRtAn vArTaN VaRtAn vArTaN VaRtAn vArTaN VaRtAn vArTaN  VaR**  
******************************************************************************

---

From: [email-masked] (Stephen J. Weihman)
Date: 4 Mar 1996 16:35:15 GMT

In article <[email-masked]>,

>there a way it shows how many mail there is?

That's a function of your system, not Pine.  It's generally checked a login
using mail or mailx.  In scanning the man pages for both, I don't see a 
message count option.  Check with your system administrator, they may be 
able to help.

-------------------------------------------------------
--   Stephen J. Weihman   -*-   GTE Data Services    --
-------------------------------------------------------
--   The opinions expressed herein are entirely my   --
--     own, and are not necessarily those of GTE.    --
-------------------------------------------------------

---

From: Simon <[email-masked]>
Date: Tue, 5 Mar 1996 19:08:29 +0000

Try something like:

echo "`from | wc -l` messages in INBOX."

in your .login or whatever.

 ___  _                    _a' /(   <.  #  Simon Bradley: Knight Protector  #
/ __><_>._ _ _  ___ ._ _~~ _}\ \(  _  ) #      E-mail: [email-masked]      #
\__ \| || ' ' |/ . \| ' |     \(,_(,)'  #   Finger: [email-masked]    #
<___/|_||_|_|_|\___/|_|_|    ._>, _>,   # URL: http://www.aber.ac.uk/~syb3/ #

On Sun, 3 Mar 1996, Vartan Ghazarian wrote:

> that it shows at the unix prompt how many email you have in your pine. What
> i mean..lets say I log in to my account and it says %(shell Prompt) before
> that it usually says.."You have mail or you have new mail" is there a way
> it shows how many mail there is?

---

From: [email-masked] ( )
Date: 6 Mar 1996 18:20:01 GMT

You can also try putting one of these in your .login (or whatever):

frm         -- shows who mail is from and the subject
from        -- basically the same as the above
messages    -- will say 'There are 5 messages in your mailbox'

good luck!

Simon ([email-masked]) wrote:
: Try something like:

: echo "`from | wc -l` messages in INBOX."

: in your .login or whatever.

:  ___  _                    _a' /(   <.  #  Simon Bradley: Knight Protector  #
: / __><_>._ _ _  ___ ._ _~~ _}\ \(  _  ) #      E-mail: [email-masked]      #
: \__ \| || ' ' |/ . \| ' |     \(,_(,)'  #   Finger: [email-masked]    #
: <___/|_||_|_|_|\___/|_|_|    ._>, _>,   # URL: http://www.aber.ac.uk/~syb3/ #

: On Sun, 3 Mar 1996, Vartan Ghazarian wrote:

: > that it shows at the unix prompt how many email you have in your pine. What
: > i mean..lets say I log in to my account and it says %(shell Prompt) before
: > that it usually says.."You have mail or you have new mail" is there a way
: > it shows how many mail there is?

---

From: [email-masked] (Sean A Chisham)
Date: 5 Mar 1996 00:24:47 GMT

-----BEGIN PGP SIGNED MESSAGE-----

I do just what you are talking about by using Procmail to filter my
mail. It keeps a log of each piece of mail. It also comes with shell
script to tell where the new mail has been filtered into. Everytime I
log in I get a message saying 

size   #    folder
2013   5    /usr/mail/spool/username
1045   1    procmail
900    1    tubaeuph

	I then know how many and where they were filtered into. Check
out www pages on procmail.

Stephen J. Weihman ([email-masked]) wrote:
: In article <[email-masked]>,
: Vartan Ghazarian <[email-masked]> writes:

: >that it shows at the unix prompt how many email you have in your pine.
: >What i mean..lets say I log in to my account and it says %(shell Prompt)
: >before that it usually says.."You have mail or you have new mail" is 
: >there a way it shows how many mail there is?

: That's a function of your system, not Pine.  It's generally checked a login
: using mail or mailx.  In scanning the man pages for both, I don't see a 
: message count option.  Check with your system administrator, they may be 
: able to help.

- --

Sean Chisham
[email-masked]
finger [email-masked] for public PGP key

---

From: [email-masked] ( )
Date: 11 Mar 1996 04:12:06 GMT

Vartan Ghazarian ([email-masked]) wrote:
: that it shows at the unix prompt how many email you have in your pine.
: What i mean..lets say I log in to my account and it says %(shell Prompt)
: before that it usually says.."You have mail or you have new mail" is 
: there a way it shows how many mail there is?

Try these at your prompt:

frm
from
messages

: if anyone knows an answer I would appreciate it..
: THanks in advance.

: ****************************************************************************** 
: **VaRtAn vArTaN VaRtAn vArTaN VaRtAn vArTaN VaRtAn vArTaN VaRtAn vArTaN VaR **  
: ****************************************************************************** 
: **		               My Home Page! 			 	    **
: **	   http://www-home.calumet.yorku.ca/vghazari/www/home.htm           ** 
: ** 									    **
: ** Vartan Ghazarian			Emails: [email-masked]           ** 
: ** Toronto, Canada			        [email-masked]   **
: **      __     __     ___     _____     ________     ___     __    __       **
: **     |  |   |  |  /  _  \  |   _  \  |__    __|  /  _  \  |   \ |  |      **
: **     |  |   |  | |  |_|  | |  |_)  )    |  |    |  |_|  | |     |  |      **
: **      \  \_/  /  |   _   | |   _  <     |  |    |   _   | |  |\    |      **
: **        \___/    |__| |__| |__| \__\    |__|    |__| |__| |__|  \__|      **
: **								            **
: ****************************************************************************** 
: **VaRtAn vArTaN VaRtAn vArTaN VaRtAn vArTaN VaRtAn vArTaN VaRtAn vArTaN  VaR**  
: ******************************************************************************