Mailing list and starting a new message

2001-11-16 Thread Sean LeBlanc

I see the "lists" and "subscribe" commands, and I added them to my .muttrc.
They *seem* to work, I haven't figured out how to get the "list info" that shows
up via "lists", but anyway...

I was wondering how one might set up mutt so that you hit some particular key
while in the index of the list, and have it start a new message. Hitting L 
starts a new message, but in response to the message I'm currently positioned
on. Is there a way to do this?

-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
Stop corporate welfare. Repeal the H1-B program now: http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItems&userid=tparkin
IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM: 
sleblancathome 
























Re: Cancelling an action?

2001-11-16 Thread Lars Hecking


> Ctrl-G.  Cancels any action in mutt.  It's a beautiful thing. :)

 Yeah, and Emacs raises its HUGE head ;-)




Re: Mailing list and starting a new message

2001-11-16 Thread Lars Hecking

Sean LeBlanc writes:
> I see the "lists" and "subscribe" commands, and I added them to my .muttrc.
> They *seem* to work, I haven't figured out how to get the "list info" that shows
> up via "lists", but anyway...
> 
> I was wondering how one might set up mutt so that you hit some particular key
> while in the index of the list, and have it start a new message. Hitting L 
> starts a new message, but in response to the message I'm currently positioned
> on. Is there a way to do this?

 No idea, but the workaround I usually use is to edit the message with
 headers ("E" instead of "e") and remove the In-Reply-To: header.




Re: Mailing list and starting a new message

2001-11-16 Thread Will Yardley

Lars Hecking wrote:
> Sean LeBlanc writes:

> > I see the "lists" and "subscribe" commands, and I added them to my
> > .muttrc.  They *seem* to work, I haven't figured out how to get the
> > "list info" that shows up via "lists", but anyway...
> > 
> > I was wondering how one might set up mutt so that you hit some
> > particular key while in the index of the list, and have it start a
> > new message. Hitting L starts a new message, but in response to the
> > message I'm currently positioned on. Is there a way to do this?

well the index of the list has nothing to do with the 'list' or
'subscribe' commands; you can have a mail that's in a subscribed list in
any folder.  if you sort your lists into diffrent folders (as many of us
do) you could possibly make a 'folder-hook' to create a macro to compose
to the current list.

>  No idea, but the workaround I usually use is to edit the message with
>  headers ("E" instead of "e") and remove the In-Reply-To: header.
 
or just create an alias for the list and send mail directly to the list :>

w

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



Re: Handling digests

2001-11-16 Thread David Clarke

On Thu, 15 Nov 2001, Cliff Sarginson wrote:
> My MTA is postfix, my MUA is mutt .. both of these I am very happy
> with. The man in the middle ..Procmail.. I dislike intensely...but

There's always maildrop.

-- 
Don't tell me I'm burning the candle at both ends -- tell me where to
get more wax!!
-
David Clarke <[EMAIL PROTECTED]> | David Clarke 
GPG Fingerprint :  869B 53DD 5E80 E1F0 93F6  9871 0508 0296 5957 F723



make error

2001-11-16 Thread John J Kearney


trying to make 1.3.23.2

keep getting this make error

Making all in imap
make: Fatal error: Don't know how to make target `patchlist.sh'
Current working directory /home/jkearney/source/mutt-1.3.23.2
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'



where can i get patchlist.sh?

 _
/|  John J Kearney   |\
 |   Wireless(Bluetooth)Group|
  ///| Powering The Mobile Internet  |\\\
<|  Parthus Technologies Plc |>
  \\\|  32-34 Harcourt st.,D2, IRELAND   |///
 |  mailto:[EMAIL PROTECTED]  |
\|___|/




Re: Mailing list and starting a new message

2001-11-16 Thread Thorsten Haude

Hi,

* Sean LeBlanc <[EMAIL PROTECTED]> [01-11-16 05:52]:
>I see the "lists" and "subscribe" commands, and I added them to my .muttrc.
>They *seem* to work, I haven't figured out how to get the "list info" that shows
>up via "lists", but anyway...
>
>I was wondering how one might set up mutt so that you hit some particular key
>while in the index of the list, and have it start a new message. Hitting L 
>starts a new message, but in response to the message I'm currently positioned
>on. Is there a way to do this?
Am I missing Something? I press 'm', then 'muser', which is my alias
for the Mutt user mailing list. 

Thorsten
-- 
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
- Benjamin Franklin



Re: Cancelling an action?

2001-11-16 Thread Justin R. Miller

Thus spake Sean LeBlanc ([EMAIL PROTECTED]):

