Re: Evolution alias import?

2002-02-21 Thread Radek Spacil

On 19/02/02 20:46, Jonathan Watterson wrote:

 Thing is, I've got some contacts listed with Evolution. Is there an easy
 way to translate these contacts to Mutt's alias file, or will I need to
 start over? Evolution's contact list seems to be in vcard format.

I'm not sure if this will help, but there is a program called 'abook' (I
guess http://abook.sourceforge.net), which is intended to use with
mutt and which can import and export from/to many (well not so many)
formats. If there will not be vCard, maybe there will be different one
to which Evolution is able to export... 

Check it out.

Radek

-- 
+--+
| Radek Spacil, research assistant,|
| WLan project, Telecommunication laboratory   |
| Lappeenranta University of Technology|
| email: [EMAIL PROTECTED] |
| www: http://www.lut.fi/~spacil/  |
| icq: 56361517 jabber: [EMAIL PROTECTED] |
+--+



Re: Evolution alias import?

2002-02-21 Thread Martin Karlsson

On Thu Feb 21, 2002 at 01:27:28PM +0200, Radek Spacil wrote:
 If there will not be vCard, maybe there will be different one
 to which Evolution is able to export... 

There is a 'vcard2abook' perl script which I /believe/ comes with
abook (in contrib/ in the tarball). It's attached below in case it
doesn't come with abook.

Note: I have _never_used_it_, and don't
know what'll happen if you try it.

-- 
Martin Karlsson

#!/usr/bin/perl -w
my $timestamp= Time-stamp: \vcard2abook.pl was last updated on Sun, 17 Dec 2000 
10:34am\;

#==*
#   vcard2abook.pl by jeff covey [EMAIL PROTECTED]*
#  *
#   this script has two main features: *
#  *
#   1. it converts a file containing addressbook entries in vcard format to*
#  one containing entries in abook format. *
#   2. it almost has more comments than code.  *
#  *
#   This program is free software; you can redistribute it and/or modify   *
#   it under the terms of the GNU General Public License as published by   *
#   the Free Software Foundation; either version 2 of the License, or  *
#   (at your option) any later version.*
#  *
#   This program is distributed in the hope that it will be useful,*
#   but WITHOUT ANY WARRANTY; without even the implied warranty of *
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  *
#   GNU General Public License for more details.   *
#  *
#   You should have received a copy of the GNU General Public License  *
#   along with this program; if not, write to the Free Software*
#   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  *
#==*

use strict;

