16 10:40:59
From: Matthias Apitz
To: mutt-users@mutt.org
Subject: Re: fetching mails with mutt/imap
El d?a Sunday, December 04, 2016 a las 09:06:18AM -0500, Jude DaShiell escribi?:
You might be able to use a little expect in that script to catch and
handle mutt's no mail case when that happens.
El día Sunday, December 04, 2016 a las 04:40:59PM +0100, Matthias Apitz
escribió:
> I have added at the end:
>
> ... '; push q"
>
> and it seems to do the trick.
Wrong! It does not fetch anymore :-(
--
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/ ☎
+49-176-38902045
El día Sunday, December 04, 2016 a las 09:06:18AM -0500, Jude DaShiell escribió:
> You might be able to use a little expect in that script to catch and
> handle mutt's no mail case when that happens.
The last two lines in the terminal were the script is running say:
---Mutt: imap://imap.1blu.de
On Sun, Dec 04, 2016 at 10:36:50AM +0100, Matthias Apitz wrote:
> This works fine and fast. The only issue is: when there is no mail to
> read, mutt says "No mail" and does not end by itself. One has to used
> 'q' to end it. Why?
Mutt has some standard checks in front of various operations. For t
You might be able to use a little expect in that script to catch and
handle mutt's no mail case when that happens.
On Sun, 4 Dec 2016, Matthias Apitz wrote:
Date: Sun, 4 Dec 2016 04:36:50
From: Matthias Apitz
To: mutt-users@mutt.org
Subject: fetching mails with mutt/imap
Hello,
Some
Hello,
Sometimes, when connection to Internet costs a lot of money and is
charged connection time based, I use mutt to fetch directly and fast with a
script like this:
#!/bin/sh
#
# ensure the file exists
touch /usr/home/gu