🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
14 messages
14 total messages Started by Ken Fri, 30 Dec 2005 14:55
tin "new mail" reporting
#178631
Author: Ken
Date: Fri, 30 Dec 2005 14:55
10 lines
1368 bytes
I looked through the man page, but can't find this.  Is there a way to
tell tin not to tell me about new mail?  It sits there saying "You
Have Mail".  Yes, I know, thank you.  If it just told me when I had
NEW mail, that would be fine.  Maybe it's confused because I use
maildir.  I don't know, but if it can't do this correctly, I'd just
rather not have it say anything.

Thanks.

Re: tin "new mail" reporting
#178632
Author: Cortes Banks
Date: Fri, 30 Dec 2005 16:53
10 lines
1548 bytes
Ken <nntp@hellrot.org> wrote:
> I looked through the man page, but can't find this.  Is there a way to
> tell tin not to tell me about new mail?  It sits there saying "You
> Have Mail".  Yes, I know, thank you.  If it just told me when I had
> NEW mail, that would be fine.  Maybe it's confused because I use
> maildir.  I don't know, but if it can't do this correctly, I'd just
> rather not have it say anything.
>
>
Tin is a Newsreader.  It cannot read Mail.
Re: tin "new mail" reporting
#178634
Author: SINNER
Date: Fri, 30 Dec 2005 16:54
21 lines
1811 bytes
* Cortes Banks wrote in news.software.readers:

> Ken <nntp@hellrot.org> wrote:
>> I looked through the man page, but can't find this.  Is there a way to
>> tell tin not to tell me about new mail?  It sits there saying "You
>> Have Mail".  Yes, I know, thank you.  If it just told me when I had
>> NEW mail, that would be fine.  Maybe it's confused because I use
>> maildir.  I don't know, but if it can't do this correctly, I'd just
>> rather not have it say anything.
>>
>>
> Tin is a Newsreader.  It cannot read Mail.
> 

Did you even read the question?

When he starts tin it notifies him he has mail, he wants to turn the 
notification off.

-- 
David
Re: tin "new mail" reporting
#178637
Author: Cortes Banks
Date: Fri, 30 Dec 2005 20:32
24 lines
2157 bytes
SINNER <arcade.master@gmail.com> wrote:
> * Cortes Banks wrote in news.software.readers:
>
>> Ken <nntp@hellrot.org> wrote:
>>> I looked through the man page, but can't find this.  Is there a way to
>>> tell tin not to tell me about new mail?  It sits there saying "You
>>> Have Mail".  Yes, I know, thank you.  If it just told me when I had
>>> NEW mail, that would be fine.  Maybe it's confused because I use
>>> maildir.  I don't know, but if it can't do this correctly, I'd just
>>> rather not have it say anything.
>>>
>>>
>> Tin is a Newsreader.  It cannot read Mail.
>>
>
> Did you even read the question?
>
> When he starts tin it notifies him he has mail, he wants to turn the
> notification off.
>
I thought I did.  I wrote what I wrote because I never had Tin tell me
that I have mail.  And I always thought that Tin is a newsreader period,
not a mailer.  Therefore cannot read mail or notify you that you have
mail.  Am I assumng too much.
Re: tin "new mail" reporting
#178636
Author: Frank Slootweg
Date: Fri, 30 Dec 2005 20:56
30 lines
2563 bytes
SINNER <arcade.master@gmail.com> wrote:
> * Cortes Banks wrote in news.software.readers:
> 
> > Ken <nntp@hellrot.org> wrote:
> >> I looked through the man page, but can't find this.  Is there a way to
> >> tell tin not to tell me about new mail?  It sits there saying "You
> >> Have Mail".  Yes, I know, thank you.  If it just told me when I had
> >> NEW mail, that would be fine.  Maybe it's confused because I use
> >> maildir.  I don't know, but if it can't do this correctly, I'd just
> >> rather not have it say anything.
> >>
> > Tin is a Newsreader.  It cannot read Mail.
> 
> Did you even read the question?
> 
> When he starts tin it notifies him he has mail, he wants to turn the 
> notification off.

  He indeed says that tin notifies him he has mail, but he didn't, at
least not specificall, say it is when he starts tin. He uses 1.6.2, the
same version I am using, and tin never tells me I have mail.

  What I *think* is that he has configured tin to use an *interactive*
mailer, i.e. not the default /bin/mail, and that that *mailer* says "You
Have Mail". Also lots of *shells* say that, so it's quite possible that
at some time a shell is started and that shell thinks it's a
login-shell, so it says "You Have Mail".

  Anyway, it would be nice to hear *when*, i.e. during which tin
operation, the message "You Have Mail" is given.
Re: tin "new mail" reporting
#178638
Author: Urs Janßen
Date: Fri, 30 Dec 2005 22:26
20 lines
1925 bytes
In <dp3hpo$m3r$1@reader2.panix.com>, Ken wrote:
> I looked through the man page, but can't find this.  Is there a way to
> tell tin not to tell me about new mail?  It sits there saying "You

not really, as a workaround you can copile tin with a wrong path to
you maildir. (e.g. configure --with-mailbox=/dev/null)