($#ARGV = 1) or die
  usage: vcard2abook.pl vcard input file abook output file\noutput file will be 
overwritten!\n;

my $vcards=$ARGV[0];
my $abook =$ARGV[1];
my $key;

my %conversions = (
   FN = name=,
   NICKNAME   = nick=,
   EMAIL  = email=,
   ORG= notes=,
   NOTE   = notes=,
   URL= url=,
   
   TEL;HOME   = phone=,
   TEL;PREF   = phone=,
   TEL;VOICE  = phone=,
   TEL;MSG= phone=,
   TEL;VIDEO  = phone=,
   TEL;MODEM  = phone=,
   TEL;ISDN   = phone=,
   TEL;WORK   = workphone=,
   TEL;CELL   = mobile=,
   TEL;PAGER  = mobile=,
   TEL;CAR= mobile=,
   TEL;FAX= fax=,
   );

open (VCARDS,$vcards) or quit(couldn't open $vcards);
open (ABOOK,$abook)  or quit(couldn't open $abook for writing);

while (VCARDS) {
  if(/^\s*$/) { }
  elsif (/^BEGIN:VCARD/i) { print ABOOK []\n; }
  elsif (/^END:VCARD/i)   { print ABOOK   \n; }
  else {
chomp; my @sections=split /:/, $_, 2;
if ($sections[0] =~ /^ADR/i) {
  my @fields=split /;/, $sections[1];
  if ($fields[2]) {print ABOOK address=$fields[2]\n;}
  if ($fields[3]) {print ABOOK city=$fields[3]\n;   }
  if ($fields[4]) {print ABOOK state=$fields[4]\n;  }
  if ($fields[5]) {print ABOOK zip=$fields[5]\n;}
  if ($fields[6]) {print ABOOK country=$fields[6]\n;}
}
else {
  foreach $key (keys %conversions) {
if ($sections[0] =~ /^$key/i) {
  print ABOOK $conversions{$key}$sections[1]\n;
}
  }
}
  }
}

close (VCARDS) or quit(couldn't close $vcards);
close (ABOOK)  or quit(couldn't close $abook);

sub quit {
  print whoops!  $_[0]:\n $!\n; die;
}



msg24629/pgp0.pgp
Description: PGP signature


Selecting messages in my threads

2002-02-21 Thread Alexander Skwar

Hi.

In large mailinglists, I sometimes want to limit the messages to only
these messages which are part of thread in which I've written something.
Is it somehow possible to comeup with a limit criteria which will do
that?

The criteria should not only list those messages which are replies to my
message, but also the messages to which I replied.

Thanks for your help,

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 6 hours 1 minute



Re: Selecting messages in my threads

2002-02-21 Thread David Collantes

On Thu, Feb 21, 2002 at 02:19:51PM +0100, Alexander Skwar wrote:

 In large mailinglists, I sometimes want to limit the messages to only
 these messages which are part of thread in which I've written something.
 Is it somehow possible to comeup with a limit criteria which will do
 that?
 
 The criteria should not only list those messages which are replies to my
 message, but also the messages to which I replied.

Alexander,

Pattern matching will do just that for you. Look on the mutt manual for:

~p Message addressed to you
~b Message contains EXPR in the body
~C Message is either To: or Cc: EXPR
~x Message contains EXPR on 'References:'

You may want to create a macro the includes the above commands. I hope
this helps.

Cheers,

-- 
David Collantes - http://www.bus.ucf.edu/david/
College of Business Administration, University of Central Florida
I want to know God's thoughts, the rest are details.




msg24631/pgp0.pgp
Description: PGP signature


Re: Selecting messages in my threads

2002-02-21 Thread Alexander Skwar

»David Collantes« sagte am 2002-02-21 um 08:50:10 -0500 :
 Alexander,
 
 Pattern matching will do just that for you. Look on the mutt manual for:
 
 ~p Message addressed to you
 ~b Message contains EXPR in the body
 ~C Message is either To: or Cc: EXPR
 ~x Message contains EXPR on 'References:'
 
 You may want to create a macro the includes the above commands. I hope
 this helps.

Hmm, but how to do this?  Sometimes, messages don't contain my
message-id in the References, aren't To: or Cc: me (eg. a message far
down in the thread), but mutt will still show that it belongs to a given
thread.

And how could I select messages with the patterns you just mentioned to
which *I* replied?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 7 hours 10 minutes



Re: Selecting messages in my threads

2002-02-21 Thread Bruno Postle

On Thu 21-Feb-2002 at 03:28:48PM +0100, Alexander Skwar wrote:
 
 Hmm, but how to do this?  Sometimes, messages don't contain my
 message-id in the References, aren't To: or Cc: me (eg. a message
 far down in the thread), but mutt will still show that it belongs to
 a given thread.

You can't with the current 'limit' command.  A context-limit ability
(like grep -C) would be a useful refinement to mutt though.

In fact, most of the time I use 'limit' I would prefer to use a more
general context-with-threads-limit than the current behaviour.  I often
find myself limiting to a pattern, picking a message, showing everything
to see the thread, limiting again, picking a message etc..

-- 
Bruno



spoolfile when using imap

2002-02-21 Thread Manuel Hendel

What do I have to set my spoolfile to when using imap?

Manuel


-- 
To some of us, reading the manual is conceding defeat. 
-Jason Q. 



Re: Selecting messages in my threads

2002-02-21 Thread David Collantes

On Thu, Feb 21, 2002 at 03:28:48PM +0100, Alexander Skwar wrote:

[... SNIP ...]
  ~C Message is either To: or Cc: EXPR
  ~x Message contains EXPR on 'References:'
  
  You may want to create a macro the includes the above commands. I hope
  this helps.
 
 Hmm, but how to do this?  Sometimes, messages don't contain my
 message-id in the References, aren't To: or Cc: me (eg. a message far
 down in the thread), but mutt will still show that it belongs to a given
 thread.
[... SNIP ...]

Hmm here too... you got me on that one. If they belong to a given thread I
see not way to make them look different. By using pattern matching you
could highlight the ones that match the previously mentioned patterns, but
you can not 'take' them out of the thread. Let me play a bit with it and,
if I get something concrete, I will get back to you, and the list.

Cheers,

-- 
David Collantes - http://www.bus.ucf.edu/david/
College of Business Administration, University of Central Florida
I want to know God's thoughts, the rest are details.




msg24635/pgp0.pgp
Description: PGP signature


Form Letters on Mutt

2002-02-21 Thread David Collantes

Hi there!

How can I create form letters on Mutt? Is that implemented? I have looked
around but found nothing.

Cheers,

-- 
David Collantes - http://www.bus.ucf.edu/david/
College of Business Administration, University of Central Florida
I never think of the future. It comes soon enough.




msg24636/pgp0.pgp
Description: PGP signature


Re: Selecting messages in my threads

2002-02-21 Thread Daniel Eisenbud

On Thu, Feb 21, 2002 at 02:52:57PM +, Bruno Postle [EMAIL PROTECTED] wrote:
 On Thu 21-Feb-2002 at 03:28:48PM +0100, Alexander Skwar wrote:
  
  Hmm, but how to do this?  Sometimes, messages don't contain my
  message-id in the References, aren't To: or Cc: me (eg. a message
  far down in the thread), but mutt will still show that it belongs to
  a given thread.
 
 You can't with the current 'limit' command.  A context-limit ability
 (like grep -C) would be a useful refinement to mutt though.
 
 In fact, most of the time I use 'limit' I would prefer to use a more
 general context-with-threads-limit than the current behaviour.  I often
 find myself limiting to a pattern, picking a message, showing everything
 to see the thread, limiting again, picking a message etc..

Hmm, maybe a tag-pattern-threads and a limit-pattern-threads command?
Sounds useful to me, and relatively easy to implement.  As it is, I
usually limit, and do tag-thread on each visible message, and then limit
to tagged, which works but is kind of a pain.

-Daniel

-- 
Daniel E. Eisenbud
[EMAIL PROTECTED]

We should go forth on the shortest walk perchance, in the spirit of
undying adventure, never to return,--prepared to send back our embalmed
hearts only as relics to our desolate kingdoms.
--Henry David Thoreau, Walking



Re: Offline SPAM-filter with mutt?

2002-02-21 Thread Dr. Sharukh K. R. Pavri.

On Thu, 21 Feb 2002, Marco Fioretti wrote:

 Hello,

Hi !
 
 I've been following this discussion with great interest, and looked
 (very shortly, I confess) to the tools that were mentioned. I have the
 impression that they require you to be online to work. Do they still
 work if you dial up, run fetchmail and hang off immediately via
 scripts?

Take a look at mailfilter.sourceforge.net.

It can be called from within fetchmail and best of all, it deletes spam
*on the server* so you don't need to download it at all. I had it set up
and working in less than 15 mins. It's a 150 kb download. Get version
0.3.2 though it is devlopment version, it works like a charm.

regards,

Sharukh.
-- 
Dr. Sharukh K. R. Pavri
Mumbai, India.



Re: Colorizing collapsed threads with new messages

2002-02-21 Thread Rob Reid

At 11:54 PM EST on February 20 Andre Berger sent off:
 * Knute [EMAIL PROTECTED], 2002-02-20 23:49 -0500:
  On Wed, 20 Feb 2002, Rob Reid wrote:
   At  9:49 PM EST on February 20 Andre Berger sent off:
Is it possible to colorize the parent message of a collapsed thread
if the thread contains new messages? (color preferred: magenta)
  
   This is just a guess until some new mail comes in, and I haven't checked the
   manual but here goes:
  
   Put
  
   color index magenta ~N
  
   or whatever the correct line is for coloring new messages in your .muttrc
   *after* the thread coloring line.
 
 Sorry, I don't understand... Could you please give an example of a
 thread coloring line?

From my ~/.muttrc:
# collapsed threads
color index  brightgreendefault ~v
color tree   brightgreendefault
 
  If you also:
  unset collapse_unread   #Don't collapse threads w/unread mail
  folder-hook . 'push \eV' #Collapse all threads when entering
  folder
  
  What will happen is that only threads with new mail will be uncollapsed
  threads will stand out.  And the color thing above would make it
  magenta, but needs to be:
  color index magenta default ~N
  
  (Background color wwas missing.)
  HTH
  
 No, I'm subscribed to some high-traffic mailing lists and would like
 to set collapse_threads.

What he was suggesting (which was so excellent that I forgot that it might not
be a default) doesn't interfere with that.

I suggest using folder-hooks to set collapse_unread on those lists and

folder-hook . 'unset collapse_unread'

to take care of everything else, assuming you've done the sanity-preserving
thing and procmailed those high traffic lists into their own folders:

# Sort away mails from the mutt (mail user agent) mailing list
:0:
* ^TOmutt-users@
muttin

# ;-)

-- 
There are two kinds of egotists: 1) those who admit it, and 2) the rest of us.
  - fortune