> Right now, if I get into an action that needs some input at the
> bottom, and I didn't intend this action in the first place, I'm just
> hitting Ctrl-C and then selecting "n" (to not exit mutt). Is this
> standard procedure, or is there a better way to do this?

This is in Control-g :-)

-- 
Justin R. Miller <[EMAIL PROTECTED]>
PGP/GnuPG Key ID 0xC9C40C31 (preferred)



msg20502/pgp0.pgp
Description: PGP signature


Re: Mutt an multiple mailboxes

2001-11-16 Thread David T-G

Markus --

...and then Markus Boelter said...
% Hi!

Hello!


% 
% I've a wish how mutt should handle my mails and I don't know how to realize
% this. I'm subscribed in several mailinglists and so my mbox grow's up.
% One solution is to use procmail - but now my wish:

Yep.  That's the generally-recommended answer.


% 
% I want to get *every* new mail into /var/spool/mail/lordbyte. So this
% does my MTA. Now I want to start mutt and read all my new eMails an set
% flags like "read" to my mails.

Hokay.  All of that makes sense.


% 
% Now - when I quit mutt, I want the mails to be sorted in mailfolders.
% One idea was to define my mbox to smth. like "| formail -s procmail \
% /var/spool/mail/lordbyte". But this doesn't work.

Right.  There have been a few discussions of having mailbox formats
include some sort of hook that would talk to a named pipe or a program or
such, but nobody has proposed a patch to get started.


% 
% A second Idea was to define a macro wich sould do this job, but
% if I move mails with procmail mutt looses the flags.

I presume you mean if you move mail either before it hits your lordbyte
mailbox or before you've synchronized the mailbox.  The former, even
though it's what everyone recommends, will certainly have that problem.
The latter might be solved by first synchronizing (bound to '$' by
default) and then handing off to procmail.


% 
% So - is in mutt any possibility to sort mails automatically?
% (I know save-hooks - but then I have to push "s " for every mail.

Yep.

If you insist on having all of your mail come into one box for reading
(your choice is your choice, and you do whatever works best for you, but
why can't you read the mails in their separate folders after procmail
sorts them at receipt time?), I would guess that you should save *all*
read mails to a single mailbox (=ReadMail) and then pump that through
procmail to do the splitting.


% 
% Thanks!
%   Markus

HTH & HAND


% 
% 
% -- 
% .o--=[ eMail: [EMAIL PROTECTED] ]=-=[ internet: www.ce-terra.de ]=o.


:-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!




msg20503/pgp0.pgp
Description: PGP signature


patches (colored questions, conditional tag-prefix)

2001-11-16 Thread Nicolas Rachinsky

Hallo,

Does anybody know if there are any patches to color mutt's questions
and to make tag-prefix "conditional", i.e. doing nothing if there are
no tagged messages?

I should have asked first, but after not finding such patches, I tried
to write them.

They seem to work, but I don't know if they are really usable.

The first one let's you color questions, for example: 
"color question brightwhite default"
It contains no docu, and looks strange when you don't use the same
background as with "normal". It also looks strange, for example when
you change mailboxes, the mailboxname changes its color when changing
this name. But if there is anybody interessted, I would try to solve
these and add some docu (and an entry to the patches list).

The second one adds a new command "tag-prefix-cond". It should behave
exactly the same as tag-prefix, with one difference. If there are no
tagged messages, it will empty the "ungetch-buffer", this seems to
reliably stop/abort every macro. It's a hack, but it seems to work.

Any comments appreciated.

The patches were created from the freebsd mutt-devel port 1.3.23.2

If you call me clueless after looking at the patches, you are right :-)

WARNING: 
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Nicolas


--- color.c.ori Tue Nov 13 22:19:54 2001
+++ color.c Tue Nov 13 22:20:31 2001
@@ -78,6 +78,7 @@
   { "status",  MT_COLOR_STATUS },
   { "tree",MT_COLOR_TREE },
   { "error",   MT_COLOR_ERROR },
+  { "question",MT_COLOR_QUESTION },
   { "normal",  MT_COLOR_NORMAL },
   { "tilde",   MT_COLOR_TILDE },
   { "markers", MT_COLOR_MARKERS },
--- mutt_curses.h.ori   Tue Nov 13 22:19:12 2001
+++ mutt_curses.h   Tue Nov 13 22:19:44 2001
@@ -119,6 +119,7 @@
   MT_COLOR_BOLD,
   MT_COLOR_UNDERLINE,
   MT_COLOR_INDEX,
+  MT_COLOR_QUESTION,
   MT_COLOR_MAX
 };
 
--- curs_lib.c.ori  Thu Nov 15 21:58:00 2001
+++ curs_lib.c  Thu Nov 15 22:18:18 2001
@@ -105,7 +105,9 @@
   do
   {
 CLEARLINE (LINES-1);
+SETCOLOR(MT_COLOR_QUESTION);
 addstr (field);
+SETCOLOR(MT_COLOR_NORMAL);
 mutt_refresh ();
 getyx (stdscr, y, x);
 ret = _mutt_enter_string (buf, buflen, y, x, complete, multiple, files, numfiles, 
es);
@@ -170,7 +172,9 @@
 #endif
 
   CLEARLINE(LINES-1);
+  SETCOLOR(MT_COLOR_QUESTION);
   printw ("%s ([%s]/%s): ", msg, def ? yes : no, def ? no : yes);
+  SETCOLOR(MT_COLOR_NORMAL);
   FOREVER
   {
 mutt_refresh ();
@@ -396,10 +400,12 @@
 {
   event_t ch;
 
+  SETCOLOR(MT_COLOR_QUESTION);
   mvaddstr (LINES-1, 0, (char *) prompt);
   addstr (_(" ('?' for list): "));
   if (buf[0])
 addstr (buf);
+  SETCOLOR(MT_COLOR_NORMAL);
   clrtoeol ();
   mutt_refresh ();
 
@@ -481,7 +487,9 @@
   char *p, *nletters;
 
   nletters = _(letters);
+  SETCOLOR (MT_COLOR_QUESTION);
   mvaddstr (LINES - 1, 0, prompt);
+  SETCOLOR (MT_COLOR_NORMAL);
   clrtoeol ();
   FOREVER
   {


--- OPS.origFri Nov 16 00:02:23 2001
+++ OPS Fri Nov 16 00:00:47 2001
@@ -153,6 +153,7 @@
 OP_SORT_REVERSE "sort messages in reverse order"
 OP_TAG "tag the current entry"
 OP_TAG_PREFIX "apply next function to tagged messages"
+OP_TAG_PREFIX_COND "apply next function ONLY to tagged messages"
 OP_TAG_SUBTHREAD "tag the current subthread"
 OP_TAG_THREAD "tag the current thread"
 OP_TOGGLE_NEW "toggle a message's 'new' flag"
--- curs_lib.c.orig Thu Nov 15 23:56:51 2001
+++ curs_lib.c  Thu Nov 15 23:57:02 2001
@@ -39,7 +39,7 @@
  * is impossible to unget function keys in SLang, so roll our own input
  * buffering routines.
  */
-static size_t UngetCount = 0;
+size_t UngetCount = 0;
 static size_t UngetBufLen = 0;
 static event_t *KeyEvent;
 
--- curs_main.c.origThu Nov 15 23:53:57 2001
+++ curs_main.c Thu Nov 15 23:58:31 2001
@@ -43,7 +43,7 @@
 
 
 
-
+extern size_t UngetCount;
 
 
 
@@ -620,6 +620,36 @@
   }
   else if (option (OPTAUTOTAG) && Context && Context->tagged)
tag = 1;
+
+  if (op == OP_TAG_PREFIX_COND)
+  {
+   if (!Context)
+   {
+ mutt_error _("No mailbox is open.");
+ continue;
+   }
+
+   if (!Context->tagged)
+   {
+ while(UngetCount>0)
+   mutt_getch();
+ mutt_error _("No tagged messages.");
+ continue;
+   }
+   tag = 1;
+
+   /* give visual

Re: mutt in german language

2001-11-16 Thread Kai Blin

* Suresh Ramasubramanian <[EMAIL PROTECTED]> [24/10/01, 22:28:26]:

> > it would be nice to have mutt-homepage/websites in german language too.
> > Germany makes great powerfull steps in developping mutt...
> > Lovely [not Taliban-] greetings
> 
> http://www.mutt.org has links to deutsche language howtos on mutt

Perhaps he would like to translate the home page?

Greets,
Kai


-- 
Kai Blin Webmasterof  http://www.uni-tuebingen.de/uni/thm/molgen/
Univ. of Tuebingen  Inst. of   Human   Genetics  fon +49-7071-2974890
Wilhelmstrasse 27   Dept. of Molecular Genetics  fax +49-7071-295233
D-72074 Tuebingen   Do molecular biologists wear designer genes?



Re: patches (colored questions, conditional tag-prefix)

2001-11-16 Thread David T-G

Nicolas --

...and then Nicolas Rachinsky said...
% Hallo,

Hello!


% 
% Does anybody know if there are any patches to color mutt's questions
% and to make tag-prefix "conditional", i.e. doing nothing if there are
% no tagged messages?

Nope; I haven't seen either one, and I know that a distinct need for the
latter exists (a way to acheive such a thing has been much discussed and
it was figured that we'd need to wait for an internal scripting language;
such a simple idea never came up!).

I don't use color, so I don't have much use for the first one, but I'll
try to compile both with my patch cocktail and then try write some macros
which would need the second so that I can test :-)


Thanks a bunch!

:-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!




msg20506/pgp0.pgp
Description: PGP signature


[no subject]

2001-11-16 Thread Steven G. Harms

The header info in there plain as day.  I guess when you terminate
the editor, mutt must move the 'header' content from the editor's
temp file into the 'header' and then leave the body as the
text attachment.  This, of course, being the only thing operated
upon by the 'F' option.

Anyway, it appears I'm at an impasse.  Anyone out there have any
ideas?

Steven

On Wed, Nov 14, 2001 at 01:58:41PM -0500, David T-G wrote:
>Steven --
>
>...and then Steven G. Harms said...
>% Regrettably not, i'm talking IMAP to my server..
>
>Ah.  That makes it a little trickier.
>
>
>%=20
>% Is it possible to to maybe pipe that to a little shell scrp that
>% could parse the right field, and then pump that back INTO mutt=20
>% in the CC field???
>
>At this point I'd probably ensure that edit_headers is turned on so that
>you get the whole shebang and use sed (or awk) to capture the subject
>line and spit out a cc: line (you can just tack that onto the headers as
>an additional line; mutt will handle it) and then dive into your editor
>as usual.
>
>Hmmm...  Actually, $editor will be handed the name of an existing file,
>so you might want to do this in perl where you can write back to the
>file easily.
>
>
>%=20
>% Anyone?
>
>Have fun :-)  Post your results, too!
>
>
>%=20
>% steven
>
>
>:-D
>--=20
>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!
>

- --=20
[The first attachment to this email is a cryptographic signature.
I protect my privacy by using GnuPG for Linux]

 || ||  Steven G. Harms=20
:||:   :||: [EMAIL PROTECTED]
   ::||:: ::||::[EMAIL PROTECTED]
 .:::||:::. .:::||:::.  (408)525-1767=20
=2E..::||::. . . . ..:||::...=20
[[Cisco Systems:  Empowering the Internet Generation]]
- --+pHx0qQiF2pBVqBT
Content-Type: application/pgp-signature
Content-Disposition: inline

- -BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE78/4S0Fa/d+hASL8RAkueAKCFU8nrMYC3wf2iwIuq1MJeDrJQcQCfUa5z
1iuqG3zTFkt2qZcZaEb3xzc=
=bZXu
- -END PGP SIGNATURE-

- --+pHx0qQiF2pBVqBT--

--




Re: pgp signature

2001-11-16 Thread David T-G

Luca --

...and then Luca said...
% Hi guys,

Hi!


% can you tell me how can i show the pgp signature on the pager
% like a text plain message ?

I've waited for someone else to reply since I just didn't understand what
you asked, but I haven't seen anything else go by.  When I read a signed
message I see the signature information right there.  What do you see,
and what do you mean?


% thanks for your attention,
% 
%   Luca


:-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!




msg20508/pgp0.pgp
Description: PGP signature


Re: send-hook to parse entry out of subject line and dump into CC field?

2001-11-16 Thread David T-G

Steven --

...and then Steven G. Harms said...
% David,
% 
% I thought I was on the right path with what you'd given me, regrettably,
% I've not found a way to make this work.

Well, we're getting close.


% 
% When using Mutt, I Use emacs as the editor and mutt then creates an

No flames today :-)


% ascii attachment from a file located in /tmp.  I realized that I could
% use the 'F' option to filter this tmpfile through a perl script or


% something of that nature.

Hmmm...  Rather than that, just modify the file before you open the
editor on it.


% 
% Regrettably, it seems that mutt chooses NOT to touch the headers -
% even when edit_headers=yes.  Here was my test.
% 
% I created 'hm.pl' which looks like:

I created /tmp/ed.sh which looks like

  #!/bin/sh
  
  perl -e '
open MUTTI, "< '$1'";
open MUTTO, ">'$1'.out";
while()
  {
print("-"); ###
print(MUTTO "  $_");
  }
  print("\n");  ###
close MUTTI;
close MUTTO;
'
  mv -f $1.out $1
  
  vim +/^$ $*

and set my $editor to that (note the clever unquoting of $1 in the open
lines) and, sure enough, found my entire file indented by two lines.

I let mutt put together the headers and the body and then hand it to the
"editor", which I've specified as a wrapper which will first manipulate
the file it's handed.

Now, I know that there is a way to edit in place in perl and skip the
temp file, but it doesn't pop to mind.  I could do it easily in ed but
that would probably be tough to use to grab the Subject: line and
generate a Cc: line :-)


...
% As you can see, the filter operation worked ONLY on the non-header data.
% 
% Possible solutions:
% 
% 1.  Find out the name of the /tmp/file (is it in a variable?) and then
% execute some | command to insert the appropriate cc line into the
% text.

The /tmp/file is passed to the $editor command, so you can easily read it
from your wrapper.


% 
% I don't think this will work though.  If there's still the
% 'header' versus 'ascii attachment [i.e. content] bifurcation,
% having the ability to write to that text file isn't
% going to affect the headers.

I don't think that will be any problem.


% 
% 2.  Find a way to access the headers themselves?

Nah; don't bother.


% 
% -
% 
% BUT!!! I don't understand why this is.  Even as I type this message to
% you, emacs tells me your message is "/tmp/mutt-stharms-lnx-20706-83".
% If i run cat on that in another X-term i see:

Yep; by the time your editor gets it it's been put together.


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!




msg20509/pgp0.pgp
Description: PGP signature


Re: send-hook to parse entry out of subject line and dump into CC field?

2001-11-16 Thread David T-G

Steven --

...and then Steven G. Harms said...
% David,
% 
% I thought I was on the right path with what you'd given me, regrettably,
% I've not found a way to make this work.

Well, we're getting close.


% 
% When using Mutt, I Use emacs as the editor and mutt then creates an

No flames today :-)


% ascii attachment from a file located in /tmp.  I realized that I could
% use the 'F' option to filter this tmpfile through a perl script or


% something of that nature.

Hmmm...  Rather than that, just modify the file before you open the
editor on it.


% 
% Regrettably, it seems that mutt chooses NOT to touch the headers -
% even when edit_headers=yes.  Here was my test.
% 
% I created 'hm.pl' which looks like:

I created /tmp/ed.sh which looks like

  #!/bin/sh
  
  perl -e '
open MUTTI, "< '$1'";
open MUTTO, ">'$1'.out";
while()
  {
print("-"); ###
print(MUTTO "  $_");
  }
  print("\n");  ###
close MUTTI;
close MUTTO;
'
  mv -f $1.out $1
  
  vim +/^$ $*

and set my $editor to that (note the clever unquoting of $1 in the open
lines) and, sure enough, found my entire file indented by two lines.

I let mutt put together the headers and the body and then hand it to the
"editor", which I've specified as a wrapper which will first manipulate
the file it's handed.

Now, I know that there is a way to edit in place in perl and skip the
temp file, but it doesn't pop to mind.  I could do it easily in ed but
that would probably be tough to use to grab the Subject: line and
generate a Cc: line :-)


...
% As you can see, the filter operation worked ONLY on the non-header data.
% 
% Possible solutions:
% 
% 1.  Find out the name of the /tmp/file (is it in a variable?) and then
% execute some | command to insert the appropriate cc line into the
% text.

The /tmp/file is passed to the $editor command, so you can easily read it
from your wrapper.


% 
% I don't think this will work though.  If there's still the
% 'header' versus 'ascii attachment [i.e. content] bifurcation,
% having the ability to write to that text file isn't
% going to affect the headers.

I don't think that will be any problem.


% 
% 2.  Find a way to access the headers themselves?

Nah; don't bother.


% 
% -
% 
% BUT!!! I don't understand why this is.  Even as I type this message to
% you, emacs tells me your message is "/tmp/mutt-stharms-lnx-20706-83".
% If i run cat on that in another X-term i see:

Yep; by the time your editor gets it it's been put together.


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!




msg20510/pgp0.pgp
Description: PGP signature


Re: send-hook to parse entry out of subject line and dump into CC field?

2001-11-16 Thread Dan Boger

On Fri, Nov 16, 2001 at 01:31:30PM -0500, David T-G wrote:
> I created /tmp/ed.sh which looks like
> 
>   #!/bin/sh
>   
>   perl -e '
> open MUTTI, "< '$1'";
> open MUTTO, ">'$1'.out";
> while()
>   {
> print("-");   ###
> print(MUTTO "  $_");
>   }
>   print("\n");###
> close MUTTI;
> close MUTTO;
> '
>   mv -f $1.out $1
>   
>   vim +/^$ $*
> 
> and set my $editor to that (note the clever unquoting of $1 in the open
> lines) and, sure enough, found my entire file indented by two lines.
> 
> I let mutt put together the headers and the body and then hand it to the
> "editor", which I've specified as a wrapper which will first manipulate
> the file it's handed.
> 
> Now, I know that there is a way to edit in place in perl and skip the
> temp file, but it doesn't pop to mind.  I could do it easily in ed but
> that would probably be tough to use to grab the Subject: line and
> generate a Cc: line :-)

perl -i -n -e 's/^/-  /;' $1

something like this? :)


-- 
Dan Boger
Linux MVP
brainbench.com




msg20511/pgp0.pgp
Description: PGP signature


Re: send-hook to parse entry out of subject line and dump into CC field?

2001-11-16 Thread darren chamberlain

Dan Boger <[EMAIL PROTECTED]> said something to this effect on 11/16/2001:
> On Fri, Nov 16, 2001 at 01:31:30PM -0500, David T-G wrote:
> perl -i -n -e 's/^/-  /;' $1
> 
> something like this? :)

Close!

perl -i -pe 's/^/-  /' $1

(darren)

-- 
We are Pentium of Borg. Division is futile. You will be approximated.



Re: send-hook to parse entry out of subject line and dump into CC field?

2001-11-16 Thread Dan Boger

On Fri, Nov 16, 2001 at 01:50:05PM -0500, darren chamberlain wrote:
> Dan Boger <[EMAIL PROTECTED]> said something to this effect on 11/16/2001:
> > On Fri, Nov 16, 2001 at 01:31:30PM -0500, David T-G wrote:
> > perl -i -n -e 's/^/-  /;' $1
> > 
> > something like this? :)
> 
> Close!
> 
> perl -i -pe 's/^/-  /' $1

doh!  what was I thinking!  

-- 
Dan Boger
[EMAIL PROTECTED]



msg20513/pgp0.pgp
Description: PGP signature


Re: send-hook to parse entry out of subject line and dump into CC field?

2001-11-16 Thread David T-G

Darren & Dan --

...and then darren chamberlain said...
% Dan Boger <[EMAIL PROTECTED]> said something to this effect on 11/16/2001:
% > On Fri, Nov 16, 2001 at 01:31:30PM -0500, David T-G wrote:
% > perl -i -n -e 's/^/-  /;' $1
% > 
% > something like this? :)
% 
% Close!
% 
% perl -i -pe 's/^/-  /' $1

Yes; thanks much to both of you.  Now throw in a matching clause that
will trap $4 out of the subject line and print a new "CC:" line to it
and he'll be done :-)


% 
% (darren)
% 
% -- 
% We are Pentium of Borg. Division is futile. You will be approximated.


:-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!




msg20514/pgp0.pgp
Description: PGP signature


Mailbox History

2001-11-16 Thread Thorsten Haude

Hi,

this one bothers me for some time:
I use
macro index d "=admin/trash\n" "Move mail to trashcan"
to get mail out of the way. If I change the mailbox after that, the
first entry in the mailbox history is '=admin/trash'. Is there a way
of changing that, short of patching the source?

Thorsten
-- 
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
- Benjamin Franklin



Re: Mailbox History

2001-11-16 Thread David Champion

On 2001.11.16, in <[EMAIL PROTECTED]>,
"Thorsten Haude" <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> this one bothers me for some time:
> I use
>   macro index d "=admin/trash\n" "Move mail to trashcan"
> to get mail out of the way. If I change the mailbox after that, the
> first entry in the mailbox history is '=admin/trash'. Is there a way
> of changing that, short of patching the source?

Sure.

macro index d "=admin/trash\nmacro editor  
'macro editor  \"\"\\n'\n" 
"Move mail to trashcan"

... or something like that. You get the idea. :)

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



Re: Mailbox History

2001-11-16 Thread Thorsten Haude

Moin,

* David Champion <[EMAIL PROTECTED]> [01-11-16 20:48]:
>On 2001.11.16, in <[EMAIL PROTECTED]>,
>   "Thorsten Haude" <[EMAIL PROTECTED]> wrote:
>> this one bothers me for some time:
>> I use
>>  macro index d "=admin/trash\n" "Move mail to trashcan"
>> to get mail out of the way. If I change the mailbox after that, the
>> first entry in the mailbox history is '=admin/trash'. Is there a way
>> of changing that, short of patching the source?
>Sure.
>
>macro index d "=admin/trash\nmacro editor  
>'macro editor  \"\"\\n'\n" 
>"Move mail to trashcan"
>
>... or something like that. You get the idea. :)
Huh. This is bizarre, but it should work.

OK, promise me that my KMail using friend never hears about this. He
would *die* laughing.

Thorsten
-- 
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
- Benjamin Franklin



Re: unable to post to AOL

2001-11-16 Thread MuttER

On Fri, Nov 16, 2001 at 12:08:07PM +0100, Oliver Ob wrote:
> Right a short question, as I am not using AOL but
> want Walter to be able to use Netscape with it:
> 
> What are the servers?
> pop3.aol.com and smtp.aol.com do not seem to work.
> 
> Can you be so nice as to simply post those? Thanks.
> 
> Some say it is not possible, so is there a workaround that?
---end quoted text---

You MAY post to aol by opening a browser to www.aol.com and log on with
an aol name/password.  Then open their mail client and send/receive
web mail. 

You may then forward to another account to copy your own mail or
cut/paste.

And this CAN BE accomplished from linux.
-- 
Pat Shanahan   Registered Linux User #207535
Registered at: http://counter.li.org



Re: Mutt an multiple mailboxes

2001-11-16 Thread Prahlad Vaidyanathan

Hi,

Check for 'mbox-hook's in the Manual.

pv.

On Thu, 15 Nov 2001 Markus <[EMAIL PROTECTED]> spoke thusly:
> Hi!
> 
> I've a wish how mutt should handle my mails and I don't know how to realize
> this. I'm subscribed in several mailinglists and so my mbox grow's up.
> One solution is to use procmail - but now my wish:
> 
> I want to get *every* new mail into /var/spool/mail/lordbyte. So this
> does my MTA. Now I want to start mutt and read all my new eMails an set
> flags like "read" to my mails.
> 
> Now - when I quit mutt, I want the mails to be sorted in mailfolders.
> One idea was to define my mbox to smth. like "| formail -s procmail \
> /var/spool/mail/lordbyte". But this doesn't work.
> 
> A second Idea was to define a macro wich sould do this job, but
> if I move mails with procmail mutt looses the flags.
> 
> So - is in mutt any possibility to sort mails automatically?
> (I know save-hooks - but then I have to push "s " for every mail.
> 
> Thanks!
>   Markus
> 
> 
> -- 
> .o--=[ eMail: [EMAIL PROTECTED] ]=-=[ internet: www.ce-terra.de ]=o.

-- 
Prahlad Vaidyanathan <[EMAIL PROTECTED]>What, me worry ?
http://www.symonds.net/~prahladv/Don't Panic !
--



Re: Backspace in the pager

2001-11-16 Thread Sean LeBlanc

On 11-15 20:34, Nicolas Rachinsky wrote:
> On Thu, Nov 15, 2001 at 09:58:13AM -0700, Sean LeBlanc <[EMAIL PROTECTED]> wrote:
> > BTW, I use putty most of the time, other times I port forward via tera term's
> > ssh plugin, and use something like xterm.
> > 
> > Do you use putty often? I haven't been able to get color to work in it. Color
> > does work in rxvt, so I don't think it's my .muttrc, per se.
> 
> I use PuTTY most of the time to read my mail, because I'm sitting in
> front of m$windows.
> 
> Colors are working perfectly here, try setting TERM=xterm-color.
> I use an own termcap entry named putty:
> putty:@7=\E[4~:kh=\E[1~:kD=\E[3~:tc=xterm-color:
> 
> Don't forget to use cap_mkdb when you changed your termcap.
> (Perhaps one of the other xterm-* entries works better, but I don't
> know)

Thanks. I finally tried out xterm-color, and it works like a champ.

This is really turning out to be one great mailer.

> 
> Nicolas

-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
End corporate welfare. Repeal the H1-B program now: http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItems&userid=tparkin
IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM: 
sleblancathome 




Vim colors?

2001-11-16 Thread Sean LeBlanc

Thanks for all the help everyone has given so far. I finally downloaded
and installed vim, and set it up as the editor. I've been looking around
for color config info...anyone have a favorite site, or a configuration
file to share?

Thanks,
-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
End corporate welfare. Repeal the H1-B program now: http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItems&userid=tparkin
IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM: 
sleblancathome 




Re: Vim colors?

2001-11-16 Thread Will Yardley

Sean LeBlanc wrote:

> Thanks for all the help everyone has given so far. I finally
> downloaded and installed vim, and set it up as the editor. I've been
> looking around for color config info...anyone have a favorite site, or
> a configuration file to share?

mine isn't very interesting, but:

% cat .vimrc
:set t_kD=^V
:set textwidth=72
:set wrap
:fixdel
:set noai
:set nohlsearch
:set notimeout  " don't timeout on mappings
:set ttimeout   " do timeout on terminal key codes
:set timeoutlen=100 " timemout in 100 msec
map Q gqip
"map F {!}par 70qf
map F {!}par 70q
map S d/^--ko
map  :1s/^From.*/From: Will Yardley /

the examples in /etc/vimrc should be helpful too.

w

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



unable to post to AOL

2001-11-16 Thread Oliver Ob

Right a short question, as I am not using AOL but
want Walter to be able to use Netscape with it:

What are the servers?
pop3.aol.com and smtp.aol.com do not seem to work.

Can you be so nice as to simply post those? Thanks.

Some say it is not possible, so is there a workaround that?
-- 
*º¤., ¸¸,.¤º*¨¨¨*¤=Oliver@home= *º¤., ¸¸,.¤º*¨¨*¤
I   http://www.bmw-roadster.de/Friends/Olli/olli.html   I
I   http://www.bmw-roadster.de/Friends/friends.html I
I   http://groups.yahoo.com/group/VGAP-93   I
I   http://home.t-online.de/home/spacecraft.portal  I
>>>  Telek0ma iBBMS - soon back online +49.4503.TRSi1/TRSi2   <<<



Re: unable to post to AOL

2001-11-16 Thread David T-G

Oliver --

The proper mailing address for mutt-users is *still* [EMAIL PROTECTED]
rather than @gbnet.net.  Please take note of it.

...and then Oliver Ob said...
% Right a short question, as I am not using AOL but
% want Walter to be able to use Netscape with it:
% 
% What are the servers?
% pop3.aol.com and smtp.aol.com do not seem to work.

I was informed by AOL tech support that there is no SMTP server available
within AOL and that, basically, if you want to send mail while connected
to AOL then you have to use AOL's mail program.  If you don't have your
own server available, then that's true enough for this case.


% 
% Can you be so nice as to simply post those? Thanks.

I keep telling you that they don't exist; I can't be any nicer than that.


% 
% Some say it is not possible, so is there a workaround that?

Find another mail server -- an open relay, your own server, anything.


% -- 
% *º¤., ¸¸,.¤º*¨¨¨*¤=Oliver@home= *º¤., ¸¸,.¤º*¨¨*¤
% I   http://www.bmw-roadster.de/Friends/Olli/olli.html   I
% I   http://www.bmw-roadster.de/Friends/friends.html I
% I   http://groups.yahoo.com/group/VGAP-93   I
% I   http://home.t-online.de/home/spacecraft.portal  I
% >>>  Telek0ma iBBMS - soon back online +49.4503.TRSi1/TRSi2   <<<


:-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!




msg20654/pgp0.pgp
Description: PGP signature


Re: [SLE] unable to post to AOL

2001-11-16 Thread Tim Prince

No, most AOL portals (in North America, at least) are set up to prevent
linux logins.  There have been trial version of Netscape which were allowed
access to AOL mail servers for a time, but I have seen no NG access allowed
except by the AOL Windows software (or via google).
- Original Message -
From: "Oliver Ob" <[EMAIL PROTECTED]>
To: "Lx Mutt" <[EMAIL PROTECTED]>; "Lx Suse E" <[EMAIL PROTECTED]>;
"MESSERSCHMIDT ME 209" <[EMAIL PROTECTED]>
Sent: Friday, November 16, 2001 3:08 AM
Subject: [SLE] unable to post to AOL


> Right a short question, as I am not using AOL but
> want Walter to be able to use Netscape with it:
>
> What are the servers?
> pop3.aol.com and smtp.aol.com do not seem to work.
>
> Can you be so nice as to simply post those? Thanks.
>
> Some say it is not possible, so is there a workaround that?
> --
> *º¤., ¸¸,.¤º*¨¨¨*¤=Oliver@home= *º¤., ¸¸,.¤º*¨¨*¤
> I   http://www.bmw-roadster.de/Friends/Olli/olli.html   I
> I   http://www.bmw-roadster.de/Friends/friends.html I
> I   http://groups.yahoo.com/group/VGAP-93   I
> I   http://home.t-online.de/home/spacecraft.portal  I
> >>>  Telek0ma iBBMS - soon back online +49.4503.TRSi1/TRSi2   <<<
>
> --
> To unsubscribe send e-mail to [EMAIL PROTECTED]
> For additional commands send e-mail to [EMAIL PROTECTED]
> Also check the FAQ at http://www.suse.com/support/faq and the
> archives at http://lists.suse.com
>