cga2000 | 1 May 02:27

Re: Split-screen mode in mutt?

Thus spake Kyle Wheeler on Sun, Apr 30, 2006 at 10:58:56AM -0400 or thereabouts:
<kyle-mutt <at> memoryhole.net> [2006-04-30 14:51]:
> On Sunday, April 30 at 12:12 AM, quoth cga2000:
> >Thanks. Partly does what I want. Since most displays are wider than 
> >they're high and with 1000+ horizontal pixels pretty much the 
> >standard nowadays, I was hoping there would be some means of 
> >splitting the screen vertically. I always use a full-screen xterm 
> >(occasionally a framebuffer console) at a 1400x1050 resolution and 
> >the result is that mutt uses roughly only one-third of the available 
> >space. With the smallish font I generally use I have 221 characters 
> >/ line.. and since most email messages wrap at column 72 or 
> >thereabout I would have preferred splitting vertically. 
> 
> Unless I???m misunderstanding you, it doesn???t sound like it???s 

<OT>
any idea why the quotes/apostrophes (') in the above "I'm".. "doesn't".. 
"it's" each come out as three question marks in my mutt setup - ie. "I'm"
materializes as "I" + "???" + "m" - are you using some peculiar
encoding or is something broken my end?
</OT>

> particularly necessary for the two sides of your split to talk to each 
> other. 

well, say I'm done reading a particular message and I want to view the
next-in-thread. I can either hit 'i' to return to close the pager and
return to the index, followed by 'j' to move the cursor to the next
message, and then hit enter to view the message.. or remain in the
pager and use the <down> arrow to access the next message.
(Continue reading)

Derek Martin | 1 May 03:54
Gravatar

e-mail encoding/formatting (was Re: Split-screen mode in mutt?)

On Sun, Apr 30, 2006 at 08:27:30PM -0400, cga2000 wrote:
> Thus spake Kyle Wheeler on Sun, Apr 30, 2006 at 10:58:56AM -0400 or thereabouts:
<kyle-mutt <at> memoryhole.net> [2006-04-30 14:51]:

Since we're discussing how e-mail looks, our attribution is one
horribly long and contains a great deal of possibly redundant or
confusing date and time info...  It would be good Netiquette to trim
this down a bit...

> > Unless I???m misunderstanding you, it doesn???t sound like it???s 
> 
> <OT>
> any idea why the quotes/apostrophes (') in the above "I'm".. "doesn't".. 
> "it's" each come out as three question marks in my mutt setup - ie. "I'm"
> materializes as "I" + "???" + "m" - are you using some peculiar
> encoding or is something broken my end?
> </OT>

Kyle is, for some unfathomable reason, rather predisposed to use
"curly quotes" -- much to the detriment of most people who are not
reading mail on a Windows system with the Windows-specific cp1232
character encoding, or using a UTF-8 locale with a fairly complete
universal font.  [How does one even generate these characters on a
Unix system, aside from copy-pasting them from some other source?]
Even better, some Windows applications use this encoding and
incorrectly label the resulting data as iso-8859-1.  Extremely
annoying.

Many, if not most encodings simply don't contain these characters, and
so mutt can (normally) only display them as question marks.  From a
(Continue reading)

cga2000 | 1 May 04:04

running fetchmail from mutt in the background

I have bound the G key to the following command in my .muttrc:

"!fetchmail -v -k -m '/usr/bin/procmail -Yf- &'\n"

I was hoping that the '&' would cause this process to execute in the
background but it seems that this is not working as I expected: 

fetchmail gives me some errors and apparently does not fetch anything.

I got rid of the '&' and everything works fine but I was wondering if
there was any way I could run fetchmail on demand in the background.

Thanks,

cga

Pete Johns | 1 May 04:16
Favicon

Re: e-mail encoding/formatting (was Re: Split-screen mode in mutt?)

On Sun, 2006-04-30 at 21:54:22 -0400, Derek Martin sent:
----8<----
>This has been discussed fairly recently, and there is a
>configuration setting which will make mutt cope with these
>characters... but it would be far nicer if people would just not
>use these largely unavailable and extremely annoying characters
>in their e-mail.  As I'm using a UTF-8 locale with suitable
>fonts, I can see them... so I don't remember the configuration
>option, but no doubt someone will repeat and/or point you to it.
>But these characters have previously annoyed me in mail and
>other contexts (like web pages) for a very long time...  Sigh.
>
I added the following lines to my .muttrc after the last time
this subject came up:

# See: http://wiki.mutt.org/?MuttFaq/Charset
set charset = "//TRANSLIT" #iso-8859-15

Since then I have had no problems reading emails with weird and
wonderful character sets. 

Like HTML emails, the usage of cp1232 is a fact of life. While we
don't like them, there are ways to deal with them without getting
annoyed. Life is too short!

Hope this help;

--paj

--

-- 
(Continue reading)

cga2000 | 1 May 05:49

Re: e-mail encoding/formatting (was Re: Split-screen mode in mutt?)

Thus spake Derek Martin on Sun, Apr 30, 2006 at 09:54:22PM -0400 or thereabouts:
<invalid <at> pizzashack.org> [2006-04-30 22:05]:
[...]
> 
> Kyle is, for some unfathomable reason, rather predisposed to use
> "curly quotes" -- much to the detriment of most people who are not
> reading mail on a Windows system with the Windows-specific cp1232
> character encoding, or using a UTF-8 locale with a fairly complete
> universal font.  [How does one even generate these characters on a
> Unix system, aside from copy-pasting them from some other source?]
> Even better, some Windows applications use this encoding and
> incorrectly label the resulting data as iso-8859-1.  Extremely
> annoying.
> 
.. well I find this very interesting - and thanks for opening a
subthread - so-to-speak - regarding this..

I googled a bit and found an interesting prior thread on this subject.

> Many, if not most encodings simply don't contain these characters, and
> so mutt can (normally) only display them as question marks.  From a
> typesetting-aesthetics perspective, they're kind of neat if your
> system configuration happens to support them, 

I still run mozilla-mail on the side (to help me investigate problems I
may encounter in mutt/slrn) and Kyle's curly quotes are rendered quite
nicely in mozilla-mail when I access his message in newsgroup 
"gmane.mail.mutt.user". And since I am using the same screen
font (xos4/terminus) - both in mutt and mozilla-mail, it should be
possible to convince the former to render the curly quotes correctly.
(Continue reading)

cga2000 | 1 May 05:55

Re: e-mail encoding/formatting (was Re: Split-screen mode in mutt?)

Thus spake Pete Johns on Mon, May 01, 2006 at 12:16:04PM +1000 or thereabouts: <paj-mutt <at> johnsy.com>
[2006-04-30 23:50]:
> On Sun, 2006-04-30 at 21:54:22 -0400, Derek Martin sent:
> ----8<----
> >This has been discussed fairly recently, and there is a
> >configuration setting which will make mutt cope with these
> >characters... but it would be far nicer if people would just not
> >use these largely unavailable and extremely annoying characters
> >in their e-mail.  As I'm using a UTF-8 locale with suitable
> >fonts, I can see them... so I don't remember the configuration
> >option, but no doubt someone will repeat and/or point you to it.
> >But these characters have previously annoyed me in mail and
> >other contexts (like web pages) for a very long time...  Sigh.
> >
> I added the following lines to my .muttrc after the last time
> this subject came up:
> 
> # See: http://wiki.mutt.org/?MuttFaq/Charset
> set charset = "//TRANSLIT" #iso-8859-15

that did the trick.. was not using the correct syntax, for some reason.
thanks a bunch.

cga

Farhan Ahmed | 1 May 06:43
Picon

Re: running fetchmail from mutt in the background

cga2000 wrote:
> (snip)
> 
> I got rid of the '&' and everything works fine but I was wondering if
> there was any way I could run fetchmail on demand in the background.
> 

the daemon option of fetchmail?

Farhan Ahmed
--

-- 
Place		:  Bangalore, Karnataka, India
GPG Key		:  8BE90E98
WengoPhone ID	:  farhanahmed
IRC Nick	:  farhanahmed / farhanahmed06 (irc.freenode.net)
cga2000 | 1 May 08:15

Re: running fetchmail from mutt in the background

Thus spake Farhan Ahmed on Mon, May 01, 2006 at 10:13:41AM +0530 or thereabouts:
<farhanahmed06 <at> gmail.com> [2006-05-01 01:47]:
> cga2000 wrote:
> > (snip)
> > 
> > I got rid of the '&' and everything works fine but I was wondering if
> > there was any way I could run fetchmail on demand in the background.
> > 
> 
> the daemon option of fetchmail?
> 

I was thinking that. I believe I read somewhere (likely in the fetchmail
man page) that if you issue a fetchmail command from a shell this wakes 
up any daemon instance of fetchmail that might be running in the 
background and cause it to fetch your mail immediately.

iow, I could set the daemon to poll my pop servers every 10 minutes, for
instance, and whenever I need fetchmail to do his thing immediately w/o
waiting for his timer to expire, I could cause mutt to run a simple
fetchmail command.

The difficulty might be that I don't know if the fetchmail daemon can
be made to invoke procmail directly the way I currently do it via my
.muttrc command.

I wonder if anyone has done this on a debian system via the fetchmail
script in /etc/init.d/..? 

I had a look at the script the other day and for someone not all that 
(Continue reading)

Farhan Ahmed | 1 May 08:35
Picon

Re: running fetchmail from mutt in the background

cga2000 wrote:
> Thus spake Farhan Ahmed on Mon, May 01, 2006 at 10:13:41AM +0530 or thereabouts:
<farhanahmed06 <at> gmail.com> [2006-05-01 01:47]:
> > (snip)
> > 
> > the daemon option of fetchmail?
> > 
> 
> I was thinking that. I believe I read somewhere (likely in the fetchmail
> man page) that if you issue a fetchmail command from a shell this wakes 
> up any daemon instance of fetchmail that might be running in the 
> background and cause it to fetch your mail immediately.
> 
> iow, I could set the daemon to poll my pop servers every 10 minutes, for
> instance, and whenever I need fetchmail to do his thing immediately w/o
> waiting for his timer to expire, I could cause mutt to run a simple
> fetchmail command.
> 
> The difficulty might be that I don't know if the fetchmail daemon can
> be made to invoke procmail directly the way I currently do it via my
> .muttrc command.
> 
> (snip)

Here's my .fetchmailrc.. It does all the polling every minute and also
invoke procmail:

	set daemon 60
	set syslog
	set postmaster farhan
(Continue reading)

cga2000 | 1 May 09:06

Re: running fetchmail from mutt in the background

Thus spake Farhan Ahmed on Mon, May 01, 2006 at 12:05:52PM +0530 or thereabouts:
<farhanahmed06 <at> gmail.com> [2006-05-01 02:38]:
> cga2000 wrote:
> > Thus spake Farhan Ahmed on Mon, May 01, 2006 at 10:13:41AM +0530 or thereabouts:
<farhanahmed06 <at> gmail.com> [2006-05-01 01:47]:
> > > (snip)
> 
> Here's my .fetchmailrc.. It does all the polling every minute and also
> invoke procmail:
> 
> 	set daemon 60
> 	set syslog
> 	set postmaster farhan
> 
> 	poll pop.gmail.com protocol pop3 and options no dns
> 	    user "farhanahmed06 <at> gmail.com" with pass "xxx" is "farhan" here
> 	    options ssl sslcertck sslcertpath '/home/farhan/.certs'
> 	    mda "/usr/bin/procmail -d %T"
> 
> Notice that I've the line mda "/usr/bin/procmail -d %T" which invokes
> procmail..

that's what I was missing - move the procmail invocation from the
fetchmail command to the .fetchmailrc

> 
> My .muttngrc (i use muttng but syntax and usage of configuration of
> muttng and mutt is almost identical) has lines like this for calling
> fetchmail..
> 
(Continue reading)


Gmane