Robert I. Reid [EMAIL PROTECTED] http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re: spoolfile when using imap

2002-02-21 Thread Radek Spacil

On 21/02/02 15:55, Manuel Hendel wrote:
 What do I have to set my spoolfile to when using imap?

set spoolfile = imap://imap.somewhere.org/inbox

or INBOX (not sure if it matters). Change server address as you need.
Beside this you maybe will want to set up:

set folder = imap://imap.somewhere.org/Mail

Instead of 'Mail' there can be e.g. 'list' - it depends of imap
server. This option will cause mutt to look for another folders in
this directory (when reffering via = or +). Check also option
'imap_home_namespace'.

set record=imap://imap.somewhere.org/Mail/sent

This will cause mutt to copy all outgoing messages into this folder.
Check also other options starting 'imap_*' in muttrc manpage for
tuning mutt with imap.

Hope this helps,

Radek

-- 
+--+
| Radek Spacil, research assistant,|
| WLan project, Telecommunication laboratory   |
| Lappeenranta University of Technology|
| www: http://www.lut.fi/~spacil/  |
+--+




msg24640/pgp0.pgp
Description: PGP signature


Re: Selecting messages in my threads

2002-02-21 Thread Jeremy Blosser

On Feb 21, Daniel Eisenbud [[EMAIL PROTECTED]] wrote:
 On Thu, Feb 21, 2002 at 02:52:57PM +, Bruno Postle [EMAIL PROTECTED] wrote:
  On Thu 21-Feb-2002 at 03:28:48PM +0100, Alexander Skwar wrote:
   
   Hmm, but how to do this?  Sometimes, messages don't contain my
   message-id in the References, aren't To: or Cc: me (eg. a message
   far down in the thread), but mutt will still show that it belongs to
   a given thread.
  
  You can't with the current 'limit' command.  A context-limit ability
  (like grep -C) would be a useful refinement to mutt though.
  
  In fact, most of the time I use 'limit' I would prefer to use a more
  general context-with-threads-limit than the current behaviour.  I often
  find myself limiting to a pattern, picking a message, showing everything
  to see the thread, limiting again, picking a message etc..
 
 Hmm, maybe a tag-pattern-threads and a limit-pattern-threads command?