> Have Mail".  Yes, I know, thank you.  If it just told me when I had
> NEW mail, that would be fine.  Maybe it's confused because I use
> maildir.  I don't know, but if it can't do this correctly, I'd just
> rather not have it say anything.

tin 1.6.x didn't know anything about maildir, tin 1.8.x should handle
maildir correctly (never tested it).

urs
-- 
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."
Re: tin "new mail" reporting
#178639
Author: Urs Janßen
Date: Fri, 30 Dec 2005 22:29
11 lines
1494 bytes
In <%Bdtf.9712$hI1.1235@tornado.socal.rr.com>, Cortes Banks wrote:
> Tin is a Newsreader.  It cannot read Mail.

tin can read mh-style mailboxes (as they are very simmilar to
traditional newsspools).

urs
-- 
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."
Re: tin "new mail" reporting
#178640
Author: SINNER
Date: Fri, 30 Dec 2005 23:09
41 lines
3103 bytes
* Frank Slootweg wrote in news.software.readers:
> SINNER <arcade.master@gmail.com> wrote:
>> * Cortes Banks wrote in news.software.readers:

>> > Ken <nntp@hellrot.org> wrote:
>> >> I looked through the man page, but can't find this.  Is there a way to
>> >> tell tin not to tell me about new mail?  It sits there saying "You
>> >> Have Mail".  Yes, I know, thank you.  If it just told me when I had
>> >> NEW mail, that would be fine.  Maybe it's confused because I use
>> >> maildir.  I don't know, but if it can't do this correctly, I'd just
>> >> rather not have it say anything.

>> > Tin is a Newsreader.  It cannot read Mail.

>> Did you even read the question?

>> When he starts tin it notifies him he has mail, he wants to turn the 
>> notification off.

>   He indeed says that tin notifies him he has mail, but he didn't, at
> least not specificall, say it is when he starts tin. He uses 1.6.2, the
> same version I am using, and tin never tells me I have mail.

Well, coming from a newbie WRT tin, I noticed it the very first time I
started it. His question, to me seemed obvious, unfortunately, I had no
answer. Reading on, I see your point.

>   What I *think* is that he has configured tin to use an *interactive*
> mailer, i.e. not the default /bin/mail, and that that *mailer* says "You
> Have Mail". Also lots of *shells* say that, so it's quite possible that
> at some time a shell is started and that shell thinks it's a
> login-shell, so it says "You Have Mail".

>   Anyway, it would be nice to hear *when*, i.e. during which tin
> operation, the message "You Have Mail" is given.

Here we can all agree.
-- 
David
Debian Hint #19: If you're interested in building packages from source, you
should consider installing the apt-src package.
Re: tin "new mail" reporting
#178657
Author: Frank Slootweg
Date: Sat, 31 Dec 2005 20:47
28 lines
2606 bytes
Urs Janßen <urs@buil.tin.org> wrote:
> In <dp3hpo$m3r$1@reader2.panix.com>, Ken wrote:
> > I looked through the man page, but can't find this.  Is there a way to
> > tell tin not to tell me about new mail?  It sits there saying "You
> 
> not really, as a workaround you can copile tin with a wrong path to
> you maildir. (e.g. configure --with-mailbox=/dev/null)

  I have no idea about this "You Have Mail" stuff (I.e. *what* "mail" is
it checking? Only the News-articles_saved_as_e-mail you talked about in
your other response, or real/normal e-mail?)), but reading your response
and checking the tin(1) manpages on "mail.*dir" (ignore case), I found
"default_maildir" in .tin/tinrc. Can't he just set *that* to a wrong
path, i.e. simpler than (re-)compiling?

  BTW, which *file* is it/tin checking in ~/Mail? (I happen to have all
kind of stuff in ~/Mail, including some mbox-format messages, but, as I
said, I never got/get a "You Have Mail" message.)

> > Have Mail".  Yes, I know, thank you.  If it just told me when I had
> > NEW mail, that would be fine.  Maybe it's confused because I use
> > maildir.  I don't know, but if it can't do this correctly, I'd just
> > rather not have it say anything.
> 
> tin 1.6.x didn't know anything about maildir, tin 1.8.x should handle
> maildir correctly (never tested it).

Frank "Confused!" Slootweg
Re: tin "new mail" reporting
#178661
Author: Cortes Banks
Date: Sat, 31 Dec 2005 23:55
12 lines
1813 bytes
SINNER <99nesorjd@gates_of_hell.invalid> wrote:
> * Frank Slootweg wrote in news.software.readers:
>> SINNER <arcade.master@gmail.com> wrote:
>>> * Cortes Banks wrote in news.software.readers:
>
>>> > Ken <nntp@hellrot.org> wrote:
>
> Well, coming from a newbie WRT tin, I noticed it the very first time I
> started it. His question, to me seemed obvious, unfortunately, I had no
> answer. Reading on, I see your point.
>
What part of tin's window/screen did you see it at?
Re: tin "new mail" reporting
#178663
Author: Urs Janßen
Date: Sun, 01 Jan 2006 03:37
26 lines
2323 bytes
In <43b6ee77$0$195$dbd41001@news.wanadoo.nl>, Frank Slootweg wrote:
>   I have no idea about this "You Have Mail" stuff (I.e. *what* "mail" is
> it checking? Only the News-articles_saved_as_e-mail you talked about in

the users default mail-spool (e.g. /var/mail/$USER)

> your other response, or real/normal e-mail?)), but reading your response
> and checking the tin(1) manpages on "mail.*dir" (ignore case), I found
> "default_maildir" in .tin/tinrc. Can't he just set *that* to a wrong
> path, i.e. simpler than (re-)compiling?

