Mail notification (csh) in .login help

Mail notification (csh) in .login help

Post by Richard Barb » Wed, 22 Jun 1994 13:19:45



What should I put in my .login to make my default shell (csh)
a) notify me of new mail or old mail at login   and...
b) notify me of when Im logged on when I recieve mail.

I guess all im looking for is a snippet from someones .login or .cshrc or
the appropriate thing.  tnx
rick

--
---
   E am not especially clever,  just basically very average,  E merely try
   to maximise thee effectiveness of whatever gifts or abilities E have by
   focusing them towards what E want to happen.
                                                Genesis P-Orridge
                                                9 Jul 81   TGHQGB

   finger for PGP pub key

 
 
 

Mail notification (csh) in .login help

Post by Willy Seibe » Thu, 23 Jun 1994 00:15:10


|> What should I put in my .login to make my default shell (csh)
|> a) notify me of new mail or old mail at login   and...
|> b) notify me of when Im logged on when I recieve mail.

What about: 'man biff'
Hope this helps.

--
---

-       * Heaven give me words - Heaven let this message reach You *
                        Jung vf guvf ohggba sbe ?

 
 
 

Mail notification (csh) in .login help

Post by Richard Barb » Thu, 23 Jun 1994 02:24:31


Thanks for helping me solve this cranial eclipse of mine!
tnx, rick

--
---
   E am not especially clever,  just basically very average,  E merely try
   to maximise thee effectiveness of whatever gifts or abilities E have by
   focusing them towards what E want to happen.
                                                Genesis P-Orridge
                                                9 Jul 81   TGHQGB

   finger for PGP pub key

 
 
 

Mail notification (csh) in .login help

Post by Todd Park » Thu, 23 Jun 1994 10:27:35


: What should I put in my .login to make my default shell (csh)
: a) notify me of new mail or old mail at login   and...
: b) notify me of when Im logged on when I recieve mail.

: I guess all im looking for is a snippet from someones .login or .cshrc or
: the appropriate thing.  tnx
: rick

====.login=====
nonewmail  #is suposed to prevent multiple instances of newmail program
newmail

 
 
 

Mail notification (csh) in .login help

Post by Jonathan Ch » Fri, 24 Jun 1994 07:00:22



Quote:>What should I put in my .login to make my default shell (csh)
>a) notify me of new mail or old mail at login   and...

The system initial cshrc should do this for you (usually /etc/cshrc)

Quote:>b) notify me of when Im logged on when I recieve mail.

Option 1:

In your .cshrc file add :
        set mail=(0 /usr/spool/mail/$user)

This will check for new mail just before every csh prompt. It's not
immediate, but less annoying.

Option 2:

In your .login file add :
        biff y

If your system has "biff", this'll splat mail-notification on your screen.
It's more immediate than the first option, but gets annoying real fast.
--

#include    <std/disclaimer>     | Voice  : +64.9.489.7020

 
 
 

Mail notification (csh) in .login help

Post by 98711.. » Thu, 30 Jun 1994 07:07:55



Hi,

    You can check the man page of frm which is avialable for showing the
number of unread and new mails, if options are chosen rightly.

    AFter figuring out the suitable command, put it in your .cshrc.

Eugene


>>What should I put in my .login to make my default shell (csh)
>>a) notify me of new mail or old mail at login   and...

>The system initial cshrc should do this for you (usually /etc/cshrc)

>>b) notify me of when Im logged on when I recieve mail.

>Option 1:

>In your .cshrc file add :
>        set mail=(0 /usr/spool/mail/$user)

>This will check for new mail just before every csh prompt. It's not
>immediate, but less annoying.

>Option 2:

>In your .login file add :
>        biff y

>If your system has "biff", this'll splat mail-notification on your screen.
>It's more immediate than the first option, but gets annoying real fast.
>--

>#include    <std/disclaimer>     | Voice  : +64.9.489.7020

 
 
 

Mail notification (csh) in .login help

Post by Danijel Dor » Sun, 31 Jul 1994 02:00:57


: What should I put in my .login to make my default shell (csh)
: a) notify me of new mail or old mail at login   and...
: b) notify me of when Im logged on when I recieve mail.

: I guess all im looking for is a snippet from someones .login or .cshrc or
: the appropriate thing.  tnx
: rick

Well, if you want to just check if you have a mail when u login, all u
have to check if its exist $mail file.
Thats usualy /usr/spool/mail/$user

Now, where u have to put it.
If u run some rsh stuff on that machine from the others machines, put
checking in .login file.
.login executes just ones and thats when u logging in!

DanY.

 
 
 

1. Mail notification under csh on R6000?

While mail notification seems to work fine under ksh, we have
been unable to get it to work under csh, which many of our
users use as their login shell.  Putting the environmental
variable MAIL to, e.g., "5 /usr/spool/mail/username" as described
in the "man pages" for csh doesn't seem to accomplish much.  Is
this a FAQ?

Bruce Johnson
Dept Chem, Rice Univ

2. Stop email bounce for "User unknown"

3. Red Hat FTP install w/EtherExpress Pro/10

4. Mail notification in csh

5. TurboLinus 3.6

6. notification of new mail at login time?

7. HTML Editor for X Window

8. mail notification at login

9. new mail notification at login

10. mail notification at login

11. New Mail Notification on login

12. Mail Notifications, Solaris 2.5 Mail 1.01, Xbiff