I think some pattern matching modifiers would be more general purpose:

- one for 'all messages in the same thread as a message that matches this
  pattern'
- one for 'parent message of the thread of a message that matches this
  pattern'
- one for 'all children of a message that matches this pattern'

These can all be used for tag-pattern and limit-pattern, but also for
colors, etc.

I guess there aren't actually any pattern match modifiers in the real
source, but there are several patches to add these, and they are useful.
There's even one that already does the last one above, but the other two
are the ones I usually want, especially the first; it'd be nice to be able
to view threads while they are collapsed and still see that a thread had a
flagged message, or color it when it contains new messages (it does get the
small 'n' but colors are easier to see, esp when other new messages are
colored).

The kind of thing mentioned in http://bugs.guug.de/db/40/408.html seems
really useful to me, but I'd rather see it based on pattern matching.

 Sounds useful to me, and relatively easy to implement.  As it is, I
 usually limit, and do tag-thread on each visible message, and then limit
 to tagged, which works but is kind of a pain.

It also is odd to me it works... you can affect messages you can't actually
see using tag-thread, but not otherwise?  (The one that always bites me is
when I enter a big mailbox with threads collapsed by default, read the
stuff I want, then try to do delete-pattern~N without uncollapsing
threads first.)



msg24641/pgp0.pgp
Description: PGP signature


Reply quoting an unwrapped message

2002-02-21 Thread Philip Mak

When I reply to a message that was composed without line wrapping
(i.e. each paragraph is one long line), how can I make mutt wrap it
before inserting  ? e.g. instead of:

 You know I have a question...is anyone else besides me and Erica looking at these 
vids? Just checking, because if no one on here wants review board duty then let me 
know and I won't throw them in your face anymore ;p

I'd like to see:

 You know I have a question...is anyone else besides me and Erica
 looking at these vids? Just checking, because if no one on here
 wants review board duty then let me know and I won't throw them in
 your face anymore ;p



Re: Reply quoting an unwrapped message

2002-02-21 Thread David Collantes

On Thu, Feb 21, 2002 at 01:36:27PM -0500, Philip Mak wrote:
 When I reply to a message that was composed without line wrapping
 (i.e. each paragraph is one long line), how can I make mutt wrap it
 before inserting  ? e.g. instead of:
[.. A long line snipped ...]

It is not up to Mutt, but the editor you are using. I believe 'vi' will
allow you to do that, but 'nano' or 'pico' will not.

Cheers,

-- 
David Collantes - http://www.bus.ucf.edu/david/
College of Business Administration, University of Central Florida
Sometimes one pays most for the things one gets for nothing.




msg24643/pgp0.pgp
Description: PGP signature


Re: Reply quoting an unwrapped message

2002-02-21 Thread Jim Mock

On Thu, 21 Feb 2002 at 13:47:10 -0500, Philip Mak wrote:
 On Thu, Feb 21, 2002 at 01:20:03PM -0500, David Collantes wrote:
   When I reply to a message that was composed without line wrapping
   (i.e. each paragraph is one long line), how can I make mutt wrap
   it before inserting  ? e.g. instead of:
  [.. A long line snipped ...]
  
  It is not up to Mutt, but the editor you are using. I believe 'vi'
  will allow you to do that, but 'nano' or 'pico' will not.
 
 I would have thought that mutt would be able to wrap the lines before
 passing the message to 'vi'.
 
 I suppose I could code some sort of startup code in 'vi' to find and
 wrap long lines, but how would I make it only trigger when 'vi' is
 being started on composing a new reply (and not any other time, e.g.
 editing an existing message)?

You can use gq} (at least in vim...).  That will wrap a paragraph,
however, with quoted text (i.e., no spaces between each set of quote
characters) it will wrap the entire message.  gqG does the entire
message.  I also have the following map in my .vimrc which does the
same, but stops at sig lines:

omap F /^-- /CR

You can then use gqF to wrap up until the sig lines.

- jim

-- 
jim mock [EMAIL PROTECTED]   http://soupnazi.org/ | [EMAIL PROTECTED]



Re: Reply quoting an unwrapped message

2002-02-21 Thread Martin Karlsson

On Thu Feb 21, 2002 at 01:47:10PM -0500, Philip Mak wrote:
 I suppose I could code some sort of startup code in 'vi' to find and
 wrap long lines, but how would I make it only trigger when 'vi' is
 being started on composing a new reply (and not any other time, e.g.
 editing an existing message)?

Bruno Postle posted a reply for a similar question some time ago,
for use with vim:

# F10 reflows the current paragraph and F11 toggles indenting so
# paste works properly.
set editor=vim \
-c 'set tw=72 et' \
-c 'set autoindent' \
-c 'set formatoptions=tcq2' \
-c 'set syntax=mail' \
-c 'map F10 gqap' \
-c 'set pastetoggle=F11'

Place the cursor anywhere convenient in the long line, press $ to get
to the end of it, and then F10. I'm *very* happy with it.

HTH
-- 
Martin Karlsson | I prefer mail encrypted with PGP/GPG!
keyid  fingerprint in headers
visit http://www.gnupg.org for more info



msg24645/pgp0.pgp
Description: PGP signature


Re: Reply quoting an unwrapped message

2002-02-21 Thread Mike Schiraldi

 I suppose I could code some sort of startup code in 'vi' to find and wrap
 long lines, but how would I make it only trigger when 'vi' is being
 started on composing a new reply (and not any other time, e.g.  editing an
 existing message)?

In my case, i just set up an emacs macro to reformat a quoted paragraph and
then put the cursor right after it, ready to reformat the next one.. so on
the rare occasions that i'm replying to a message with a long line, i just
tap the macro shortcut a few times and all the paragraphs i want to rewrap
are done.

I originally made it automatic, but i found that it would often end up
rewrapping stuff that i would have wanted it to leave alone. 


-- 
Mike Schiraldi
VeriSign Applied Research



msg24646/pgp0.pgp
Description: PGP signature


tagging and copying/saving

2002-02-21 Thread Fred Dech

hi.

i finally switched from Elm to Mutt a few days ago.

one thing i haven't been able to find in the FAQs is the following:

in Elm, i could tag numerous emails and then group copy or save them
to a folder.  when i try this in Mutt, only the currently selected email gets
appended to the specified folder.
am i missing something obvious?  how is this normally achieved in Mutt?

one other question.  is there a way to enable wildcards in order to get
a subset menu of one's entire folder list (e.g. change to =myJunk_*)?
another elmism i can live without... but don't wanna!

thanks.

--fred




Re: tagging and copying/saving

2002-02-21 Thread David Collantes

On Thu, Feb 21, 2002 at 01:02:36PM -0600, Fred Dech wrote:

 in Elm, i could tag numerous emails and then group copy or save them
 to a folder.  when i try this in Mutt, only the currently selected email gets
 appended to the specified folder.

After tagging, press ; then the command you want to apply to the tagged
messages.

Cheers,

-- 
David Collantes - http://www.bus.ucf.edu/david/
College of Business Administration, University of Central Florida
As far as I'm concerned, I prefer silent vice to ostentatious virtue.




msg24648/pgp0.pgp
Description: PGP signature


substituing ~l in send-hook

2002-02-21 Thread Hanspeter Roth

I'd like to create a generic send-hook which substitutes ~l,
something like:

send-hook ~l 'my_hdr Reply-To: ~l'

The ~l won't be substituted in my_hdr. Is there some means to achieve
this?

-Hanspeter



Re: tagging and copying/saving

2002-02-21 Thread Fred Dech

On Thu, Feb 21, 2002 at 01:48:21PM -0500, David Collantes wrote:
 On Thu, Feb 21, 2002 at 01:02:36PM -0600, Fred Dech wrote:
 
  in Elm, i could tag numerous emails and then group copy or save them
  to a folder.  when i try this in Mutt, only the currently selected email gets
  appended to the specified folder.
 
 After tagging, press ; then the command you want to apply to the tagged
 messages.
 
 Cheers,

oooh.  !Muchas Gracias!




Re: tagging and copying/saving

2002-02-21 Thread Jeremy Blosser

On Feb 21, Fred Dech [[EMAIL PROTECTED]] wrote:
 in Elm, i could tag numerous emails and then group copy or save them
 to a folder.  when i try this in Mutt, only the currently selected email gets
 appended to the specified folder.
 am i missing something obvious?  how is this normally achieved in Mutt?

Lookup tag-prefix and $auto_tag in the manual.

 one other question.  is there a way to enable wildcards in order to get
 a subset menu of one's entire folder list (e.g. change to =myJunk_*)?
 another elmism i can live without... but don't wanna!

If you're doing change-folder, you should be able to do
=myJunk_tabtab to see a list of matching folders (the first tab would
just complete the line if there was only one match, the second tab brings
up a list if the first remains ambiguous).



msg24651/pgp0.pgp
Description: PGP signature


Mutt versus Pine under WIN2000

2002-02-21 Thread Thomas Baker

Dear all,

I have happily used (and still use) Pine under Unix.  Since I work
with project partners that use MS-Office and other WIN2000 programs,
however, I now have to move primarily to a Windows environment.  I work
alot from home or on the road, live out of range of high-speed
Internet, and so need to work offline in store-and-forward mode.  Ten
years ago I had MKS UUCP with Mailx under DOS 3.3, and this actually
worked reasonably well.  I am lost without vi/vim.

Assuming that Outlook is unacceptable, I have discovered:

-- Eudora, Pegasus, and Opera use variations of the mbox format,
   but all three create database indexes in default directories
   and cannot handle LF-only files, new mboxes, mboxes elsewherre
   in the file tree, etc.  None of them, gallingly, let you 
   define an external editor like vim.