no, this has nothing todo with the users _incoming_ mailbox, that's
the place where tin saves articles in mbox (or mh) format.

>   BTW, which *file* is it/tin checking in ~/Mail? (I happen to have all
> kind of stuff in ~/Mail, including some mbox-format messages, but, as I
> said, I never got/get a "You Have Mail" message.)

it checks the mtime of the users default mail-spool (the path is a
configure option and it's usualy not ~/Mail/)

urs
-- 
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."
Re: tin "new mail" reporting
#178671
Author: Frank Slootweg
Date: Sun, 01 Jan 2006 17:54
34 lines
2841 bytes
Urs Janßen <urs@buil.tin.org> wrote:
> In <43b6ee77$0$195$dbd41001@news.wanadoo.nl>, Frank Slootweg wrote:
> >   I have no idea about this "You Have Mail" stuff (I.e. *what* "mail" is
> > it checking? Only the News-articles_saved_as_e-mail you talked about in
> 
> the users default mail-spool (e.g. /var/mail/$USER)
[deleted]
> it checks the mtime of the users default mail-spool
[deleted]

  I understand.

  BTW, where is this documented?

  Does it really use $USER?
  
  The reason I'm asking is that I can't find the string "USER" (except
for "AUTHINFO USER %s") in the tin executable which I used to run on
UNIX/HP-UX (which did *not* say "You have mail"). The executable
contains "You have mail" and contains "/var/mail" (which HP-UX
used/uses). IIRC, HP-UX did/does not use USER but LOGNAME, so that would
explain why I never saw "You have mail", BUT if the executable does not
contain "USER" then how does it check /var/mail/$USER? So I still don't
understand.

  Also I can not get my current tin 1.6.2 Cygwin executable to say "You
have mail". The string is again in the executable, the executable
contains "/usr/spool/mail" (note "/usr", not "/var", and extra "/spool"
part) and the executable again does *not* contain "USER", but setting
USER=franks and cp-ing a mailbox to /usr/spool/mail/franks still does
not give a "You have mail message". (BTW, /var/mail/franks also did not
work.)

Frank "*Still* confused!" Slootweg
Re: tin "new mail" reporting
#178703
Author: Urs Janßen
Date: Mon, 02 Jan 2006 19:02
39 lines
2766 bytes
In <43b81766$0$86724$dbd4b001@news.wanadoo.nl>, Frank Slootweg wrote:
> > the users default mail-spool (e.g. /var/mail/$USER)
> [deleted]
> > it checks the mtime of the users default mail-spool
> [deleted]
>   BTW, where is this documented?

[doc/INSTALL]
--with-mailbox=PATH (default: empty)
Define the directory for incoming mailboxes. If none is given,
/var/spool/mail, /usr/spool/mail, /var/mail, /usr/mail, and /mail are
checked automatically.

>   Does it really use $USER?

no, it relies on $MAIL or struct passwd->pw_name (so setting $MAIL to
something wrong should help).

>   The reason I'm asking is that I can't find the string "USER" (except
> for "AUTHINFO USER %s") in the tin executable which I used to run on
> UNIX/HP-UX (which did *not* say "You have mail"). The executable
> contains "You have mail" and contains "/var/mail" (which HP-UX
> used/uses). IIRC, HP-UX did/does not use USER but LOGNAME, so that would

if new mail is stored in mbox format below /var/mail/yor_login and tin
is build with that path (check include/autoconf.h after running
configure) it should work.

> explain why I never saw "You have mail", BUT if the executable does not
> contain "USER" then how does it check /var/mail/$USER? So I still don't
> understand.

I used $USER as a shorthand for getpwnam(); passwd->pw_name.

urs
-- 
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."
Re: tin "new mail" reporting
#178826
Author: Ken
Date: Thu, 05 Jan 2006 15:03
21 lines
2001 bytes
Cortes Banks <cort.banx@gmail.com> wrote:
> I thought I did.  I wrote what I wrote because I never had Tin tell me
> that I have mail.  And I always thought that Tin is a newsreader period,
> not a mailer.  Therefore cannot read mail or notify you that you have
> mail.  Am I assumng too much.

You are not assuming too much, at least AFAIK.  And Urs did understand
my question correctly.  I use mutt for email and tin for news.  Tin
just happens to tell me that I have mail or new mail.  I assume it is
indeed reading my $MAIL variable, which points to my maildir spool
folder.  I'm sure this went all weird when my spool folder was
switched from mbox to maildir, so until tin can interpret this
correctly, I'd rather not have it tell me I have mail at all.

Does this make more sense?


-Ken


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads