Thread View: news.software.readers
8 messages
8 total messages
Started by alb
Wed, 09 Apr 2014 09:02
tin: 'you have mail'
Author: alb
Date: Wed, 09 Apr 2014 09:02
Date: Wed, 09 Apr 2014 09:02
19 lines
1477 bytes
1477 bytes
Hi everyone, I've tried to look for this subject on the available documentation but failed. My tin instance is reporting 'You have mail' on the upper right corner of my terminal. How the heck can I check that mail? How did tin receive an email if I have not provided any email settings except for the account I'm using to post? Thanks for any hint, Al -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
Re: tin: 'you have mail'
Author: Dave Sines
Date: Wed, 09 Apr 2014 10:15
Date: Wed, 09 Apr 2014 10:15
13 lines
1603 bytes
1603 bytes
alb <al.basili@gmail.com> wrote: > Hi everyone, > > I've tried to look for this subject on the available documentation but > failed. My tin instance is reporting 'You have mail' on the upper right > corner of my terminal. > > How the heck can I check that mail? tin checks the mailbox named in the environment variable MAIL for unread mail. echo "$MAIL"
Re: tin: 'you have mail'
Author: VanguardLH
Date: Wed, 09 Apr 2014 10:29
Date: Wed, 09 Apr 2014 10:29
17 lines
1923 bytes
1923 bytes
Dave Sines wrote: > alb wrote: > >> My tin instance is reporting 'You have mail' on the upper right >> corner of my terminal. How the heck can I check that mail? > > tin checks the mailbox named in the environment variable MAIL for unread > mail. > > echo "$MAIL" <nitpick> ... except without the double quotes; else, you'd echo to stdout the string for the variable name preceded by a dollar sign character instead of showing the value of that variable. </nitpick>
Re: tin: 'you have mail'
Author: alb
Date: Wed, 09 Apr 2014 11:43
Date: Wed, 09 Apr 2014 11:43
15 lines
1524 bytes
1524 bytes
Hi Dave, Dave Sines <dave.gma+news002@googlemail.com.invalid> wrote: >> I've tried to look for this subject on the available documentation but >> failed. My tin instance is reporting 'You have mail' on the upper right >> corner of my terminal. [] > tin checks the mailbox named in the environment variable MAIL for unread > mail. > > echo "$MAIL" I have no environment variable named MAIL...( 'env | grep MAIL' shows nothing ). Any other idea?
Re: tin: 'you have mail'
Author: Bruce Esquibel
Date: Wed, 09 Apr 2014 13:12
Date: Wed, 09 Apr 2014 13:12
26 lines
2089 bytes
2089 bytes
alb <al.basili@gmail.com> wrote: > I have no environment variable named MAIL...( 'env | grep MAIL' shows > nothing ). > Any other idea? I think (but not sure) a path can be defined at build time, if none is found, then it uses the environment variable. Else the variable overrides the built in default. So it checks either /var/mail or /var/spool/mail for a file matching the username that is running it (/var/mail/bob) and if the time stamp on it is larger than the last time it checked it, it prints the "You Have Mail" thing. There is no way to read it in tin anyway, you have to escape it using the ! then type whatever mail program is available, elm, pine, alpine. When you quit that, it'll return to exactly where you were before the shell escape. But if the mail you get isn't being delivered to the machine you are running tin on, it's just probably reading /tmp or something and the message is in error. -bruce bje@ripco.com
Re: tin: 'you have mail'
Author: Dave Sines
Date: Wed, 09 Apr 2014 13:54
Date: Wed, 09 Apr 2014 13:54
20 lines
1786 bytes
1786 bytes
VanguardLH <V@nguard.lh> wrote:
> Dave Sines wrote:
>> echo "$MAIL"
>
> <nitpick>
> ... except without the double quotes; else, you'd echo to stdout the
> string for the variable name preceded by a dollar sign character instead
> of showing the value of that variable.
> </nitpick>
Assuming a Bourne-type shell, environment variables are expanded within
double quotes. You may have been thinking of single quotes.
fnord=wibble
echo "$fnord"
wibble
echo '$fnord'
$fnord
Re: tin: 'you have mail'
Author: Dave Sines
Date: Wed, 09 Apr 2014 15:00
Date: Wed, 09 Apr 2014 15:00
23 lines
1968 bytes
1968 bytes
alb <al.basili@gmail.com> wrote: > Hi Dave, > Dave Sines <dave.gma+news002@googlemail.com.invalid> wrote: >>> I've tried to look for this subject on the available documentation >>> but failed. My tin instance is reporting 'You have mail' on the upper >>> right corner of my terminal. > [] >> tin checks the mailbox named in the environment variable MAIL for >> unread mail. >> >> echo "$MAIL" > > I have no environment variable named MAIL...( 'env | grep MAIL' shows > nothing ). Bruce is right (elsewhere in this thread) about tin using a compiled-in default value if MAIL isn't set. > Any other idea? Run tin with an empty/non-existent $MAIL: MAIL= tin ...
Re: tin: 'you have mail'
Author: Urs JanΓen
Date: Thu, 10 Apr 2014 18:02
Date: Thu, 10 Apr 2014 18:02
22 lines
2312 bytes
2312 bytes
In <li3h08$1in$1@remote5bge0.ripco.com>, Bruce Esquibel wrote: > I think (but not sure) a path can be defined at build time, if none > is found, configure --with-mailbox= directory for incoming mailboxes (default: empty) "empty" in not quiet correct, if nothing is given here configure will look if any of (in that order) the following dirs do exist and if so use that as default: /var/spool/mail, /usr/spool/mail, /var/mail, /usr/mail, /mail. > then it uses the environment variable. Else the variable overrides the built > in default. MAIL can always be used to override the build in default > So it checks either /var/mail or /var/spool/mail for a file matching the > username that is running it (/var/mail/bob) and if the time stamp on it is > larger than the last time it checked it, it prints the "You Have Mail" > thing. right
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