-- Pine for Unix uses the mbox format, of course, but the Windows
   ports use something called c-client MBX, not in plain text.
   PC-Pine can read mbox format, and can even write it if you type
   #driver.unix\pathname\to\your\mailbox the first time you save.  Pine
   has been recompiled (not by its maintainers, see
   http://www.eecg.toronto.edu/~bli/personal.html) to use mbox format
   by default, but this apparently does not work under a normal Cygwin
   shell but only under Exceed or XFree86 -- I have gotten the latter
   to work, but not the former (the xterm disappears before offering a
   prompt).  However, with the Cygwin variant there does not seem to be
   a way that one can click on a URL to start an external browser --
   necessary functionality which PC-Pine supports.  It is also not
   clear to me how, if at all, the Pine setup can store- and-forward,
   which is necessary for offline working.

-- I managed to get the mutt- and fetchmail-based Unixmail suite
   partially to work (see http://unixmail-w32.sourceforge.net), but if
   it has store-and-forward, I  cannot see where to configure this and
   where the spools are put by default (I have studied the
   documentation and tried several experiments).  If it is in fact
   supported (I am starting to doubt it), this store-and-forward part
   will evidently require more tweaking, and the urlview interface that
   apparently works under Linux (for invoking an external browser) has,
   that I am aware, not yet been ported to NT/WIN2000.

Having spent several long days working on this (I am not a programmer),
I must confess I'm at a loss.  Should I keep tweaking away at any of the
above?  Should I look to running pine on top of Linux on top of VMWare
on top of WIN2000?  Or pine under Linux, with VMWare for MS-Office?  Or
should I download two identical email streams in parallel -- one into
mutt, for processing into mbox files and editing with vim, and one
into Eudora, for browsing URLs contained in messages and collecting
attached binaries automatically in a default directory?

Any advice gratefully received.

Tom

P.S.  I have WIN2000 with MKS Toolkit 7.5, Exceed 7.0, Cygwin (very
recent), XFree86 (installed today), Eudora, Pegasus, Cygwin-pine,
Cygwin-pine-with-mbox, Unixmail, Unixmail Mutt, Cygwin Mutt, Mailx.


Dr. Thomas Baker [EMAIL PROTECTED]
Birlinghoven Library, Fraunhofer-Gesellschaft
Institutszentrum Schloss Birlinghoven  +49-30-8109-9027
53754 Sankt Augustin, Germany  fax +49-2241-14-2619





Re: Mutt versus Pine under WIN2000

2002-02-21 Thread David Rock

On Thu, Feb 21, 2002 at 09:35:32PM +0100, Thomas Baker wrote:
 Having spent several long days working on this (I am not a programmer),
 I must confess I'm at a loss.  Should I keep tweaking away at any of the
 above?  Should I look to running pine on top of Linux on top of VMWare
 on top of WIN2000?  Or pine under Linux, with VMWare for MS-Office?  Or
 should I download two identical email streams in parallel -- one into
 mutt, for processing into mbox files and editing with vim, and one
 into Eudora, for browsing URLs contained in messages and collecting
 attached binaries automatically in a default directory?

I have found running Windows under VMWare on a Linux box to be quite
adequate for 98% of what I need to do at work (a Win2000 environment).
The majority of my mail reading is done using mutt and imap to the
Exchange server. The only time I really NEED to use Outlook is when
replying to meeting requests. This can be accomplished by either running
Outlook under a VM, or by using the outlook web client access. The web
client isn't perfect, but it will let you reply to appointments
properly.

I hate to say it here, but if you are using Exchange 2000 at work, the
client piece of Evolution (Ximian Gnome) is supposed to work fairly well
as an Outlook replacement, but it does cost money to get it (about $70
per seat, i think).

-- 
David Rock
[EMAIL PROTECTED]



Re: Mutt versus Pine under WIN2000

2002-02-21 Thread Chris Ball

 David == David Rock [EMAIL PROTECTED] writes:

David I hate to say it here, but if you are using Exchange 2000 at
David work, the client piece of Evolution (Ximian Gnome) is
David supposed to work fairly well as an Outlook replacement, but
David it does cost money to get it (about $70 per seat, i think).

Unless I missed something, the Ximian Connector isn't available in beta
or release, and won't be for several months.  But it is planned, and
will be able to talk Outlookese in this way.

- Chris.
-- 
$a=printf.net; Chris Ball | chris@void.$a | www.$a | finger: chris@$a
 In the beginning there was nothing, which exploded.




Re: Reply quoting an unwrapped message

2002-02-21 Thread Will Yardley

Philip Mak wrote:
 On Thu, Feb 21, 2002 at 01:20:03PM -0500, David Collantes wrote:
 
  It is not up to Mutt, but the editor you are using. I believe 'vi'
  will allow you to do that, but 'nano' or 'pico' will not.
 
 I would have thought that mutt would be able to wrap the lines before
 passing the message to 'vi'.
 
well the issue is that mutt might very well do it wrong, or wrap
something that shouldn't be wrapped (see below).

 I suppose I could code some sort of startup code in 'vi' to find and
 wrap long lines, but how would I make it only trigger when 'vi' is
 being started on composing a new reply (and not any other time, e.g.
 editing an existing message)?

call vi with an option to do this (ie set editor=vim +'blah'...

the problem is, that if you have stuff like this:

blah blah blah
$ ls /foo/bar
$ cd blah

it will get reformatted like this: 

blah blah blah $ ls /foo/bar $ cd blah

ie sometimes you WANT to avoid wrapping everything in a reply.  i have
'Q' mapped to 'gqip' in vim, so i just use that. in vi, use 'par' or
'fmt'.  i usually find it better to wrap as i go.

you can also ask your friends / relatives / co-workers to wrap their
lines.  this is bound to make you VERY popular with them!!

-- 
William Yardley
GnuPG public key: http://infinitejazz.net/will/pgp/gpg.asc




Re: Reply quoting an unwrapped message

2002-02-21 Thread Philip Mak

On Thu, Feb 21, 2002 at 05:26:19PM -0800, Will Yardley wrote:
  I suppose I could code some sort of startup code in 'vi' to find and
  wrap long lines, but how would I make it only trigger when 'vi' is
  being started on composing a new reply (and not any other time, e.g.
  editing an existing message)?
 
 call vi with an option to do this (ie set editor=vim +'blah'...

But that also affects when I press the [e]dit key to edit a message in
my mailbox, for example.

I'd want the option to ONLY take effect when vi is being called after
I pressed [r]eply.

 the problem is, that if you have stuff like this:
 
   blah blah blah
   $ ls /foo/bar
   $ cd blah
 
 it will get reformatted like this: 
 
   blah blah blah $ ls /foo/bar $ cd blah

Well, I was thinking of making it only reformat lines that are too
long. This will make the above case work. Although, if someone sends
the output of a program to me and it's just long enough to exceed 80
characters when   is added to it, then that would be wrapped
undesirably.

How does pine do it, anyway? pine wraps paragraphs in replies fine.
They seem to have some heuristic or something that does the right
thing almost all the time...



Re: locale for Sun

2002-02-21 Thread Mun Johl

Hi,

Thanks for the replies.  It turns out that I decided to compile the rxvt
sources myself, rather than using the executable that came with the
system.  That fixed my problem.

-- 
Mun



S/MIME Howto

2002-02-21 Thread David Collantes

Does anyone knows where could I find a s/mime howto? I just got 1.5.0i and
I want to try the s/mime support, but nothing comes with it to set it up.
How to create my certificate/key? How can I make it(them) 'legal' for the
top CA? Any help highly appreciated.

Cheers,

-- 
David Collantes - http://www.bus.ucf.edu/david/
College of Business Administration, University of Central Florida
Joy in looking and comprehending is nature's most beautiful gift.




msg24658/pgp0.pgp
Description: PGP signature


Re: S/MIME Howto

2002-02-21 Thread Will Yardley

David Collantes wrote:

 Does anyone knows where could I find a s/mime howto? I just got 1.5.0i
 and I want to try the s/mime support, but nothing comes with it to set
 it up.

check smime.rc in contrib/, check this site:
http://www.kfu.com/~nsayer/encryption/openssl.html

 How to create my certificate/key? How can I make it(them) 'legal' for
 the top CA? Any help highly appreciated.

you need to get one - thawte has free ones, or you can buy one from
verisign.

also check out smime_keys.pl which you can use to setup most stuff for
you.

-- 
William Yardley
GnuPG public key: http://infinitejazz.net/will/pgp/gpg.asc




Re: S/MIME Howto

2002-02-21 Thread Will Yardley

Will Yardley wrote:
 
 you need to get one - thawte has free ones, or you can buy one from
 verisign.

to clarify... i'm sure you _could_ make your own using ssl... however
it's probably a good idea to get one from a root CA if you want the
certs to not spit out warnings of the sort that self signed SSL certs
do.

-- 
William Yardley
GnuPG public key: http://infinitejazz.net/will/pgp/gpg.asc




mailboxes list

2002-02-21 Thread Kyle Rawlins

Is there some way to clear the mailbox list?  i.e. the list that is added to by
the 'mailboxes' command.

I want to have two different sets of mailboxes (one for each mailing list) and
have a keybinding to cycle through them; i.e. a set of work-related mailboxes
and a set of music-related mailboxes.  I find that there are times where I want
to check the work related stuff and spend too much time skipping over the music
mailing lists and getting distracted, and when I'm reading the less serious
lists I'm rarely interested in hearing about the work stuff.

I could do this with different sets of configuration files, but it seems like
there should be some way to just use a command to switch lists without
exiting, or without running two seperate copies of mutt.

Apologies if this is something obvious that I missed.

thanks,
-kyle

-- 
http://mas.cs.umass.edu/~rawlins
--
I don't want the world, I just want your half.



The operator for patterns?

2002-02-21 Thread Danie Roux

Hi,

I want to specify something like 

~C (domain  !user@domain)

i.e. Match everyone from domain except a certain user. How would I do
this?

Thanks!

-- 
Danie Roux *shuffle* Adore Unix



Re: The operator for patterns?

2002-02-21 Thread Knute

On Fri, 22 Feb 2002, Danie Roux wrote:

 Hi,

 I want to specify something like 

 ~C (domain  !user@domain)

 i.e. Match everyone from domain except a certain user. How would I do
 this?

Not to good at this but this is what I'ld do:
~Cdomain !~Cuser@domain

Or you could try:
~C(domain !user@domain)

Not sure about that one, but it just came to mind, so I included it.
If I've totally screwed up that second one please explain what I did
wrong.  Thanks



msg24663/pgp0.pgp
Description: PGP signature


Re: Mutt versus Pine under WIN2000

2002-02-21 Thread Ken Weingold

On Thu, Feb 21, 2002, Thomas Baker wrote:
 Dear all,

 I have happily used (and still use) Pine under Unix.  Since I work
 with project partners that use MS-Office and other WIN2000 programs,
 however, I now have to move primarily to a Windows environment.  I
 work alot from home or on the road, live out of range of high-speed
 Internet, and so need to work offline in store-and-forward mode.
 Ten years ago I had MKS UUCP with Mailx under DOS 3.3, and this
 actually worked reasonably well.  I am lost without vi/vim.

Not what you want to hear, but any chance you could use a Mac?  With
OS X, you'd be set.  And Office v.X is supposed to be great.


-Ken