Re: X-GPG headers [was: GnuPG and accented characters]

2001-09-19 Thread René Clerc

On Wed, Sep 19, 2001 at 06:59:11AM -0400, David T-G wrote:

[...  ;) ...]

| % This is because of GnuPG: when Mutt asks gpg for a key, and in case
| % gpg doesn't have it, it downloads the key from a server, and passes
| % it back to Mutt. So the retrieving is transparent to Mutt...
| 
| Right.  I think it likely, though, that you have a default value for
| pgp_getkeys_command and are using that.

Nopz. Just deleted your key (sorry), added

set pgp_getkeys_command=""

to my ~/.muttrc and it did download your key again ;). So IMHO if you
have set a good keyserver in your ~/.gnupg/options file, you don't
need the pgp_getkeys_command...

-- 
René Clerc  - ([EMAIL PROTECTED])



Re: :repeat command

2001-09-19 Thread Gary Johnson

On Wed, Sep 19, 2001 at 10:59:31PM -0500, David wrote:

> I would like a command that could repeat the last command...  So If I
> had just hit 's' to save a message to another mailbox, I could hit '.',
> and save another message to that same mailbox. (think vi) 

For that particular case, you can save to the previously-saved-to folder
with

s.

Gary

-- 
Gary Johnson   | Agilent Technologies
[EMAIL PROTECTED]   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |



Re: Address Book for Vim?

2001-09-19 Thread Ryan Allen

the application "abook" (thanks Andre), was exactly what I was looking
for.  It works seamlessly with mutt and vim, and I had it working in a
matter of minutes.  I also produced a script in under an hour that
queried my contacts database and created a .abook.addressbook file.

This is an awesome program, simple and powerful querying capabilites.  It
can be found at:

abook.sourceforge.net

Thanks!  

-- Ryan




* Rino Mardo <[EMAIL PROTECTED]> wrote on [09-18-01y 04:30]:
> On Mon, Sep 17, 2001 at 08:13:39AM -0700 or thereabouts, Ryan Allen wrote:
> > Hi,
> > 
> > I'm just curious what people are using for an address book application
> > if anything at all??  I use vim as my editor for mutt, and would like to
> > know if there are any applications avaliable that work well with mutt
> > and vim.  Curses based would be great, much like pine uses.
> > 
> > What are people using out there, and how are they set up?  
> > Cut and Paste is only efficient for so long
> > 
> there's no separate address book application or an application itself.
> mutt uses can use any text file you've set as your alias.  I have mine
> set as "source ~/.mutt/alias" in my "~/.muttrc" and the format of the
> alias file is:
> 
> alias mutt Mutt Users <[EMAIL PROTECTED]>
> 
> so whenever i type "mutt" in the "To:" field it gets expanded to the
> real email address.  just like an address book application! :-)
> 
> you can also add entries to it using your favorite text editor and
> just following the same format or while viewing an email just hit the
> "a" key to add an alias.
> 
> hth and my 2cents.
> 
> -- 
> "In is out and out is in.  But out is out and in is in."
>   -- Pumbaa





Re: Binding Shift-keys?

2001-09-19 Thread Piet Delport

On Wed, 19 Sep 2001 at 10:49:45 -0400, Miguel Farah F. wrote:
> I find the  key combination for the previous-new command
> quite awkward, and I'd rather remap it to Shift-Tab. However, I can't
> find a way to define this key combination. What am I missing?

I'm not completely sure how you can make shift-tab work[1], but another
approach is getting your Alt key recognised as a meta key, which is what
the escape-prefixed commands in mutt represent.

There are two ways of going about that, corresponding to the two main
ways meta keys are generally handled:

- Configure your terminal to escape-prefix Alt- (i.e. Meta) modified
  keypresses, so that  results in  being sent.

- Configure your terminal to send Alt-modified keys with the meta (8th)
  bit set.  In this case,  will result in the character with
  numeric value 0x89 [2] being sent.  Mutt won't recognise this out-of-
  the box though; you'll have to enable the `meta_key' option in your
  muttrc.

Most terminals should be capable of at least one of those possibilities.
If yours doesn't, switch. :-)

HTH,


[1] It likely depends on what your terminal sends when you press shift
and tab.  If you're determined, you can try and capture it in vi
(for example) by entering insert mode and typing
.  On my computer, that results in:

[Z

where  is a literal escape.  You can then macro that sequence
from your muttrc.  (I had to do this to map  to
delete-thread on my old Cygwin installation.)

[2] Which is the result of 9 (a tab) + 128 (the high bit).

-- 
Piet Delport <[EMAIL PROTECTED]>
Today's subliminal thought is:

 PGP signature


Re: rot13 capability?

2001-09-19 Thread Piet Delport

On Wed, 19 Sep 2001 at 15:09:32 -0400, David T-G wrote:
> ...and then David Champion said...
[snip]
> % Guess someone just can't make up their minds. I wonder whether it's
> % Sun or a standards agency. I wish I still had other platforms
> 
> Yeah.

Well, FreeBSD has the following to say under tr(1):

| COMPATIBILITY
|  System V has historically implemented character ranges using the
|  syntax ``[c-c]'' instead of the ``c-c'' used by historic BSD
|  implementations and standardized by POSIX.  System V shell
|  scripts should work under this implementation as long as the
|  range is intended to map in another range, i.e. the command ``tr
|  [a-z] [A-Z]'' will work as it will map the ``['' character in
|  string1 to the ``['' character in string2.  However, if the shell
|  script is deleting or squeezing characters as in the command ``tr
|  -d [a-z]'', the characters ``['' and ``]'' will be included in
|  the deletion or compression list which would not have happened
|  under an historic System V implementation.

[ Online version of the manpage can be found here:
http://www.FreeBSD.org/cgi/man.cgi?query=tr&apropos=0&sektion=1&manpath=FreeBSD+4.3-stable&format=html
(hope the URL gets through intact) ]

So, under the POSIX standard at least (and *BSD, in this case), the One
True Way is:

tr A-Za-z N-ZA-Mn-za-m

Does that work under Solaris?

> % Well, the lesson is that tr usage varies wildly among platforms,
> % just like expr, but we already knew that. :)

That's what POSIX tries to remedy. :)

> % So maybe it's best just to have your .mailcap call that rot13 shell
> % script, and adapt the script to cope with unames appropriately. Or
> % use perl.
> 
> sh is portable (see other drifted-off-topic thread :-) but with this
> much garbage rolled in I think I will, indeed, go for perl.

Heavens man, have you no concern for efficiency? :-) If the POSIX
version doesn't work under Solaris, i'd rather go for:

tr ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \
   NOPQRSTUVWXYZABCDEFGHIJKLMnopqrstuvwxyzabcdefghijklm

Much more lightweight, and should work practically anywhere, even if
it involves a bit of extra typing.

Also, as for getting mutt to actually use the filter, i'm surprised no
one has pointed at $display_filter yet.

Instead of resorting to hacks involving .mailcap and (horrors :-) editing
the message's content type[1], you can just do something like:

macro pager (   "set display_filter=\nmacro pager \\ca 
)\n"
macro pager )   "set display_filter=rot13\nmacro pager 
\\ca (\n"
macro pager \ca )   "Toggle ROT13 decoding"

(Pity there's no way to force mutt to re-parse the message... i'm using
a double  to simulate one.)

Just replace `rot13' with your chosen filter command and you're set;  no
extra config required, and no risk of munging actual messages.


[1] What happens if the message you're rot'ing is something besides
text/plain, like text/html f'rinstance?  The given macro will just
nuke the content-type from orbit, leaving you looking at HTML
source.

-- 
Piet Delport <[EMAIL PROTECTED]>
Today's subliminal thought is:

 PGP signature


Re: :repeat command

2001-09-19 Thread David


On Wed, Sep 19, 2001 at 10:34:53PM +0200, Piet Delport wrote:
> On Wed, 19 Sep 2001 at 10:57:14 -0400, Miguel Farah F. wrote:
> >  Andy Smith [19/09/2001 10:53] dijo/said:
> > >On Wed, Sep 19, 2001 at 10:30:49AM -0400, Miguel Farah F. wrote:
> > >
> > >> It'd be nice if there was a ":repeat" command that... well...
> > >> repeats the last command as if it had been just retyped.
> > >
> > >Usually you can press the up arrow to scroll back through the
> > >previous commands?
> > 
> > The up and down arrows are binded to the  previous-undeleted and
> > next-undeleted commands...
> 
> Not while in the command-line editor (after pressing `:'), they're not.
> 
> Unless you mean you've explicitly re-bound them as:
> 
> bind editor   
> bind editor 

You could make a macro that does:

'\r'  

Now, that would only affect commands that you have entered on the
command line, which is not exaclty what _I_ want to have (I can't see a
lot of use for repeating commands that way).  But if that is what you
are wanting to repeat, then that should do it.

I would like a command that could repeat the last command...  So If I
had just hit 's' to save a message to another mailbox, I could hit '.',
and save another message to that same mailbox. (think vi) 

/db





Re: mail from specific addresses into seperate mailboxes?

2001-09-19 Thread Miguel Farah F.

 Andreas Ntaflos [19/09/2001 18:35] dijo/said:
>Hello all, 
>   I'm new to this list, althoug I've been using
>Mutt for over a year now (without getting really deep
>into it however :-( ) and I have a probably really 
>dumb question.
>
>How do I config Mutt to have a mailbox file for lets 
>say each of the mailing lists I am subscribed to?
>A filter if you want, that puts mail from a specific
>address into a specific mailbox. 

You can use procmail for this task. Set up a ~/.procmailrc file,
containing a rule ("recipe") for each of the mailing lists, like in
the following examples taken from my own ~/.procmailrc:

-8<8<8<8<8<8<8<-
:0
* ^From:.*[EMAIL PROTECTED]
/home/miguel/Loreilly

:0
* ^(To|Cc):.*[EMAIL PROTECTED]
/home/miguel/Ltse

:0
* ^To:.*([EMAIL PROTECTED]\
|[EMAIL PROTECTED]\
|[EMAIL PROTECTED]\
)
/home/miguel/Lbeard

:0
* ^From:.*[EMAIL PROTECTED]
/home/miguel/Ljms

* ^(To|Cc):.*mutt.org
/home/miguel/Lmutt

-8<8<8<8<8<8<8<-

These rules are pretty basic, by the way. procmail has a LOT of
functionality.

-- 
MIGUEL FARAH  //   [EMAIL PROTECTED]
#include//   http://www.nn.cl/~miguel
<*>
"Trust me - I know what I'm doing."
- Sledge Hammer



Re: mail from specific addresses into seperate mailboxes?

2001-09-19 Thread Enrique de la Torre

Buenas Andreas!

El jue, 20 sep 2001, escribiste:

> 
> How do I config Mutt to have a mailbox file for lets 
> say each of the mailing lists I am subscribed to?
> A filter if you want, that puts mail from a specific
> address into a specific mailbox. 
> Or how do I set up Mutt to have a seperate mailbox
> for a second e-mail address?

  Maybe procmail is what youre looking for... See man page.

   Enrique de la Torre

-- 

Nombre: Enrique de la Torre
Email:  [EMAIL PROTECTED]




Re: character enconding question

2001-09-19 Thread Enrique de la Torre


   I've fixed it with:

editor="emacs --unibyte %s"

It seems works.

Enrique


-- 

Nombre: Enrique de la Torre
Email:  [EMAIL PROTECTED]




mail from specific addresses into seperate mailboxes?

2001-09-19 Thread Andreas Ntaflos

Hello all, 
I'm new to this list, althoug I've been using
Mutt for over a year now (without getting really deep
into it however :-( ) and I have a probably really 
dumb question.

How do I config Mutt to have a mailbox file for lets 
say each of the mailing lists I am subscribed to?
A filter if you want, that puts mail from a specific
address into a specific mailbox. 
Or how do I set up Mutt to have a seperate mailbox
for a second e-mail address?

I am quite sure that this is documented somewhere, I've 
searched the manual on this but didn't quite find what
I needed, although I have to admit that I don't have 
the time to struggle with the (really big) manual at the
moment so I might have missed it out. 

I'd be glad if someone could point me to the according
piece of documentation or give me any useful input on 
this.

thanks and regards
-- 
Andreas Ntaflos, ANT
[EMAIL PROTECTED]



Re: rot13 capability?

2001-09-19 Thread Vineet Kumar

* David Champion ([EMAIL PROTECTED]) [010919 10:38]:
> On 2001.09.19, in <[EMAIL PROTECTED]>,
>   "Miguel Farah F." <[EMAIL PROTECTED]> wrote:
> > Jura ernqvat arjf jvgu gva, vs bar cerffrf gur 'q' xrl, gur pbagrag bs
> > gur negvpyr orvat ernq jvyy or ebg13-rq.
> > 
> > V guvax zhgg pbhyq unir guvf pncnovyvgl, gbb. Jung V qb pheeragyl vf
> > cvcr gur znvy V'z ernqvat gb gur ebg13 pbzznaq va zl ~/ova qverpgbel,
> > ohg vg'f abg nf pbairavrag nf orvat noyr gb qb vg gur gva jnl
> 
> How about this?
> 
> auto_view text/rot-13
> macro index \Ca 
>"text/rot-13text/plain"
> "Display message with ROT-13 encoding"

To use it with PGP (well, PGP/MIME, anyway) or other mime multipart
messages, try this version instead:

macro attach \Ca 
"text/x-rot13text/plain"
 "Display message with ROT-13 encoding"

Also, these don't work so well with the builtin pager, because the
display-message or view-attach commands return immediately in that case.
For the internal pager, you may be better off with something like these
2 macros together:

macro pager \Ca "text/x-rot13" "Display message with 
ROT-13 encoding"
macro pager \CA "text/plain" "Revert message from ROT-13 
back to text/plain"

Does anyone have a better idea of how to make one macro that toggles? Is
there a way to make a "named" macro? Then you could do something like
this:

function1() {
  push "text/x-rot13"
  macro pager \Ca function2
}

function2() {
  push "text/plain"
  macro pager \Ca function1
}

I guess you could effect it with "push":(untested)


 macro pager \Cb 'text/x-rot13macro \Ca "push \CB"'
 macro pager \CB 'text/plainmacro \Ca "push \Cb"'
 macro pager \Ca 'push \Cb'

but you 'lose' a couple of keys that way. I suppose you could make them
some inconvenient keybinding that you'd never use anyway, and then you'd
be all right.

all of these 'toggle' methods also break horribly if you rot13 a message
and then don't change it back before you go off and view other messages.
Well, maybe not horribly; you'll just have to hit \Ca a couple of times
until it straightens itself out.

-- 
Vineet   http://www.anti-dmca.org
Unauthorized use of this .sig may constitute violation of US law.
echo Qba\'g gernq ba zr\! |tr 'a-zA-Z' 'n-za-mN-ZA-M'

 PGP signature


Re: rot13 capability?

2001-09-19 Thread Vineet Kumar

* David Champion ([EMAIL PROTECTED]) [010919 10:38]:
> On 2001.09.19, in <[EMAIL PROTECTED]>,
>   "Miguel Farah F." <[EMAIL PROTECTED]> wrote:
> > Jura ernqvat arjf jvgu gva, vs bar cerffrf gur 'q' xrl, gur pbagrag bs
> > gur negvpyr orvat ernq jvyy or ebg13-rq.
> > 
> > V guvax zhgg pbhyq unir guvf pncnovyvgl, gbb. Jung V qb pheeragyl vf
> > cvcr gur znvy V'z ernqvat gb gur ebg13 pbzznaq va zl ~/ova qverpgbel,
> > ohg vg'f abg nf pbairavrag nf orvat noyr gb qb vg gur gva jnl
> 
> How about this?
> 
> auto_view text/rot-13
> macro index \Ca 
>"text/rot-13text/plain"
> "Display message with ROT-13 encoding"
> 
> $ grep rot-13 ~/.mailcap
> text/rot-13; tr '[A-Z][a-z]' '[N-Z][A-M][n-z][a-m]' <%s; copiousoutput
> 
> That's the only way to get a filter to display inside the pager: set the
> content-type so that a MIME content handler applies.
> 
> -- 
>  -D.  [EMAIL PROTECTED]NSITUniversity of Chicago
> 

You maniac! You'd better watch out what you do with that; if you use it
to decipher my signature I'll send the FBI after you for violating the
DMCA.

=p

-- 
Vineet   http://www.anti-dmca.org
Unauthorized use of this .sig may constitute violation of US law.
echo Qba\'g gernq ba zr\! |tr 'a-zA-Z' 'n-za-mN-ZA-M'

 PGP signature


Re: OT: Trying to install mailman

2001-09-19 Thread Matěj Cepl

On Fri, Sep 14, 2001 at 05:56:14AM +, matej wrote:
> trying to get off-line IMAP up and running (on RedHat 7.0/i386). Tried
> isync, but it unfortunately use maildir format for mailboxes (I prefer
> standard mbox). So, I found a mailsync (on
> http://mailsync.sourceforge.net). However, I have no success with its
> compilation. First, I tried to compile it with imap-devel-2001.3 package
> by setting up particular variables to /usr/include, but it failed saying 
> that it is not possible *or, and *not in the names of variables  with
> C++. Therefore, I tried to compile original c-library from
> imap-2001.BETA.SNAP-0107221451 from UW IMAP homepage. No, success (the 
> same mistake -- only it complained also about *and, to make it complete 
> :-).
> 
> Does anybody have succeeded with compilation of mailsync and could he 
> send me working .src.rpm, please? Or would anybody advice, what should 
> I do to be able to compile (preferably, over imap-devel) mailsync? Or 
> is it possible to persuade insync to use mbox folders?

Hi,

when nobody helped me, I had to help myself! Although, I have not 
succeed in compilation of mailsync yet, I have get isync up and running 
(although, I had to change my inbox to maildir -- oh, well). However, I 
would like to warn everybody that it is really necessary to put in your 
.muttrc following line:

set maildir_trash=yes

Moreover, due to reasons unknown to me, isync 0.5 doesn't seem to react 
on 'Expunge yes' in my .isyncrc (see attached), but -e parametr on 
command line works.

Another victory, so that my wife won't laugh me, that I was not able to 
do something which was easy with her Windows notebook. :-)

Have a nice day and happy emailing

Matej Cepl

-- 
Now there were some present at that time who told Jesus about the 
Galileans whose blood Pilate has mixed with their sacrifices. "Do you 
think that these Galileans were worse sinners than all the other 
Galilelans because they suffered this way? I tell you, no! But UNLESS 
YOU REPENT, YOU TOO WILL ALL PERISH.
-- Luke 13,1-4 NIV

# $Id: isyncrc,v 1.3 2001/09/15 17:54:54 matej Exp $

# Global configuration section
#   Values here are used as defaults for any following Mailbox section that
#   doesn't specify it.

# by default, expunge deleted messages (same as -e on command line)
Expunge yes
MailDir /home/matej/.mail

# copy deleted messages to the IMAP "Trash" folder
CopyDeletedTo Trash

# my default username, if different from the local username
Hostlynx.neu.edu
User johndoe
Pass*
RequireSSL no
Port143
MaxSize 0

###
### Mail na Lynx.neu.edu
###

Mailbox inbox
Box inbox
# define a shortcut so I can just use "isync work" from the command line
Alias   lynx-inbox

Mailbox draft
Box postponed
Alias lynx-draft



does %F index_format option in verson 1.0.1i not work right?

2001-09-19 Thread Ben Johnson

I am using Mutt 1.0.1i (2000-01-18) and I have my index_format set list
this...

set index_format="%4C %Z %{%b %d} %-15.15F (%4l) %s"

the %F option does not seem to work correctly because email address
>From from me shows up as being from "Ben Johnson". All other
installations of mutt I have ever used set this column to
"To " when the message is from me.

I am using the same config file I use on all other working systems so I
think it must me a problem with this specific version of mutt.  Is that
right?  Is there an easy way to fix it?

Thanks very much in advance for any help!

- Ben



Re: Mutt, Maildir/, Status header, and Pop

2001-09-19 Thread Justin R. Miller

Thus spake [EMAIL PROTECTED] 
([EMAIL PROTECTED]):

> Would using IMAP acheive what I am trying to do? IE. Not be informed
> that messages are new if I already read them using another client?

IMAP stores all of the mail and folders server-side, as well as the seen
status, reply status, and importance status (among other things), so
yes, this would solve your problem.  

-- 
| Justin R. Miller / [EMAIL PROTECTED] / 0xC9C40C31
| Of all the things I've lost, I miss my pants the most.
--

 PGP signature


Re: Mutt, Maildir/, Status header, and Pop

2001-09-19 Thread plalande-mutt-users%mutt . org

Will Yardley ([EMAIL PROTECTED]) wrote:
> Philippe Lalande wrote:
> 
> > My problem is that when I pop my messages, all the one I had
> > previously read with Mutt are still marked as new. After
> > investigating, it seems that Mutt does not put the 'Status:' header in
> > mails of Maildir format.
> 
> pop isn't really satisfactory if you're going to be reading mail from
> more than one client IMHO.  why not use imap instead? courier IMAP isn't
> perfect and is a pain to compile but works pretty well for Maildir
> format.

Would using IMAP acheive what I am trying to do? IE. Not be informed
that messages are new if I already read them using another client?

Philippe



Re: Using urlview on image URLs.

2001-09-19 Thread Thomas Dickey

On Wed, Sep 19, 2001 at 03:53:27PM -0400, Jean-Sebastien Morisset wrote:
> > wrap the call to lynx in a shell script that hardlinks the file to a
> > different name, and removes the file when the script is done.
> 
> No can do. Lynx creates a temporary filename which is deleted as lynx
> exits - which is right after downloading the image. :-)

lynx uses an external viewer for the image, which can be a shell script
that determines the filename and manipulates it appropriately, e.g.,

in lynx.cfg (actually I define $LYNX_CFG to be a private file):

XLOADIMAGE_COMMAND:my-viewer xli %s &

script my-viewer

#!/bin/sh
# $1 is viewer
# $2 is filename
chmod 600 $2
myfile=`echo $2 | sed -e 's@\(.*/tmp/\)\([^/]*/\)\?\(.*\)@\1my\3@'`
ln $2 $myfile || exit 1
trap "rm -f $myfile" 0 1 2 5 15
eval $1 $myfile

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net



Re: :repeat command

2001-09-19 Thread Piet Delport


--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, 19 Sep 2001 at 10:57:14 -0400, Miguel Farah F. wrote:
>  Andy Smith [19/09/2001 10:53] dijo/said:
> >On Wed, Sep 19, 2001 at 10:30:49AM -0400, Miguel Farah F. wrote:
> >
> >> It'd be nice if there was a ":repeat" command that... well...
> >> repeats the last command as if it had been just retyped.
> >
> >Usually you can press the up arrow to scroll back through the
> >previous commands?
>=20
> The up and down arrows are binded to the  previous-undeleted and
> next-undeleted commands...

Not while in the command-line editor (after pressing `:'), they're not.

Unless you mean you've explicitly re-bound them as:

bind editor 
bind editor   

in which case you're probably much better off reverting to the default
bindings.  (I can't for the life of me figure out the usefulness of
previous- and next-undeleted while in the line editor...)

--=20
Piet Delport <[EMAIL PROTECTED]>
Today's subliminal thought is:

--4Ckj6UjgE2iN1+kY
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (FreeBSD)

iD8DBQE7qQFtzRUP82sZFCcRAiNVAKCIsWOYZdZ7VOsUkFBaz+5lecO7CQCfdxXZ
svyzLm1wE6S/LIQIbg4fVLc=
=Af7D
-END PGP SIGNATURE-

--4Ckj6UjgE2iN1+kY--



Re: Mutt, Maildir/, Status header, and Pop

2001-09-19 Thread Justin R. Miller

Thus spake Will Yardley ([EMAIL PROTECTED]):

> pop isn't really satisfactory if you're going to be reading mail from
> more than one client IMHO.  why not use imap instead? courier IMAP
> isn't perfect and is a pain to compile but works pretty well for
> Maildir format.
> 
> there are also Maildir/ patches for UW imapd which might be better if
> you want to leave your folders in ~/mail and if you don't want to use
> Maildir++ format (which i find to be a PITA)

Also check out Cyrus IMAP.  It lets you POP off of your IMAP inbox if
you want, too.  

-- 
| Justin R. Miller / [EMAIL PROTECTED] / 0xC9C40C31
| Of all the things I've lost, I miss my pants the most.
--

 PGP signature


Re: Mutt, Maildir/, Status header, and Pop

2001-09-19 Thread Will Yardley

Philippe Lalande wrote:

> My problem is that when I pop my messages, all the one I had
> previously read with Mutt are still marked as new. After
> investigating, it seems that Mutt does not put the 'Status:' header in
> mails of Maildir format.

pop isn't really satisfactory if you're going to be reading mail from
more than one client IMHO.  why not use imap instead? courier IMAP isn't
perfect and is a pain to compile but works pretty well for Maildir
format.

there are also Maildir/ patches for UW imapd which might be better if
you want to leave your folders in ~/mail and if you don't want to use
Maildir++ format (which i find to be a PITA)

w

-- 
Sintax error in config file! (line 378)
aborted!

GPG Public Key:
http://infinitejazz.net/will/pgp/



Re: Using urlview on image URLs.

2001-09-19 Thread Jean-Sebastien Morisset

On Wed, Sep 19, 2001 at 03:40:02PM -0400, Thomas Dickey wrote:
> On Wed, Sep 19, 2001 at 09:20:57AM -0400, Jean-Sebastien Morisset wrote:
>> Hi all.
>> 
>> I often receive plain/text e-mails with URLs in them. Normally, I would
>> call up urlview, select the url, and then lynx would start-up to display
>> that page. My problem is that some of the URLs point to images. :-) If I
>> use the standard urlview->lynx technique, lynx will download the image,
>> start xv (my prefered image viewer), and then exit. When lynx exits, it
>> removes the temporary file it downloaded, which causes xv to display an
>> error about not finding the specified file. :-)
>> 
>> Anyone have any ideas how I can download and view image URLs?
> 
> wrap the call to lynx in a shell script that hardlinks the file to a
> different name, and removes the file when the script is done.

No can do. Lynx creates a temporary filename which is deleted as lynx
exits - which is right after downloading the image. :-)

Thanks,
js.
-- 
Jean-Sebastien Morisset, Sr. UNIX Administrator <[EMAIL PROTECTED]>
Personal Homepage 
This is Linux Country. On a quiet night you can hear Windows NT reboot!
 please pgp encrypt all correspondence 

 PGP signature


Re: best way to deliver and sort mail into Maildir??

2001-09-19 Thread Will Yardley

Will Yardley wrote:
[... lots of stuff]

sorry misdirected email.  d'oh.

w

-- 
Sintax error in config file! (line 378)
aborted!

GPG Public Key:
http://infinitejazz.net/will/pgp/



Re: Using urlview on image URLs.

2001-09-19 Thread Thomas Dickey

On Wed, Sep 19, 2001 at 09:20:57AM -0400, Jean-Sebastien Morisset wrote:
> Hi all.
> 
> I often receive plain/text e-mails with URLs in them. Normally, I would
> call up urlview, select the url, and then lynx would start-up to display
> that page. My problem is that some of the URLs point to images. :-) If I
> use the standard urlview->lynx technique, lynx will download the image,
> start xv (my prefered image viewer), and then exit. When lynx exits, it
> removes the temporary file it downloaded, which causes xv to display an
> error about not finding the specified file. :-)
> 
> Anyone have any ideas how I can download and view image URLs?

wrap the call to lynx in a shell script that hardlinks the file to a
different name, and removes the file when the script is done.

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net



Re: rot13 capability?

2001-09-19 Thread David T-G

David --

...and then David Champion said...
% On 2001.09.19, in <[EMAIL PROTECTED]>,
%   "David T-G" <[EMAIL PROTECTED]> wrote:
% > 
% > Actually, I don't think so; that's what's so interesting.  I'd love to
% > see the results of same experiment under 2.6 and 8;
% 
% Weird: I find that 7 behaves as 9 does -- '[A-Z][a-z]'
% '[N-Z][A-M][n-z][a-m]' works, but the others give "bad string" errors.

Interesting.


% On Solaris 8, this also works, but the other forms do not give "bad
% string". They just include the brackets in the ranges. (IOW, it seems

Strange -- like my SuSE GNU/Linux tr from textutils 2.0 does...


% that they require congruent ranges.) I don't have anything less than
% Solaris 7 anymore. Except... hmm. Yes, SunOS 4.1.4 wins this contest.
% It'll take any number of ranges on either side, the Way Things Ought To
% Be.

*smile*


% 
% Guess someone just can't make up their minds. I wonder whether it's Sun
% or a standards agency. I wish I still had other platforms

Yeah.


% 
% Well, the lesson is that tr usage varies wildly among platforms, just
% like expr, but we already knew that. :) So maybe it's best just to have
% your .mailcap call that rot13 shell script, and adapt the script to cope
% with unames appropriately. Or use perl.

sh is portable (see other drifted-off-topic thread :-) but with this
much garbage rolled in I think I will, indeed, go for perl.


% 
% -- 
%  -D.  [EMAIL PROTECTED]NSITUniversity of Chicago


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: .signature-related blues

2001-09-19 Thread Roberto Suarez Soto

On Sep/19/2001, Miguel Farah F. wrote:

> Also: one of the nice things about tin (the news reader) is that it
> lets you have a random signature (there's a fixed part and a random
> one, selected from the files in a directory previously declared). It'd
> be nice it mutt could do that as well.

Well, not natively, as everyone told you. I use signify for that. It's
a little cute program in Perl. Comes by default in Debian, but you can
download it also from www.verisim.com, I think.

-- 
  Roberto Suarez Soto  ·My yellow in this case is not so mellow
[EMAIL PROTECTED]·   In fact I'm trying to say
   Corgo/Lugo/Galicia/Spain·It's frightened like me



Re: Defaulting to inbox on startup

2001-09-19 Thread David Rock

On Wed, Sep 19, 2001 at 09:24:42AM +0200, Roberto Suarez Soto wrote:
> 
>   This is not a question really related to vim, or to Colin's
>   message, but ... well, just out of curiosity: how many people
>   started using vim as editor just by influence of this list? :-)
>   I know I did, because everyone here seemed to use it with great
>   success, and maybe others did too :-)

I actually started with Emacs first. I think the tutorial that came with
it is a little better than the one for vim. I also think Emacs has a
slightly more intuitive command set (emphasis on slightly). I started
using vim because with all the different flavors of UNIX I deal with,
vim (vi, actually) was a much more common editor than Emacs. Over time,
I discovered many strange and wonderful things that vim can do. I
especially liked being able to use any tool that can work with stdin and
stdout. To be fair, I don't know how much of the same kind of thing
Emacs is capable of. I still think it's a great editor, but it's
awfully hard to go back ;-)

-- 
David Rock
[EMAIL PROTECTED]

 PGP signature


Re: rot13 capability?

2001-09-19 Thread David Champion

On 2001.09.19, in <[EMAIL PROTECTED]>,
"David T-G" <[EMAIL PROTECTED]> wrote:
> 
> Actually, I don't think so; that's what's so interesting.  I'd love to
> see the results of same experiment under 2.6 and 8;

Weird: I find that 7 behaves as 9 does -- '[A-Z][a-z]'
'[N-Z][A-M][n-z][a-m]' works, but the others give "bad string" errors.
On Solaris 8, this also works, but the other forms do not give "bad
string". They just include the brackets in the ranges. (IOW, it seems
that they require congruent ranges.) I don't have anything less than
Solaris 7 anymore. Except... hmm. Yes, SunOS 4.1.4 wins this contest.
It'll take any number of ranges on either side, the Way Things Ought To
Be.

Guess someone just can't make up their minds. I wonder whether it's Sun
or a standards agency. I wish I still had other platforms

Well, the lesson is that tr usage varies wildly among platforms, just
like expr, but we already knew that. :) So maybe it's best just to have
your .mailcap call that rot13 shell script, and adapt the script to cope
with unames appropriately. Or use perl.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: Defaulting to inbox on startup

2001-09-19 Thread David


On Wed, Sep 19, 2001 at 11:27:36AM -0700, Collin Peters wrote:
> One more question on this topic.  I've set my editor command to the one
> suggested below but would appreciate a little explanation on the
> comments= part.  Particularly the 'nb:>' part.  Does this mean if I were
> to modify some of the lines below which started with the angle bracket
> (>), it would auto-format those to 72 chars as well AND keep the
> brackets in the correct place?  I tried it and it didn't work but some
> of the responses seemed to indicate it would.

Not sure what the 'comments=nb:>' does.  But I would imagine your
dificulty is not having compatibility mode tunred off.  Add 'nocp' to
your list of sets.  (this breaks some strict compatability with vi). 

set editor="vim -c 'set tw=72 comments=nb:> nocp'"

Then, 'gqap/gqip' will format the current paragraph when typed in
command mode.  A paragraph is a set of lines that have text on them.
(no empty lines in the set).

> > foo
> > bar

  will become

> > foo bar

/db


> 
> On Wed, Sep 19, 2001 at 09:49:02AM -0400, Justin R. Miller wrote:
> > Thus spake Collin Peters ([EMAIL PROTECTED]):
> > 
> > > Another question I have is about using vim for writing e-mails.  I
> > > have successfully been able to setup vim to wrap at 80 or so
> > > characters.  However, if I edit the message, the word wrapping is not
> > > preserved.  For example, if I were to edit my first question above and
> > > add two or three words to it, the line would extend past 80 chars and
> > > not wrap unless I manually edit it.  Is there a solution for this?
> > 
> > Try this:  
> > 
> > set editor="vim -c 'set tw=72 comments=nb:>'"
> > 
> > Then, once your email is all typed (or during for that matter), just
> > highlight a portion with visual block and hit 'gq'.  That should wrap
> > things nicely, without messing up the stuff that you don't want to wrap.  
> > 
> > -- 
> > | Justin R. Miller / [EMAIL PROTECTED] / 0xC9C40C31
> > | Of all the things I've lost, I miss my pants the most.
> > --
> 



Re: Defaulting to inbox on startup

2001-09-19 Thread Collin Peters

One more question on this topic.  I've set my editor command to the one
suggested below but would appreciate a little explanation on the
comments= part.  Particularly the 'nb:>' part.  Does this mean if I were
to modify some of the lines below which started with the angle bracket
(>), it would auto-format those to 72 chars as well AND keep the
brackets in the correct place?  I tried it and it didn't work but some
of the responses seemed to indicate it would.

On Wed, Sep 19, 2001 at 09:49:02AM -0400, Justin R. Miller wrote:
> Thus spake Collin Peters ([EMAIL PROTECTED]):
> 
> > Another question I have is about using vim for writing e-mails.  I
> > have successfully been able to setup vim to wrap at 80 or so
> > characters.  However, if I edit the message, the word wrapping is not
> > preserved.  For example, if I were to edit my first question above and
> > add two or three words to it, the line would extend past 80 chars and
> > not wrap unless I manually edit it.  Is there a solution for this?
> 
> Try this:  
> 
>   set editor="vim -c 'set tw=72 comments=nb:>'"
> 
> Then, once your email is all typed (or during for that matter), just
> highlight a portion with visual block and hit 'gq'.  That should wrap
> things nicely, without messing up the stuff that you don't want to wrap.  
> 
> -- 
> | Justin R. Miller / [EMAIL PROTECTED] / 0xC9C40C31
> | Of all the things I've lost, I miss my pants the most.
> --





Re: rot13 capability?

2001-09-19 Thread David Champion

On 2001.09.19, in <[EMAIL PROTECTED]>,
"David T-G" <[EMAIL PROTECTED]> wrote:
> % $ grep rot-13 ~/.mailcap
> % text/rot-13; tr '[A-Z][a-z]' '[N-Z][A-M][n-z][a-m]' <%s; copiousoutput
> 
> Hey, that's slick.  I just might have to try that one!
> 
> You need to lose the extra brackets, though, to make it
> 
>   text/rot-13; tr '[A-Z][a-z]' '[N-ZA-M][n-za-m]' <%s; copiousoutput

Actually, mine is what works on Solaris (well, on Solaris 9, anyway).
I tried your approach and one other (thinking that they were correct)
before I realized that GNU is Just Different once again. :)

The content-type should probably be text/x-rot-13, though. I don't know
that text/rot-13 has been registered.


> or even simply lose them entirely; your version breaks for me here under
> Linux (though I don't know about under Solaris, which would definitely
> support both of my versions).

Must be using GNU textutils. :)

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: Defaulting to inbox on startup

2001-09-19 Thread Collin Peters

Thanks guys,

I see the first one was a RTFM. :}  I didn't remember seeing that last time
I RTFM but dem's da breaks.

The gq vim option also does the trick.  Thanks

Collin



Re: Mutt, Maildir/, Status header, and Pop

2001-09-19 Thread David T-G

Philippe --

...and then [EMAIL PROTECTED] said...
% David T-G ([EMAIL PROTECTED]) wrote:
% > ...and then Philippe Lalande said...
% > 
% > % 
% >   http://cr.yp.to/proto/maildir.html
% > 
% > for more -- particularly the .info paragraph.
% 
% Great. Thank you for the info.

Sure thing!


% 
% > % As anyone else has had that problem? As anyone found a solution for this?
% > 
% > I'd imagine your POPper is the problem.
% 
% The pop is handled via qmail-pop3d and as a client I am using Eudora.
% Any more thoughts?

That's certainly interesting, to say the least...  One would think that
something named like that would get it right.  It's out of my league at
this point, though :-)


% 
% Philippe


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: rot13 capability?

2001-09-19 Thread David T-G

David --

...and then David Champion said...
% On 2001.09.19, in <[EMAIL PROTECTED]>,
%   "Miguel Farah F." <[EMAIL PROTECTED]> wrote:
% > Jura ernqvat arjf jvgu gva, vs bar cerffrf gur 'q' xrl, gur pbagrag bs
% > gur negvpyr orvat ernq jvyy or ebg13-rq.
...
% How about this?

*grin*


% 
% auto_view text/rot-13
% macro index \Ca 
"text/rot-13text/plain"
 "Display message with ROT-13 encoding"
% 
% $ grep rot-13 ~/.mailcap
% text/rot-13; tr '[A-Z][a-z]' '[N-Z][A-M][n-z][a-m]' <%s; copiousoutput

Hey, that's slick.  I just might have to try that one!

You need to lose the extra brackets, though, to make it

  text/rot-13; tr '[A-Z][a-z]' '[N-ZA-M][n-za-m]' <%s; copiousoutput

or even simply lose them entirely; your version breaks for me here under
Linux (though I don't know about under Solaris, which would definitely
support both of my versions).


% 
% That's the only way to get a filter to display inside the pager: set the
% content-type so that a MIME content handler applies.

Neat idea, and it makes a lot of sense.


% 
% -- 
%  -D.  [EMAIL PROTECTED]NSITUniversity of Chicago


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: Mutt, Maildir/, Status header, and Pop

2001-09-19 Thread plalande-mutt-users%mutt . org

David T-G ([EMAIL PROTECTED]) wrote:
> ...and then Philippe Lalande said...
> 
> % 
> % My problem is that when I pop my messages, all the one I had previously read with 
>Mutt are still marked as new. After investigating, it seems that Mutt does not put 
>the 'Status:' header in mails of Maildir format.
> 
> And well it shouldn't...  See
> 
>   http://cr.yp.to/proto/maildir.html
> 
> for more -- particularly the .info paragraph.

Great. Thank you for the info.

> 
> % 
> % As anyone else has had that problem? As anyone found a solution for this?
> 
> I'd imagine your POPper is the problem.

The pop is handled via qmail-pop3d and as a client I am using Eudora.
Any more thoughts?

Philippe




Re: rot13 capability?

2001-09-19 Thread David Champion

On 2001.09.19, in <[EMAIL PROTECTED]>,
"Miguel Farah F." <[EMAIL PROTECTED]> wrote:
> Jura ernqvat arjf jvgu gva, vs bar cerffrf gur 'q' xrl, gur pbagrag bs
> gur negvpyr orvat ernq jvyy or ebg13-rq.
> 
> V guvax zhgg pbhyq unir guvf pncnovyvgl, gbb. Jung V qb pheeragyl vf
> cvcr gur znvy V'z ernqvat gb gur ebg13 pbzznaq va zl ~/ova qverpgbel,
> ohg vg'f abg nf pbairavrag nf orvat noyr gb qb vg gur gva jnl

How about this?

auto_view text/rot-13
macro index \Ca 
"text/rot-13text/plain"
 "Display message with ROT-13 encoding"

$ grep rot-13 ~/.mailcap
text/rot-13; tr '[A-Z][a-z]' '[N-Z][A-M][n-z][a-m]' <%s; copiousoutput

That's the only way to get a filter to display inside the pager: set the
content-type so that a MIME content handler applies.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: rot13 capability?

2001-09-19 Thread David T-G

Miguel --

...and then Miguel Farah F. said...
%  David T-G [19/09/2001 11:28] dijo/said:
% >
% >...and then Miguel Farah F. said...
% >% 
% >% I think mutt could have this capability, too. What I do currently is
% >% pipe the mail I'm reading to the rot13 command in my ~/bin directory,
% >% but it's not as convenient as being able to do it the tin way
% >
% >So define a macro to do it :-)  Take advantage of letting a small tool do
% >its thing well and letting tools talk together through pipelines rather
% >than trying to make mutt do everything by itself.
% 
% Er... is there a way to define a macro that will alter (rot13, in this
% case) the displaying of the pager's content? Or you just mean a macro
% to automatically do the piping I do manually?

No, your macro would pipe the message through rot13 through a pager and
then continue on however you wish (redisplay as-is in the internal pager,
back to the index, whatevre).  At least, that's what *my* macro would do
if I had one.


% 
% -- 
% MIGUEL FARAH  //   [EMAIL PROTECTED]
% #include//   http://www.nn.cl/~miguel
% <*>
% "Trust me - I know what I'm doing."
% - Sledge Hammer


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: Binding Shift-keys?

2001-09-19 Thread Thomas E. Dickey

On Wed, 19 Sep 2001, David T-G wrote:

> Hall, Miguel, et al --
>
> ...and then Hall Stevenson said...
> % > quite awkward, and I'd rather remap it to Shift-Tab.
> % However, I can't
> % > find a way to define this key combination. What am I
> % missing?
> %
> % What do you mean 'define this key combination' ?? Do you set
> % it up but it doesn't work ?? If so, make sure there's not
>
> What he means is probably what I've found: I can't get mutt to recognize
> any sort of shift-tab key definition.

most of the terminal emulators don't pass shift-tab as a different code
from tab (XFree86 xterm does - I changed that early in 2000).

-- 
T.E.Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net




Re: rot13 capability?

2001-09-19 Thread Miguel Farah F.

 David T-G [19/09/2001 11:28] dijo/said:
>Miguel --
>
>...and then Miguel Farah F. said...
>% When reading news with tin, if one presses the 'd' key, the content of
>% the article being read will be rot13-ed.
>
>Right.
>
>
>% 
>% I think mutt could have this capability, too. What I do currently is
>% pipe the mail I'm reading to the rot13 command in my ~/bin directory,
>% but it's not as convenient as being able to do it the tin way
>
>So define a macro to do it :-)  Take advantage of letting a small tool do
>its thing well and letting tools talk together through pipelines rather
>than trying to make mutt do everything by itself.

Er... is there a way to define a macro that will alter (rot13, in this
case) the displaying of the pager's content? Or you just mean a macro
to automatically do the piping I do manually?

-- 
MIGUEL FARAH  //   [EMAIL PROTECTED]
#include//   http://www.nn.cl/~miguel
<*>
"Trust me - I know what I'm doing."
- Sledge Hammer



Re: Mutt, Maildir/, Status header, and Pop

2001-09-19 Thread David T-G

Phillippe --

...and then Philippe Lalande said...
% Hi,
% 
% I use qmail and its default Maildir format as my mailing system. I access my mail 
both through shell and pop. When I'm in shell I uses Mutt.

Good!


% 
% My problem is that when I pop my messages, all the one I had previously read with 
Mutt are still marked as new. After investigating, it seems that Mutt does not put the 
'Status:' header in mails of Maildir format.

And well it shouldn't...  See

  http://cr.yp.to/proto/maildir.html

for more -- particularly the .info paragraph.


% 
% As anyone else has had that problem? As anyone found a solution for this?

I'd imagine your POPper is the problem.


% 
% Thank you in advance for the help
% Philippe

HTH & HAND


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Mutt, Maildir/, Status header, and Pop

2001-09-19 Thread Philippe Lalande

Hi,

I use qmail and its default Maildir format as my mailing system. I access my mail both 
through shell and pop. When I'm in shell I uses Mutt.

My problem is that when I pop my messages, all the one I had previously read with Mutt 
are still marked as new. After investigating, it seems that Mutt does not put the 
'Status:' header in mails of Maildir format.

As anyone else has had that problem? As anyone found a solution for this?

Thank you in advance for the help
Philippe





Re: mutt adding . (dot) between @ and my hostname in field from:

2001-09-19 Thread darren chamberlain

alexus <[EMAIL PROTECTED]> said something to this effect on 09/19/2001:
> hi
> 
> i download mutt 1.2.5i from mutt.org website download and installed it
> without any problems
> 
> here is my situation/problem w/ mutt
> 
> whenever i sent emails from mutt it adds . (dot) after @ and before my host
> in field from (too complicated eh?)

What's the value of $hostname in your muttrc?  If it's something
like .evil.n3tw0rk.com, then the dot will appear in your outgoing
address.

(darren)

-- 
I have discovered that all human evil comes from this, man's being
unable to sit still in a room.
-- Blaise Pascal



Re: rot13 capability?

2001-09-19 Thread David T-G

Miguel --

...and then Miguel Farah F. said...
% When reading news with tin, if one presses the 'd' key, the content of
% the article being read will be rot13-ed.

Right.


% 
% I think mutt could have this capability, too. What I do currently is
% pipe the mail I'm reading to the rot13 command in my ~/bin directory,
% but it's not as convenient as being able to do it the tin way

So define a macro to do it :-)  Take advantage of letting a small tool do
its thing well and letting tools talk together through pipelines rather
than trying to make mutt do everything by itself.


% 
% -- 
% MIGUEL FARAH  //   [EMAIL PROTECTED]
% #include//   http://www.nn.cl/~miguel
% <*>
% "Trust me - I know what I'm doing."
% - Sledge Hammer


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: Binding Shift-keys?

2001-09-19 Thread David T-G

Hall, Miguel, et al --

...and then Hall Stevenson said...
% > quite awkward, and I'd rather remap it to Shift-Tab.
% However, I can't
% > find a way to define this key combination. What am I
% missing?
% 
% What do you mean 'define this key combination' ?? Do you set
% it up but it doesn't work ?? If so, make sure there's not

What he means is probably what I've found: I can't get mutt to recognize
any sort of shift-tab key definition.

I'd *love* to access the back-tab half of my tab key in mutt, but I
haven't found it yet.  If anyone has a working keybinding, please share
it!


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: Elegant macro for pager_index_lines?

2001-09-19 Thread David T-G

Miguel --

...and then Miguel Farah F. said...
% Due to size restrictions, I read my e-mail with mutt on a 26x80
% terminal.

Been there (but at 24x80 :-)


% 
% I've found that setting pager_index_lines=6 gives me a very practical
% ratio between the index and the body of the e-mail being read.

Same here!


% However, there are many times when I want to have the mail in full
% screen, and then go back to pager_index_lines=6 when I'm done.
% 
% I've solved this by setting this in the .muttrc:
% 
% -8<8<8<8<8<8<8<-
% set pager_index_lines=6
% macro pager z ":source ~/.muttrc_z0\n"
% -8<8<8<8<8<8<8<-

Ugh.  Yes, that's one way to do it, but it's brutal.

You can define a macro that will call another macro, and so on.  Check
the archives for messages containing "macro" and "toggle" for examples.


HTH & HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: Binding Shift-keys?

2001-09-19 Thread Hall Stevenson

> I find the  key combination for the previous-new
command
> quite awkward, and I'd rather remap it to Shift-Tab.
However, I can't
> find a way to define this key combination. What am I
missing?

What do you mean 'define this key combination' ?? Do you set
it up but it doesn't work ?? If so, make sure there's not
another keybinding listed *after* your modified one. If there
is, it will replace the one you defined.

Hall




Re: :repeat command

2001-09-19 Thread Miguel Farah F.

 Andy Smith [19/09/2001 10:53] dijo/said:
>On Wed, Sep 19, 2001 at 10:30:49AM -0400, Miguel Farah F. wrote:
>
>> It'd be nice if there was a ":repeat" command that... well...
>> repeats the last command as if it had been just retyped.
>
>Usually you can press the up arrow to scroll back through the
>previous commands?

The up and down arrows are binded to the  previous-undeleted and
next-undeleted commands...

-- 
MIGUEL FARAH  //   [EMAIL PROTECTED]
#include//   http://www.nn.cl/~miguel
<*>
"Trust me - I know what I'm doing."
- Sledge Hammer



Re: Digest handling?

2001-09-19 Thread Miguel Farah F.

 Andy Smith [19/09/2001 10:47] dijo/said:
>On Wed, Sep 19, 2001 at 10:26:21AM -0400, Miguel Farah F. wrote:
>> I'm subscribed to several mailing lists in digest mode. I have this
>> nutty notion that mutt has digest capability built-in, but I can't
>> find how to handle it. Is there a way to tell mutt to treat a digest
>> e-mail as the several separate mails it comprises?
>
>What would be the point?  Why not just receive them as normal mails
>in that case??

Touché.

Believe it or not, there are a few mailing lists out there that still
have only a digest version.

-- 
MIGUEL FARAH  //   [EMAIL PROTECTED]
#include//   http://www.nn.cl/~miguel
<*>
"Trust me - I know what I'm doing."
- Sledge Hammer



Binding Shift-keys?

2001-09-19 Thread Miguel Farah F.

I find the  key combination for the previous-new command
quite awkward, and I'd rather remap it to Shift-Tab. However, I can't
find a way to define this key combination. What am I missing?

-- 
MIGUEL FARAH  //   [EMAIL PROTECTED]
#include//   http://www.nn.cl/~miguel
<*>
"Trust me - I know what I'm doing."
- Sledge Hammer



Re: :repeat command

2001-09-19 Thread Andy Smith

On Wed, Sep 19, 2001 at 10:30:49AM -0400, Miguel Farah F. wrote:

> It'd be nice if there was a ":repeat" command that... well...
> repeats the last command as if it had been just retyped.

Usually you can press the up arrow to scroll back through the
previous commands?

-- 
Amaze your friends and annoy your enemies:
echo '#define if(x) if (!(x))' >> /usr/include/stdio.h
  -- Niall Smart



Re: .signature-related blues

2001-09-19 Thread Miguel Farah F.

 Justin R. Miller [19/09/2001 10:07] dijo/said:
>Thus spake Miguel Farah F. ([EMAIL PROTECTED]):
>[...]
>> When I reply to an e-mail, mutt quotes it and pases it to the editor,
>> including the .signature - I think it'd be nice if there was an option
>> called trim_signature - if on, it cuts everything from the LAST line
>> that responds to the pattern "^-- $" (BOL-dash-dash-space-EOL) upto
>> the end off the mail. This would save time and bandwidth, me thinks.
>
>I believe there was a vim command or option that trimmed the signature
>off when editing/quoting the message.  Might want to search the
>archives.  

I think that this should be a mail-client feature, considering it does
the rest of the preformatting (i.e. inserting quotes and the
attribution, etcetera) too.


>> Also: one of the nice things about tin (the news reader) is that it
>> lets you have a random signature (there's a fixed part and a random
>> one, selected from the files in a directory previously declared). It'd
>> be nice it mutt could do that as well.
>
>Mutt will let you use the output of a program as a signature, so you
>could either whip up or otherwise find a program to do this.  I'm almost
>sure I've seen it mentioned before.  

Cool. I'll see that.

-- 
MIGUEL FARAH  //   [EMAIL PROTECTED]
#include//   http://www.nn.cl/~miguel
<*>
"Trust me - I know what I'm doing."
- Sledge Hammer



Re: Digest handling?

2001-09-19 Thread Andy Smith

On Wed, Sep 19, 2001 at 10:26:21AM -0400, Miguel Farah F. wrote:
> I'm subscribed to several mailing lists in digest mode. I have this
> nutty notion that mutt has digest capability built-in, but I can't
> find how to handle it. Is there a way to tell mutt to treat a digest
> e-mail as the several separate mails it comprises?

What would be the point?  Why not just receive them as normal mails
in that case??

-- 
 i have a good knolege of networking!
 somone whos saying u dont need a humb to run a network is
  bumb



Re: Digest handling?

2001-09-19 Thread Suresh Ramasubramanian

Miguel Farah F.  [19/09/01 10:26 -0400]:
> I'm subscribed to several mailing lists in digest mode. I have this
> nutty notion that mutt has digest capability built-in, but I can't
> find how to handle it. Is there a way to tell mutt to treat a digest
> e-mail as the several separate mails it comprises?

If it's a mime digest press v and take a look ... or else use procmail to
split the digest into its component mails (man procmailex)

--suresh



:repeat command

2001-09-19 Thread Miguel Farah F.

In my last few days' investigation & configuration of mutt's
capabilities, I've found myself issuing commands thru the internal
command line... and many times having to repeat a complex command
(meaning I have to retype it). It'd be nice if there was a ":repeat"
command that... well... repeats the last command as if it had been
just retyped.

-- 
MIGUEL FARAH  //   [EMAIL PROTECTED]
#include//   http://www.nn.cl/~miguel
<*>
"Trust me - I know what I'm doing."
- Sledge Hammer



Digest handling?

2001-09-19 Thread Miguel Farah F.

I'm subscribed to several mailing lists in digest mode. I have this
nutty notion that mutt has digest capability built-in, but I can't
find how to handle it. Is there a way to tell mutt to treat a digest
e-mail as the several separate mails it comprises?

-- 
MIGUEL FARAH  //   [EMAIL PROTECTED]
#include//   http://www.nn.cl/~miguel
<*>
"Trust me - I know what I'm doing."
- Sledge Hammer



rot13 capability?

2001-09-19 Thread Miguel Farah F.

When reading news with tin, if one presses the 'd' key, the content of
the article being read will be rot13-ed.

I think mutt could have this capability, too. What I do currently is
pipe the mail I'm reading to the rot13 command in my ~/bin directory,
but it's not as convenient as being able to do it the tin way

-- 
MIGUEL FARAH  //   [EMAIL PROTECTED]
#include//   http://www.nn.cl/~miguel
<*>
"Trust me - I know what I'm doing."
- Sledge Hammer



Elegant macro for pager_index_lines?

2001-09-19 Thread Miguel Farah F.

Due to size restrictions, I read my e-mail with mutt on a 26x80
terminal.

I've found that setting pager_index_lines=6 gives me a very practical
ratio between the index and the body of the e-mail being read.
However, there are many times when I want to have the mail in full
screen, and then go back to pager_index_lines=6 when I'm done.

I've solved this by setting this in the .muttrc:

-8<8<8<8<8<8<8<-
set pager_index_lines=6
macro pager z ":source ~/.muttrc_z0\n"
-8<8<8<8<8<8<8<-

And defining these two files:

~/.muttrc_z0
-8<8<8<8<8<8<8<-
set pager_index_lines=0
macro pager z ":source ~/.muttrc_z6\n"
-8<8<8<8<8<8<8<-

~/.muttrc_z6
-8<8<8<8<8<8<8<-
set pager_index_lines=6
macro pager z ":source ~/.muttrc_z0\n"
-8<8<8<8<8<8<8<-

but I don't think this is elegant enough. Is there a better way to do
this?


ALSO:

There are many instances where I have a folder with a single e-mail.
In this case, the pager_index is useless and takes up two lines of the
screen. I have to press the 'z' key to get rid of it manually... and I
think it'd be better if mutt would detect this situation
automagically. It could be settable as an option called
"force_clear_pager_index" (or something like that), with a numeric
value N. It the folder being read contains N or less messages,
pager_index_lines is forced to 0.


Just in case, I'm using: Mutt 1.2.5i (2000-07-28)

-- 
MIGUEL FARAH  //   [EMAIL PROTECTED]
#include//   http://www.nn.cl/~miguel
<*>
"Trust me - I know what I'm doing."
- Sledge Hammer



Re: .signature-related blues

2001-09-19 Thread Victor Yegorov

* Miguel Farah F. <[EMAIL PROTECTED]> [19.09.2001 17:08]:
> Also: one of the nice things about tin (the news reader) is that it
> lets you have a random signature (there's a fixed part and a random
> one, selected from the files in a directory previously declared). It'd
> be nice it mutt could do that as well.
> 

take a glance on the send-hooks - i use them to add different
signatures. other possibility - output of external program, it was
already mentioned.

-- 

Victor Yegorov

 PGP signature


Re: .signature-related blues

2001-09-19 Thread Justin R. Miller

Thus spake Miguel Farah F. ([EMAIL PROTECTED]):

> I'm a new mutt user, so if the stuff I ask has already been discussed
> to death, please don't /dev/null me.

You should read up on the recent archives... but welcome to mutt-users
anyway :-)

> When I reply to an e-mail, mutt quotes it and pases it to the editor,
> including the .signature - I think it'd be nice if there was an option
> called trim_signature - if on, it cuts everything from the LAST line
> that responds to the pattern "^-- $" (BOL-dash-dash-space-EOL) upto
> the end off the mail. This would save time and bandwidth, me thinks.

I believe there was a vim command or option that trimmed the signature
off when editing/quoting the message.  Might want to search the
archives.  

> Also: one of the nice things about tin (the news reader) is that it
> lets you have a random signature (there's a fixed part and a random
> one, selected from the files in a directory previously declared). It'd
> be nice it mutt could do that as well.

Mutt will let you use the output of a program as a signature, so you
could either whip up or otherwise find a program to do this.  I'm almost
sure I've seen it mentioned before.  

Happy Mutting!

-- 
| Justin R. Miller / [EMAIL PROTECTED] / 0xC9C40C31
| Of all the things I've lost, I miss my pants the most.
--

 PGP signature


.signature-related blues

2001-09-19 Thread Miguel Farah F.

Hi all.

I'm a new mutt user, so if the stuff I ask has already been discussed
to death, please don't /dev/null me.

When I reply to an e-mail, mutt quotes it and pases it to the editor,
including the .signature - I think it'd be nice if there was an option
called trim_signature - if on, it cuts everything from the LAST line
that responds to the pattern "^-- $" (BOL-dash-dash-space-EOL) upto
the end off the mail. This would save time and bandwidth, me thinks.

Also: one of the nice things about tin (the news reader) is that it
lets you have a random signature (there's a fixed part and a random
one, selected from the files in a directory previously declared). It'd
be nice it mutt could do that as well.


-- 
MIGUEL FARAH  //   [EMAIL PROTECTED]
#include//   http://www.nn.cl/~miguel
<*>
"Trust me - I know what I'm doing."
- Sledge Hammer



Re: Defaulting to inbox on startup

2001-09-19 Thread Justin R. Miller

Thus spake Collin Peters ([EMAIL PROTECTED]):

> Is there any way to have mutt default to either the inbox on startup,
> or default to a folder that has new mail in it?

Check out the command-line options for starting Mutt, in particular
'-Z'.  Although I don't think that will default to your inbox if you
don't have any mail...

> Another question I have is about using vim for writing e-mails.  I
> have successfully been able to setup vim to wrap at 80 or so
> characters.  However, if I edit the message, the word wrapping is not
> preserved.  For example, if I were to edit my first question above and
> add two or three words to it, the line would extend past 80 chars and
> not wrap unless I manually edit it.  Is there a solution for this?

Try this:  

set editor="vim -c 'set tw=72 comments=nb:>'"

Then, once your email is all typed (or during for that matter), just
highlight a portion with visual block and hit 'gq'.  That should wrap
things nicely, without messing up the stuff that you don't want to wrap.  

-- 
| Justin R. Miller / [EMAIL PROTECTED] / 0xC9C40C31
| Of all the things I've lost, I miss my pants the most.
--

 PGP signature


Using urlview on image URLs.

2001-09-19 Thread Jean-Sebastien Morisset

Hi all.

I often receive plain/text e-mails with URLs in them. Normally, I would
call up urlview, select the url, and then lynx would start-up to display
that page. My problem is that some of the URLs point to images. :-) If I
use the standard urlview->lynx technique, lynx will download the image,
start xv (my prefered image viewer), and then exit. When lynx exits, it
removes the temporary file it downloaded, which causes xv to display an
error about not finding the specified file. :-)

Anyone have any ideas how I can download and view image URLs?

Thanks,
js.
-- 
Jean-Sebastien Morisset, Sr. UNIX Administrator <[EMAIL PROTECTED]>
Personal Homepage 
This is Linux Country. On a quiet night you can hear Windows NT reboot!
 please pgp encrypt all correspondence 

 PGP signature


Re: Defaulting to inbox on startup

2001-09-19 Thread David T-G

Hall --

...and then Hall Stevenson said...
% >
% > gqap reformats all paragraphs i think.  quoting and stuff
% > will be preserved as long as '>' is set in 'comments' in
% > your .vimrc or in the systemwide vimrc (this is the default)
% 
% Can you expand on this please ?? Specifically the "as long as
% '>' is set in 'comments' ". I use 'par' myself and it usually

It's a vim command (gq) and setting (comments); if you have the comments
character(s?) known, then gq commands will strip them out, format, and
put them at the front.


% does just fine. On occasion though, I've seen it do this to a
% paragraph:
% 
% > this is an example of what 'par' has  > done to a paragraph
% and I'm pretty sure > that it shouldn't have ;-)

Yeah, I've seen that sort of thing, too.  It won't be fixed with a vim
setting, but I also dunno why par would choke like that.


% 
% Hall


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: Defaulting to inbox on startup

2001-09-19 Thread Hall Stevenson

> > Another question I have is about using vim for writing
> > e-mails.  I have successfully been able to setup vim
> > to wrap at 80 or so...

>
> the easiest way i know of is typing:
> gqip
> which will reformat the current paragraph.
>
> gqap reformats all paragraphs i think.  quoting and stuff
> will be preserved as long as '>' is set in 'comments' in
> your .vimrc or in the systemwide vimrc (this is the default)

Can you expand on this please ?? Specifically the "as long as
'>' is set in 'comments' ". I use 'par' myself and it usually
does just fine. On occasion though, I've seen it do this to a
paragraph:

> this is an example of what 'par' has  > done to a paragraph
and I'm pretty sure > that it shouldn't have ;-)

Hall




Re: No replies in outbox

2001-09-19 Thread David T-G

Wes --

...and then Wes Warner said...
% Is there something I need to add to my .muttrc to get my replies to also go
% to my outbox?  Or is there another way I read the replies?  Any help would
% be greatly appreciated.

Do you mean you want to keep a copy of the mail you send out?  Check out
copy, record, fcc-hook, and force_name in the manual.


% 
%   Wes
% -- 
% ___


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: Defaulting to inbox on startup

2001-09-19 Thread Roberto Suarez Soto

On Sep/18/2001, [EMAIL PROTECTED] wrote:

> Another question I have is about using vim for writing e-mails.  I have

This is not a question really related to vim, or to Colin's message,
but ... well, just out of curiosity: how many people started using vim as
editor just by influence of this list? :-) I know I did, because everyone here
seemed to use it with great success, and maybe others did too :-)

> However, if I edit the message, the word wrapping is not preserved.  For
> example, if I were to edit my first question above and add two or three
> words to it, the line would extend past 80 chars and not wrap unless I
> manually edit it.  Is there a solution for this?

I don't know O:-) What I usually do in that cases is to use Control+J,
which I have mapped to:

imap   gqap

That usually fixes everything, and has become a second-nature for me.

-- 
   Roberto Suarez Soto·  Ain't no sunshine
 [EMAIL PROTECTED]  ·   When she's gone
Corgo/Lugo/Galicia/Spain  ·



Defaulting to inbox on startup

2001-09-19 Thread Collin Peters

Is there any way to have mutt default to either the inbox on startup, or
default to a folder that has new mail in it?

Another question I have is about using vim for writing e-mails.  I have
successfully been able to setup vim to wrap at 80 or so characters.
However, if I edit the message, the word wrapping is not preserved.  For
example, if I were to edit my first question above and add two or three
words to it, the line would extend past 80 chars and not wrap unless I
manually edit it.  Is there a solution for this?

Collin Peters




Re: No replies in outbox

2001-09-19 Thread Björn Lindström

Wes Warner <[EMAIL PROTECTED]> [010919 13:45]:
> Is there something I need to add to my .muttrc to get my replies to also go
> to my outbox?  Or is there another way I read the replies?  Any help would
> be greatly appreciated.

set record='=outbox'

-- 
Björn Lindström <[EMAIL PROTECTED]> http://anisakis.org/~bkhl/
Repslagaregatan 5A, SE-753 33 Uppsala
Phone: +46(18)241390 Mobile: +46(73)6171268 ICQ: 82945879



Re: best way to deliver and sort mail into Maildir??

2001-09-19 Thread Will Yardley

Kevin Fonner wrote:
[probably best to reply on list - others might have ideas or insights i
don't]

> I was thinking of writing a java servlet that could possibly control
> some of the basic procmail sorting.  I could simply have the servlet
> enable or disable the sorting with the .foward file (I think...). 

i believe there are some existing web based interfaces to procmail as
well. i can't vouch for the quality of any of them. for really simple
stuff it would probably be fine provided you make it difficult for
people to end up with unintended results.
 
> As for using debian.  This has been on my to-do list for some time.
> Although, I have heard Debian is quite different from the Red Hat and
> Mandrake.

well it's a matter of taste i suppose.  they're really pretty similar.
debian is a bit more of a pain to install, but IMHO much easier to
manage thanks to apt.  i generally prefer the bsd systems over either,
but use debian at work extensively.  as far as day to day configuration
/ use, they're pretty much the same unless you're using some sort of
graphical configuration thingie which is probably not a great idea
anyway.

i used mandrake for a few months on my desktop and liked it ok, but i
don't think i'd want to use it for a server in most cases.  it also
seems a bit bloated in general.  i'd rather start with a base
configuration and add things as i need them, which doesn't seem to be
mandrake's primary approach (if you do a cusom install and install as
little as possible you should be able to get around this).

anyway sorry for the long rant - it's early and i've had very little
sleep.  my $0.02 is that you'll learn more _and_ end up with a more
stable and robust system by using an OS that's more suited to the
purpose you're intending it for (ie FreeBSD, debian, possibly slackware)
 
> Will Yardley wrote:

another piece of advice

read:
http://learn.to/edit_messages/
or without the annoying popup window:
http://www.math.fu-berlin.de/~guckes/mail/editing.html

there you'll learn why and how not to top post, and how to quote
properly. i'm not overly picky about it, but it is good ettiquite to at
least try (and people will yell at you if you don't).

-w

-- 
Sintax error in config file! (line 378)
aborted!

GPG Public Key:
http://infinitejazz.net/will/pgp/



OT: isync doesn't delete on IMAP server

2001-09-19 Thread Matej Cepl

Hi,

I have installed isync to synchronize my home computer's mailboxen with
IMAP server in the university (IMAP is not officially supported there --
kidn of policy: "use it, but do not ask us for any help"). isync can well
download all messages from IMAP, however it doesn't seem to be able to
distinguish messages already downloaded with the new ones (so, it
downloads old messages again) and it doesn't seem to delete on the server
messages I have deleted in my local box.

Any suggestions?

Thanks in advance.

Matej Cepl




No replies in outbox

2001-09-19 Thread Wes Warner

Is there something I need to add to my .muttrc to get my replies to also go
to my outbox?  Or is there another way I read the replies?  Any help would
be greatly appreciated.

Wes
-- 
___




Re: Authenticating public keys...

2001-09-19 Thread Josh Huber

David T-G <[EMAIL PROTECTED]> writes:

> % What do you guys do? Put up with the warning? Sign the key even if
> % you're not sure? Use the X-PGP-Fingerprint header as a second
> % validation? Use fingerprints in signatures?
>
> I just put up with it unless I have the opportunity to meet up with
> someone.  I'm considering using --lsign-key to keep things quiet but
> I then need to figure out how to differentiate between locally
> signed and globally signed keys for when I "care".

I accidentally used --lsign-key once, and I recall having a bitch of a
time when my friend and I couldn't figure out why my signature wasn't
showing up on his key on the keyservers :P

I think the best practice is to just not sign a key unless you meet
in person and verify identity, otherwise, just deal with the
warning. (it is there for a reason, after all :)

ttyl,

-- 
Josh Huber



hooks

2001-09-19 Thread Horacio

I have the following hooks:

--
unhook *

# folder-hook . 'push   v'
folder-hook .   'exec   collapse-all'

# Set sig for mail sent from any folder to sig ...
folder-hook .   'set signature=~/.signature/sig'
# ... except if folder is mail.uni then set sig to sig-uni
folder-hook mail\.uni   'unset signature'
folder-hook mail\.uni   'set signature=~/.signature/sig-uni'

# For all mail coming from [EMAIL PROTECTED] or .org set sig to
# sig-com
send-hook .*@*\.(com|org)$  /
'set signature=~/.signature/sig-com'

# Do not include a sig for mail to a list machine
send-hook ^majordomo|request@ 'set signature=""'


No matter how many changes I do to it I will always get
signature sig from mailbox mail.uni, and not sig-uni.
The hook to not include a signature for list machines does
work though.  What am I doing wrong?


Thank You,
-- 
Horacio



Re: bug? mutt can't detect hostname

2001-09-19 Thread Will Yardley

Suresh Ramasubramanian wrote:
> alexus  [16/09/01 04:16 -0400]:

> > whenever i send emails from my box i get . (dot) before my hostname
> > in field from why didn't it detect properly?
 
> Post your muttrc (the relevant parts at least)
 
> > From: alexus@.evil.n3tw0rk.com
 
> D'you have a misconfigured my_hdr from field?

also if there's an /etc/mailname make sure that has the right value in
there (you can always do set from="[EMAIL PROTECTED]" or use a
'my_hdr From:) to override whatever mutt is doing by default, but might
as well fix whatever the problem is as well.

you might also check the system Muttrc.

w

-- 
Sintax error in config file! (line 378)
aborted!

GPG Public Key:
http://infinitejazz.net/will/pgp/



Re: going immediately to the folder list

2001-09-19 Thread David T-G

Johannes --

...and then Johannes Zellner said...
% Hi,
% 
% is it possible to go immediatly to the folder list, if hitting 'c' ?

You should be able to rebind 'c' to "?" to do that...


% 
% -- 
%Johannes


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: mutt adding . (dot) between @ and my hostname in field from:

2001-09-19 Thread Suresh Ramasubramanian

alexus  [17/09/01 01:55 -0400]:
> another thing i dont really want to use muttrc due to i'd have to force
> every users to change/add lines in their muttrc and this is such a pain in
> the butt...

Have a systemwide /etc/Muttrc




Re: bug? mutt can't detect hostname

2001-09-19 Thread Suresh Ramasubramanian

alexus  [16/09/01 04:16 -0400]:
> whenever i send emails from my box i get . (dot) before my hostname in field
> from
> why didn't it detect properly?

Post your muttrc (the relevant parts at least)

> From: alexus@.evil.n3tw0rk.com

D'you have a misconfigured my_hdr from field?

-suresh



Re: X-GPG headers [was: GnuPG and accented characters]

2001-09-19 Thread David T-G

René --

...and then Ren? Clerc said...
% On Tue, Sep 18, 2001 at 09:50:24AM -0400, David T-G wrote:
% 
% | Look into the mysteries of $pgp_getkeys_command to learn more
% | (translation: RTFM :-)
% 
% That command equals "" in my case ;)

Now that's odd..  I use gpg with mutt and source gpg.rc (I *think*
unmodified from the tarball except for my --keyring option, but I'm not
positive) and I have

  set pgp_getkeys_command="gpg --recv-keys --keyring pubring.catch-all-keys.gpg %r 
2>/dev/null"

(sorry for the long line) in my config...


% 
% This is because of GnuPG: when Mutt asks gpg for a key, and in case
% gpg doesn't have it, it downloads the key from a server, and passes
% it back to Mutt. So the retrieving is transparent to Mutt...

Right.  I think it likely, though, that you have a default value for
pgp_getkeys_command and are using that.


% 
% | % Because, when I view a message, I can't find any key id attached to
% | % it...
% | 
% | It has to be there or nobody would ever know, but it's embedded in the
% | PGP code itself (IIRC) and thus not so obvious to your eye.
% 
% It's probably somewhere in the PGP signature, I agree...

Yah.


% 
% -- 
% René Clerc  - ([EMAIL PROTECTED])
% 
% Doing more with less.
% -Buckminster Fuller


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


mutt adding . (dot) between @ and my hostname in field from:

2001-09-19 Thread alexus

hi

i download mutt 1.2.5i from mutt.org website download and installed it
without any problems

here is my situation/problem w/ mutt

whenever i sent emails from mutt it adds . (dot) after @ and before my host
in field from (too complicated eh?)

here is an example me sending email to myself

Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: by elvis.n3tw0rk.com (Postfix, from userid 1001)
id 816314F167; Sun, 16 Sep 2001 00:48:25 +0500 (GMT)
Date: Sun, 16 Sep 2001 00:48:25 +0500
From: alexus@.evil.n3tw0rk.com< PAY ATTENTION ON THAT LINE
To: [EMAIL PROTECTED]
Message-ID: <20010916004825.A329@evil>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i

first i though maybe i missconfigure something else on that machine, but
when i did another test:

echo test|mail alexus

i got this

>From [EMAIL PROTECTED]  Sun Sep 16 00:52:13 2001
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: by elvis.n3tw0rk.com (Postfix, from userid 1001)
id 9A7344F167; Sun, 16 Sep 2001 00:52:12 +0500 (GMT)
Content-Type: text
Message-Id: <[EMAIL PROTECTED]>
Date: Sun, 16 Sep 2001 00:52:12 +0500 (GMT)
From: [EMAIL PROTECTED]
To: undisclosed-recipients:;

test

and in field from i see no dots between @ and my hostname..

another thing i dont really want to use muttrc due to i'd have to force
every users to change/add lines in their muttrc and this is such a pain in
the butt...

any ideas what could be wrong with mutt? and how to fix that?

thank you in advance





bug? mutt can't detect hostname

2001-09-19 Thread alexus

can someone help me

whenever i send emails from my box i get . (dot) before my hostname in field
from

why didn't it detect properly?

when i do

echo test|mail alexus

i get normail field from without no dots

Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: by elvis.n3tw0rk.com (Postfix, from userid 1001)
id 8489D4F167; Sat, 15 Sep 2001 03:12:20 +0500 (GMT)
Date: Sat, 15 Sep 2001 03:12:20 +0500
From: alexus@.evil.n3tw0rk.com
To: [EMAIL PROTECTED]
Subject: test
Message-ID: <20010915031220.A300@elvis>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i

test

-






Re: Mutt + PGP

2001-09-19 Thread Guido van Driel

* Ailbhe Leamy  <[EMAIL PROTECTED]> wrote:
> On (14/09/01 15:00), David T-G wrote:
> 
> > ...and then Ailbhe Leamy said... 
> % On (14/09/01 09:41), David T-G wrote: 
> [attribs snipped, because it's basically a David-Ailbhe-David
> discussion so far]
> 
 
> > % Yes, but _why_?
> >
> > Why use PGP/GPG?  Because it should be mainstream and available
> > to all, it should be easy to use and familiar to all, and private
> > communication should be both avaiable and commonplace rather than
> > challenging and noteworthy.
> 
> OK, all of this I understand. I completely fail to understand why it
> should apply to public communication, as distinct from private
> communication.

Might it be to establish precedent? I sign my mailinglist submissions
and my key winds up on the keyring of those that setup mutt to do the 
right thing. Now that does not create a WoT, but if I meet any of you
face to face and we exchange keys you will have my key already making
it easy(er) to verify that the key you recived IRL is the real thing.

 
> All of these are good reasons, and I understand that if in the past you
> have been a victim of malicious forgery, or anything else, you'd want
> to make sure it couldn't happen again. But I don't see how pgp-signing
> things to a public mailing list ensures that.

Common use of GPG/PGP has to start somewhere, why not in the open.
By signing mailinglist submissions you key public key exposure(sp)

> 
> > % distribution to a mailing list? You are aware of the fact that there
> > % are archives?
> >
> > Yes.  I must admit that I don't see your point here, though.
> 
> Well, if I read your mail using a browser to access the archives, I
> absolutely cannot verify whether your pgp signature is good, bad, or
> yellow.

Archives that strip pgp signatures are as bad as mime-sweeper doing 
the same thing under the flag of virus protection (arh blech spit).



> Fascinated,
>
> Ailbhe
 

/guido

-- 

Quidquid latine dictum sit, altum viditur.

 PGP signature


Re: old messages in mbox

2001-09-19 Thread Matt Spong

Hi

> Unless you (or, since you still have the bubbling enthusiasm of the newly
> enlightened, 

Nope... been using mutt for 2 years now. :)

> perhaps your SysAdmin) have done some fussing around in your
> muttrc file, that's not at all a mutt "feature".

Yeah, I didn't think it was supposed to do that.

I don't see anything in my muttrc that would cause this, but maybe you
can take a look?  It's at http://forkbomb.net/stuff/muttrc

Also, I admin my own boxes, and don't have a system-wide muttrc

> You might check your $move_old variable to see if, every time you quit
> mutt, you're automatically moving old message to a secondary folder
> (usually ~/Mail/mbox, AKA =mbox, IIRC).  

When I switch to a different mailbox or quit, it asks me if I want to
move messages to ~/mbox.

> You might also dig in and find
> how to duplicate the condition; "seems to" is awfully vague :-)

Will do, and I'll let you know if I manage to reproduce it.

thanks
Matt

-- 
Matt Spong || [EMAIL PROTECTED] || AIM: Spong1027 || http://www.forkbomb.net

 PGP signature


Re: Defaulting to inbox on startup

2001-09-19 Thread Denis Perelyubskiy

 * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [09-Tue-01 23:41 -0700]:
 [  snip  ]
 >Another question I have is about using vim for writing
 >e-mails.  I have successfully been able to setup vim to
 >wrap at 80 or so characters.  However, if I edit the
 >message, the word wrapping is not preserved.  For example,
 >if I were to edit my first question above and add two or
 >three words to it, the line would extend past 80 chars and
 >not wrap unless I manually edit it.  Is there a solution
 >for this?

what exactly do you mean by "not preserved" ? do you mean
that if you add some words to the long line it will not
automatically wrap? do you mean you can't automatically
reformat ?

if you are looking for a way to reformat, then its what
others have suggested before.

you may want to make sure that your 'paste' option is not
set, or else smartindent is turned off and it wont wrap very
well. in fact, in that case the 'tw' is set to 0, and unless
you dont have wrapmargin set it is trouble.

also, you may want to take a look at 'formatoptions' to make
sure you've got it set the way you like it.

in any case, i guess i am not too sure what's the problem i
am trying to suggest a solution for, so i will stop now :)

hth,

denis

-- 
// mailto: Denis Perelyubskiy <[EMAIL PROTECTED]>
// icq   : 12359698
// PGP   : http://www.cs.ucla.edu/~denisp/files/pgp.asc



Re: going immediately to the folder list

2001-09-19 Thread René Clerc

On Wed, Sep 19, 2001 at 08:33:12AM +0200, Johannes Zellner wrote:
| Hi,
| 
| is it possible to go immediatly to the folder list, if hitting 'c' ?

Perhaps mapping some unused key to the 'change mailbox' command, and
assigning a macro "?" to 'c' will do the trick?

-- 
René Clerc  - ([EMAIL PROTECTED])

Your education begins where what is called your education is over.

 PGP signature