Re: How can I get mail from /var/mail/jatmin to my spoolfile

2009-02-08 Thread Josef Atmin
On Sun, Feb 08, 2009 at 11:15:31AM +0800, bill lam wrote: On Sat, 07 Feb 2009, Josef Atmin wrote: After having discovered macros I came up with the following solution for moving mail from /var/mail/jatmin to ~/INBOX. macro index,pager G \ enter-commandunset wait_keyenter\

Re: How can I get mail from /var/mail/jatmin to my spoolfile

2009-02-08 Thread Josef Atmin
Thanks! Here is the improved macro: macro index,pager G \ enter-commandunset wait_keyenter\ shell-escape\ if [[ -s /var/mail/$USER ]]; then\ mutt_dotlock -p /var/mail/$USER;\ cat /var/mail/$USER ~/INBOX;\ echo -n /var/mail/$USER;\ mutt_dotlock -p -u /var/mail/$USER;\ fireturn\

Re: How can I get mail from /var/mail/jatmin to my spoolfile

2009-02-07 Thread Josef Atmin
After having discovered macros I came up with the following solution for moving mail from /var/mail/jatmin to ~/INBOX. macro index,pager G \ enter-commandunset wait_keyenter\ shell-escape\ if [[ -s /var/mail/$USER ]]; then\ cat /var/mail/$USER ~/INBOX;\ echo -n /var/mail/$USER;\

Re: How can I get mail from /var/mail/jatmin to my spoolfile

2009-02-07 Thread bill lam
On Sat, 07 Feb 2009, Josef Atmin wrote: After having discovered macros I came up with the following solution for moving mail from /var/mail/jatmin to ~/INBOX. macro index,pager G \ enter-commandunset wait_keyenter\ shell-escape\ if [[ -s /var/mail/$USER ]]; then\ cat /var/mail/$USER

How can I get mail from /var/mail/jatmin to my spoolfile ~/INBOX ?

2009-02-06 Thread Josef Atmin
Hello mutt users, I am new to mutt and cannot figure out how to move mail from my local spoolfile /var/mail/jatmin (or /var/spool/mail/jatmin) to my mutt $spoolfile ~/INBOX when I press 'G' (or automatically). I need this for the following reason. Since I work in different cities, I use

Re: How can I get mail from /var/mail/jatmin to my spoolfile ~/INBOX ?

2009-02-06 Thread Ionel Mugurel Ciobica
On 6-02-2009, at 11h 06'55, Ionel Mugurel Ciobica wrote about Re: How can I get mail from /var/mail/jatmin to my spoolfile ~/INBOX ? I have my maibox in file located in $HOME/Mail by simply setting the MAIL variable. I use tcsh so this goes in my .login: setenv MAIL $HOME/Mail/Inbox

Re: How can I get mail from /var/mail/jatmin to my spoolfile

2009-02-06 Thread Josef Atmin
and then synchronization is easy. Any other suggestions? Cheers, Josef. On Fri, Feb 06, 2009 at 11:19:21AM +0100, Ionel Mugurel Ciobica wrote: On 6-02-2009, at 11h 06'55, Ionel Mugurel Ciobica wrote about Re: How can I get mail from /var/mail/jatmin to my spoolfile ~/INBOX ? I have my maibox