Re: update encoding?

2002-04-03 Thread Simon White

02-Apr-02 at 17:16, Adam Shostack ([EMAIL PROTECTED]) wrote :
 The client's clock is running a few minutes behind the server.  You
 write the file at local noon, which the server sets to be 12:03.  Mutt
 checks the file, sees that its mtime is in the future (12:03 being
 later than 12:00), and warns you.

NTP is your friend.

I use NTP to synchronise all servers, and as many workstations as
possible. Everybody's clock is within microseconds of each other, and this
can reduce problems.

Using a simple ntp client like k9, you can just listen for ntp broadcasts
on the local subnet and update your clock accordingly. k9 works for
Windows and Linux clients. You just need one master server on each
subnet, which broadcasts the time every minute or so to all clients.

-- 
[Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:61.19% see www.mersenne.org]
If it dies, it's biology.  If it blows up, it's chemistry, and if it
doesn't work, it's physics.
[Linux user #170823 http://counter.li.org. Home cooked signature rotator.]



Re: Compiling problems with newer autoconf on vvv.nntp patch

2002-04-03 Thread Mads Martin Jørgensen

* Volker Moell [EMAIL PROTECTED] [Mar 14. 2002 15:30]:
 Now using the latest autoconf-2.53 I get the error message:
   $ ./configure
   [...]
   $ make
   cd .  autoconf
configure.in:296: error: do not use LIBOBJS directly, use AC_LIBOBJ
(see section `AC_LIBOBJ vs. LIBOBJS' make: *** [configure] Error 1
   $
 
 The output of ./configuire seems as normal.
 
 Any ideas? Is it a bug or did I something wrong?


--- mutt-1.3.28/configure.in.old2002-03-13 13:49:46.0 +0100
+++ mutt-1.3.28/configure.in2002-04-03 13:09:53.0 +0200
@@ -293,7 +293,7 @@
 AC_CHECK_FUNCS(snprintf, , [mutt_cv_snprintf=yes])
 AC_CHECK_FUNCS(vsnprintf, , [mutt_cv_snprintf=yes])
 if test $mutt_cv_snprintf = yes; then
-LIBOBJS=$LIBOBJS snprintf.o
+   AC_LIBOBJ([snprintf])
 fi
 
 dnl SCO uses chsize() instead of ftruncate()
@@ -325,7 +325,7 @@
 
 if test $mutt_cv_regex = yes; then
 AC_DEFINE(USE_GNU_REGEX,1,[ Define if you want to use the included regex.c. ])
-LIBOBJS=$LIBOBJS regex.o
+   AC_LIBOBJ([regex])
 fi
 
This patch fixes it.
 
-- 
Mads Martin Jørgensen, http://mmj.dk
Why make things difficult, when it is possible to make them cryptic
 and totally illogic, with just a little bit more effort?
-- A. P. J.



Re: Compiling problems with newer autoconf on vvv.nntp patch

2002-04-03 Thread Thomas Roessler

AC_LIBOBJ doesn't exist with autoconf 2.13.

On 2002-04-03 13:17:45 +0200, Mads Martin Jørgensen wrote:
Date: Wed, 3 Apr 2002 13:17:45 +0200
From: Mads Martin Jørgensen [EMAIL PROTECTED]
To: ML mutt [EMAIL PROTECTED]
Subject: Re: Compiling problems with newer autoconf on vvv.nntp patch

* Volker Moell [EMAIL PROTECTED] [Mar 14. 2002 15:30]:
 Now using the latest autoconf-2.53 I get the error message:
   $ ./configure
   [...]
   $ make
   cd .  autoconf
configure.in:296: error: do not use LIBOBJS directly, use AC_LIBOBJ
(see section `AC_LIBOBJ vs. LIBOBJS' make: *** [configure] Error 1
   $
 
 The output of ./configuire seems as normal.
 
 Any ideas? Is it a bug or did I something wrong?


--- mutt-1.3.28/configure.in.old   2002-03-13 13:49:46.0 +0100
+++ mutt-1.3.28/configure.in   2002-04-03 13:09:53.0 +0200
@@ -293,7 +293,7 @@
 AC_CHECK_FUNCS(snprintf, , [mutt_cv_snprintf=yes])
 AC_CHECK_FUNCS(vsnprintf, , [mutt_cv_snprintf=yes])
 if test $mutt_cv_snprintf = yes; then
-LIBOBJS=$LIBOBJS snprintf.o
+  AC_LIBOBJ([snprintf])
 fi
 
 dnl SCO uses chsize() instead of ftruncate()
@@ -325,7 +325,7 @@
 
 if test $mutt_cv_regex = yes; then
 AC_DEFINE(USE_GNU_REGEX,1,[ Define if you want to use the included regex.c. 
])
-LIBOBJS=$LIBOBJS regex.o
+  AC_LIBOBJ([regex])
 fi
 
This patch fixes it.
 
-- 
Mads Martin Jørgensen, http://mmj.dk
Why make things difficult, when it is possible to make them cryptic
 and totally illogic, with just a little bit more effort?
-- A. P. J.

-- 
Thomas Roessler [EMAIL PROTECTED]  (ICQ: 127158008)



Re: echo $EUID

2002-04-03 Thread Shawn McMahon

begin  quoting what Mark J. Reed said on Tue, Apr 02, 2002 at 11:35:25PM -0500:
 
 In cases where there was an even wider divergence between the
 BSD and System V commands (the ps(1) command being the most infamous
 example), you may find the BSD version in /usr/ucb (this is analogous to
 but reversed from the old SunOS case, where the System V versions were
 in /usr/5bin).

Don't assume, however, that BSD style necessarily is 100% the same
as GNU style.

ps being the example, yet again; the w option doesn't show as much stuff
as you can get with two ws on GNU ps.




msg26577/pgp0.pgp
Description: PGP signature


Re: echo $EUID

2002-04-03 Thread Mark J. Reed

On Wed, Apr 03, 2002 at 08:12:00AM -0500, Shawn McMahon wrote:
 Don't assume, however, that BSD style necessarily is 100% the same
 as GNU style.
 
 ps being the example, yet again; the w option doesn't show as much stuff
 as you can get with two ws on GNU ps.
You can also put two 'w's on /usr/ucb/ps and get the full command line of
every process, but the point is a good one.  The GNU/Linux versions of
commands are neither System V nor BSD, but a separate animal inspired
to various degrees by each of the traditions.

-- 
Mark REED| CNN Internet Technology
1 CNN Center Rm SW0831G  | [EMAIL PROTECTED]
Atlanta, GA 30348  USA   | +1 404 827 4754 
--
Military intelligence is a contradiction in terms.
-- Groucho Marx



Grepmail alike for Maildirs

2002-04-03 Thread David Collantes

Hi there!

Does anyone knows a grepmail alike tool that will work on Maildirs? Thanks!

Cheers,

-- 
David Collantes - http://www.bus.ucf.edu/david/
College of Business Administration, University of Central Florida
Great spirits have often encountered violent opposition from weak minds.




smime.p7s
Description: application/pkcs7-signature


Re: close IMAP connections

2002-04-03 Thread Dan Boger

On Tue, Apr 02, 2002 at 07:07:35PM +0200, Michael Tatge wrote:
 Dan Boger ([EMAIL PROTECTED]) muttered:
  when I don't access that one folder for a while, and I switch to it
  (with a macro), I get an error connection closed and an empty index.
  the only thing I could find that would fix this is to quit mutt and
  start it again - a new connection will then be established.
 
 Try setting $imap_keepalive to a higher value.

to a higher value?  that's counter intuitive, isn't it?

anyway, to report, setting it to a lower value did not help - accessing
the mailbox before going to sleep last night, and again this morning, I
get the same problem.  Mutt says some sort of error (is there an easy
way to review/catch these?), followed by a Close failed...  then I
have to quit and reenter mutt.

it is not impossible that this problem is with my imap server, btw, but
I'm trying to clear all my bases.

on the other hand, setting mail_check higher did wonders to the
performance of mutt with a lot of IMAP boxes :)

-- 
Dan Boger
[EMAIL PROTECTED]



msg26580/pgp0.pgp
Description: PGP signature


Re: Grepmail alike for Maildirs

2002-04-03 Thread Ralf Hildebrandt

On Wed, Apr 03, 2002 at 08:17:39AM -0500, David Collantes wrote:
 Hi there!
 
 Does anyone knows a grepmail alike tool that will work on Maildirs? Thanks!

grep -r expression Maildir/*

-- 
Ralf Hildebrandt (Im Auftrag des Referat V A)   [EMAIL PROTECTED]
Charite Campus Virchow-Klinikum Tel.  +49 (0)30-450 570-155
Referat V A - Kommunikationsnetze - Fax.  +49 (0)30-450 570-916
Microsoft: A Proven Danger to National Security
http://www.infowarrior.org/articles/msdanger.pdf




Re: echo $EUID

2002-04-03 Thread Shawn McMahon

begin  quoting what Mark J. Reed said on Wed, Apr 03, 2002 at 08:18:57AM -0500:

 You can also put two 'w's on /usr/ucb/ps and get the full command line of
 every process,

Nope; it has a cutoff after a certain number of characters, and there's
nothing you can do about it.

We ran into this problem when one of our developers wrote an application
on Linux that did a ps and looked for a string, when the process in
question was in an extremely long path and was run with the full path
name.  When he ported it to Solaris, it wouldn't work, even with
/usr/ucb/ps, because of the cutoff.

I suggested we install GNU ps, but nobody in management wanted to hear that.




msg26582/pgp0.pgp
Description: PGP signature


Re: Grepmail alike for Maildirs

2002-04-03 Thread David T-G

David, et al --

...and then Ralf Hildebrandt said...
% 
% On Wed, Apr 03, 2002 at 08:17:39AM -0500, David Collantes wrote:
%  Hi there!
%  
%  Does anyone knows a grepmail alike tool that will work on Maildirs? Thanks!
% 
% grep -r expression Maildir/*

... perhaps with a little shell script wrapping to take the grep output
(having used -l to spit out just the filenames) and copy them into a
temp Maildir and then fire up mutt just like grepm.


% 
% -- 
% Ralf Hildebrandt (Im Auftrag des Referat V A)   [EMAIL PROTECTED]
% Charite Campus Virchow-Klinikum Tel.  +49 (0)30-450 570-155
% Referat V A - Kommunikationsnetze - Fax.  +49 (0)30-450 570-916
% Microsoft: A Proven Danger to National Security
% http://www.infowarrior.org/articles/msdanger.pdf


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




msg26583/pgp0.pgp
Description: PGP signature


Re: close IMAP connections

2002-04-03 Thread David T-G

Dan --

...and then Dan Boger said...
% 
% On Tue, Apr 02, 2002 at 07:07:35PM +0200, Michael Tatge wrote:
%  Dan Boger ([EMAIL PROTECTED]) muttered:
...
%   the only thing I could find that would fix this is to quit mutt and
%   start it again - a new connection will then be established.
...
% get the same problem.  Mutt says some sort of error (is there an easy
% way to review/catch these?), followed by a Close failed...  then I
% have to quit and reenter mutt.

I don't have the real answer, but what if you change to a local folder
and then back to the imap folder?  You might not have to quite mutt after
all...


% 
% it is not impossible that this problem is with my imap server, btw, but
% I'm trying to clear all my bases.

Good idea.


% 
% on the other hand, setting mail_check higher did wonders to the
% performance of mutt with a lot of IMAP boxes :)

Hey, that's a bonus :-)


% 
% -- 
% Dan Boger
% [EMAIL PROTECTED]


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!




msg26584/pgp0.pgp
Description: PGP signature


Re: Grepmail alike for Maildirs

2002-04-03 Thread David Collantes

On 04-03-2002 at 08:27 EST, Ralf Hildebrandt [EMAIL PROTECTED] wrote:

  Does anyone knows a grepmail alike tool that will work on Maildirs? Thanks!
 
 grep -r expression Maildir/*

Hmmm, that I knew. I was looking for a way to get a nicer printout. Grepmail 
will allow to print the results back into Mutt in a very organized way, with 
a list of the emails containing the expression.

Cheers,

-- 
David Collantes - http://www.bus.ucf.edu/david/
College of Business Administration, University of Central Florida
The only source of knowledge is experience.




smime.p7s
Description: application/pkcs7-signature


Re: close IMAP connections

2002-04-03 Thread Dan Boger

On Wed, Apr 03, 2002 at 09:03:34AM -0500, David T-G wrote:
 % get the same problem.  Mutt says some sort of error (is there an easy
 % way to review/catch these?), followed by a Close failed...  then I
 % have to quit and reenter mutt.
 
 I don't have the real answer, but what if you change to a local folder
 and then back to the imap folder?  You might not have to quite mutt after
 all...

nope, same thing.  have to actually quit and restart mutt.
 
:)

-- 
Dan Boger
[EMAIL PROTECTED]



msg26586/pgp0.pgp
Description: PGP signature


Re: close IMAP connections

2002-04-03 Thread Ralf Hildebrandt

On Wed, Apr 03, 2002 at 09:07:41AM -0500, Dan Boger wrote:

  I don't have the real answer, but what if you change to a local folder
  and then back to the imap folder?  You might not have to quite mutt after
  all...
 
 nope, same thing.  have to actually quit and restart mutt.
  
 :)

This sucks.

-- 
Ralf Hildebrandt (Im Auftrag des Referat V A)   [EMAIL PROTECTED]
Charite Campus Virchow-Klinikum Tel.  +49 (0)30-450 570-155
Referat V A - Kommunikationsnetze - Fax.  +49 (0)30-450 570-916
I realise computers suck. The only reason why they are a hobby of mine
is because I enjoy pain! 




French accentuated letters in 1.3.28i

2002-04-03 Thread Charles Gagnon

Folks,

Pardon my imcompetence but for some reason, I cannot get mutt-1.3.x to process
and display french accentuated letters properly since the support for iconv
was introduced.  First, when I compile 1.2.5.1 with
--with-charmaps={wherever-maps-are}, it works like a charm. All the
accentuated letters are displayed properly.

But I compiled libiconv-1.7 and then compiled mutt-1.3.28i and I can't get it
to display those accentuated properly. I always end-up with ?, spaces or \009
codes. I added:

  source /usr/local/doc/mutt/samples/iconv/iconv.solaris-2.7.rc

I am running on a Solaris 2.8 system but I couldn't see the solaris-2.8 file
anywhere.

Any ideas?

-- 
Charles Gagnon   | My views are my views and they
http://unixrealm.com | do not represent those of anybody
[EMAIL PROTECTED]   | but me.

   You can lead a mule to water, but you can't make him drink.
   However, if you shoot a couple of uncooperative mules, the
   rest tend to get pretty thirsty.



Re: echo $EUID

2002-04-03 Thread Tim Kennedy


On Wed, 03 Apr 2002, Shawn McMahon wrote:

 I suggested we install GNU ps, but nobody in management wanted to hear that.
 

I feel blessed.  I have two species of management.  The first kind
wouldn't recognize a server if it reached out and smacked them.
The second species wants to sound like they know what's going on, but
really has no idea what's going on, so when I suggest something, they
say Hrmm.  Let me think about it.  
Then they come back a few hours later and say I think you're on to
something.  Go for it.

we install GNU stuff in /usr/local since Solaris doesn't have anything
in there by default.  Then to each their own, as they set up their
shell.  You have /usr/xpg4/bin, /usr/bin, /usr/local/bin, as you prefer.

Cheers,

-Tim


-- 
He's God. He's flighty. First it's a garden, then there's apples, but you 
can't EAT the apples, and there's a man and a women, but they can't bump 
uglies, and then, ah the hell with it, it's cities and smog and wars and 
shit and he's off resting on the seventh day anyway. --Jeff



msg26589/pgp0.pgp
Description: PGP signature


display proces id (Re: to GNU ps or not to GNU ps)

2002-04-03 Thread Sven Guckes

* Shawn McMahon [EMAIL PROTECTED] [2002-04-03 13:56]:
 We ran into this problem when one of our developers wrote an
 application on Linux that did a ps and looked for a string, when
 the process in question was in an extremely long path and was run
 with the full path name.  When he ported it to Solaris, it wouldn't
 work, even with /usr/ucb/ps, because of the cutoff.  I suggested
 we install GNU ps, but nobody in management wanted to hear that.

well, as soon as the installation of some
little program makes the companie's own
programs stop working then it is time
to install something better, isn't it?

time to exchange[tm] the management!

ObMutt:
can mutt display its own process id?

the display of the porcess id would be
helpful when there's a problem with mutt.
the admin could add this number to the
status_format in /etc/Muttrc so that
users will see it and will catch it
with a screen hardcopy.  bug reports
might then be handled much quicker..

Sven  [should i have started a new thread?]



Re: French accentuated letters in 1.3.28i - stable snapshot

2002-04-03 Thread Sven Guckes

* Charles Gagnon [EMAIL PROTECTED] [2002-04-03 14:30]:
 .. I cannot get mutt-1.3.x to process and display french accentuated
 letters properly since the support for iconv was introduced. [..]
 But I compiled libiconv-1.7 and then compiled mutt-1.3.28i and I
 can't get it to display those accentuated properly.
 I always end-up with ?, spaces or \009 codes.
 I added:
   source /usr/local/doc/mutt/samples/iconv/iconv.solaris-2.7.rc
 I am running on  a Solaris 2.8 system but
 I couldn't see the solaris-2.8 file anywhere.
 Any ideas?

welcome to the MOSU club (Mutt on Solaris Users).

today the no-iconv patch has been added -
and I'll try again tomorrow when Thomas Roessler
will upload the current snapshots.
maybe then it'll work?  i hope so.

as a matter of fact i dont' the
value in this iconv thing.
i just seems to get in the way..
does anyone use it successfully?

but maybe it's just that our Solaris machines
don't have proper locales installed.  actually,
the local installation drives me up the wall.
this alone it's a good reason to switch to Linux.

Sven  [Been there, done that, got the tshirt.]



Can not input 8bit chars in command line

2002-04-03 Thread Charles Jie

Hi,

I can read and write mail of 8bit charset (Traditional Chinese) in mutt.
But I can not input them in mutt's command line - such as To:, Subject:,
Search, Alias (the characters from XIM are stripped of the 8th bit).

Is there a setting to enable 8bit characters in command line at bottom?

thanks,
best regards,
charlie




Re: French accentuated letters in 1.3.28i - stable snapshot

2002-04-03 Thread Simon White

03-Apr-02 at 16:47, Sven Guckes ([EMAIL PROTECTED]) wrote :
 but maybe it's just that our Solaris machines
 don't have proper locales installed.  actually,
 the local installation drives me up the wall.
 this alone it's a good reason to switch to Linux.

We run Linux on Sparc boxes and are happier with them than when they ran
SunOS5.8.

Simon

-- 
[Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:61.24% see www.mersenne.org]
Man will never be free until the last king is strangled with the entrails
of the last priest.  -- Diderot
[Linux user #170823 http://counter.li.org. Home cooked signature rotator.]



Re: display proces id (Re: to GNU ps or not to GNU ps)

2002-04-03 Thread Dave Pearson

* Sven Guckes [EMAIL PROTECTED] [2002-04-03 16:33:45 +0200]:

 can mutt display its own process id?

set status_format=Hello, I am mutt and my PID is `echo $PPID`

and variations on that theme?

-- 
Dave Pearson:  | mutt.octet.filter - autoview octet-streams
http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
Mutt:  | muttrc2html   - muttrc - HTML utility
http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode



Re: French accentuated letters in 1.3.28i - stable snapshot

2002-04-03 Thread Jeremy Blosser

On Apr 03, Sven Guckes [[EMAIL PROTECTED]] wrote:
 * Charles Gagnon [EMAIL PROTECTED] [2002-04-03 14:30]:
  .. I cannot get mutt-1.3.x to process and display french accentuated
  letters properly since the support for iconv was introduced. [..] But I
  compiled libiconv-1.7 and then compiled mutt-1.3.28i and I can't get it
  to display those accentuated properly.
  I always end-up with ?, spaces or \009 codes.
  I added:
source /usr/local/doc/mutt/samples/iconv/iconv.solaris-2.7.rc
  I am running on  a Solaris 2.8 system but I couldn't see the
  solaris-2.8 file anywhere.
  Any ideas?
 
 today the no-iconv patch has been added - and I'll try again tomorrow
 when Thomas Roessler will upload the current snapshots.  maybe then it'll
 work?  i hope so.
 
 as a matter of fact i dont' the value in this iconv thing.  i just seems
 to get in the way..  does anyone use it successfully?

Er, my understanding* is that all the internal support for extended
characters has been dropped in favor of letting libiconv handle it, so no,
being able to build without libiconv isn't going to help him.

The point of being able to build without it is for people on very old
systems that don't (want|need|have) it.  For anyone else it seems to have
been working fine for some time now.

*Very likely flawed or incomplete, since I don't need to deal with it and
remain mostly blissfully ignorant on this issue.



msg26595/pgp0.pgp
Description: PGP signature


Re: Grepmail alike for Maildirs

2002-04-03 Thread David T-G

David --

...and then David Collantes said...
% 
% On 04-03-2002 at 08:27 EST, Ralf Hildebrandt [EMAIL PROTECTED] wrote:
% 
%   Does anyone knows a grepmail alike tool that will work on Maildirs? Thanks!
%  
%  grep -r expression Maildir/*
% 
% Hmmm, that I knew. I was looking for a way to get a nicer printout. Grepmail 
% will allow to print the results back into Mutt in a very organized way, with 
% a list of the emails containing the expression.

The whole reason for grepmail is because it's challenging to pull a
single message out of an entire mbox; that's a piece of cake in a Maildir,
since every message is in its own file.

A quickie script that you might call grepmaildir that looks about like

  #!/bin/sh
  FILES=`grep -lr $1 $*`
  if [ -n $FILES ]
  then
mkdir -p /tmp/grepmaildir.temp.$$/cur
cp -p $FILES /tmp/grepmaildir.temp.$$/cur
mutt -R /tmp/grepmaildir.temp.$$
rm -r /tmp/grepmaildir.temp.$$
  fi

but which in reality should be much prettier (and, unlike this, would be
even rudimentarily tested :-) would do the same thing as grepmail + grepm;
alternatively, you could skip the whole temp Maildir bit and just pump the
resultant files through formail to generate ^From_ headers and then have
a drop-in replacement for grepmail (to then be called by grepm or such).


% 
% Cheers,

HTH  HAND


% 
% -- 
% David Collantes - http://www.bus.ucf.edu/david/
% College of Business Administration, University of Central Florida
% The only source of knowledge is experience.


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




msg26596/pgp0.pgp
Description: PGP signature


Re: display proces id (Re: to GNU ps or not to GNU ps)

2002-04-03 Thread darren chamberlain

* Sven Guckes [EMAIL PROTECTED] [2002-04-03 09:40]:
 ObMutt:
 can mutt display its own process id?
 
 the display of the porcess id would be
 helpful when there's a problem with mutt.
 the admin could add this number to the
 status_format in /etc/Muttrc so that
 users will see it and will catch it
 with a screen hardcopy.  bug reports
 might then be handled much quicker..

This made me interested.  This works for me, against mutt-1.3.27.
Ite defines %$ as the status char for the pid.  My rudimentary tests
show that it Does The Right Thing.

(I diff'ed with -caw; is there a preferred option set for mutt patches?)

(darren)

*** status.c.orig   Wed Apr  3 11:11:19 2002
--- status.cWed Apr  3 11:17:51 2002
***
*** 52,58 
   * %S = current aux sorting method ($sort_aux)
   * %t = # of tagged messages [option]
   * %v = Mutt version 
!  * %V = currently active limit pattern [option] */
  static const char *
  status_format_str (char *buf, size_t buflen, char op, const char *src,
   const char *prefix, const char *ifstring,
--- 52,59 
   * %S = current aux sorting method ($sort_aux)
   * %t = # of tagged messages [option]
   * %v = Mutt version 
!  * %V = currently active limit pattern [option]
!  * %$ = current pid */
  static const char *
  status_format_str (char *buf, size_t buflen, char op, const char *src,
   const char *prefix, const char *ifstring,
***
*** 272,277 
--- 273,283 
optional = 0;
break;
  
+ case '$':
+   snprintf (fmt, sizeof(fmt), %%%sd, prefix);
+   snprintf (buf, buflen, fmt, getpid());
+   break;
+ 
  case 0:
*buf = 0;
return (src);

-- 
Responsible behavior is the result of a socialization process.



Re: How do you search to: header?

2002-04-03 Thread jennyw

Thanks to everyone for the help!

Is there a place where the default key bindings are listed?  For example, 
l being the key for limit isn't in help.  Thanks!

Jen

On Wed, Apr 03, 2002 at 12:54:48AM +0200, Nicolas Rachinsky wrote:
 * jennyw [EMAIL PROTECTED] [2002-04-02 11:53:11 -0800]:
  I was just wondering how I would search for someone I sent a message to.  
  Using / doesn't help -- that only seems to search subject and from:.
 
 Look for Pattern in the manual.
 
 Nicolas
 
 



Re: How do you search to: header?

2002-04-03 Thread Simon White

03-Apr-02 at 08:26, jennyw ([EMAIL PROTECTED]) wrote :
 Thanks to everyone for the help!
 
 Is there a place where the default key bindings are listed?  For example, 
 l being the key for limit isn't in help.  Thanks!

It is. Right after k (previous message).

Simon.

-- 
[Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:61.25% see www.mersenne.org]
Men never do evil so completely and cheerfully as when they do it from
religious conviction.  -- Blaise Pascal
[Linux user #170823 http://counter.li.org. Home cooked signature rotator.]



Re: How do you search to: header?

2002-04-03 Thread David T-G

Jenny --

...and then jennyw said...
% 
% Thanks to everyone for the help!

That's why we're here :-)


% 
% Is there a place where the default key bindings are listed?  For example, 
% l being the key for limit isn't in help.  Thanks!

I don't know which help you're using, but pressing the '?' brings up a
help screen listing every function and its binding.  Be sure that you're
in the right context, though; when reading a message you're in the pager
and you will get pager help -- where limit is not available and thus
where l is not shown.


% 
% Jen


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!




msg26600/pgp0.pgp
Description: PGP signature


Re: How do you search to: header?

2002-04-03 Thread jennyw

On Wed, Apr 03, 2002 at 11:47:26AM -0500, David T-G wrote:
 ...and then jennyw said...
 % 
 % Thanks to everyone for the help!
 
 That's why we're here :-)

That's good to know!

 I don't know which help you're using, but pressing the '?' brings up a
 help screen listing every function and its binding.  Be sure that you're
 in the right context, though; when reading a message you're in the pager
 and you will get pager help -- where limit is not available and thus
 where l is not shown.

When I hit ? when it's listing all the messages, it doesn't show l for 
limit. It does show the key binding for showing the active limit, though. 
Do I just have a weird version?  I'm using the one that's packaged for 
Debian.

Thanks!

Jen




Re: How do you search to: header?

2002-04-03 Thread Simon White

03-Apr-02 at 09:08, jennyw ([EMAIL PROTECTED]) wrote :
 When I hit ? when it's listing all the messages, it doesn't show l for 
 limit. It does show the key binding for showing the active limit, though. 
 Do I just have a weird version?  I'm using the one that's packaged for 
 Debian.

Are you looking at the lower case and upper case values? They are
different, l and L have different functions.

--
[Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:61.26% see www.mersenne.org]
Sometimes we sit and read other people's interpretations of our lyrics and
think, 'Hey, that's pretty good.' If we liked it, we would keep our mouths
shut and just accept the credit as if it was what we meant all along.
  -- John Lennon.



Re: How do you search to: header?

2002-04-03 Thread MuttER

* Simon White [EMAIL PROTECTED] [04-03-02 12:20]:
 03-Apr-02 at 09:08, jennyw ([EMAIL PROTECTED]) wrote :
  When I hit ? when it's listing all the messages, it doesn't show l for 
  limit. It does show the key binding for showing the active limit, though. 
  Do I just have a weird version?  I'm using the one that's packaged for 
  Debian.
 
 Are you looking at the lower case and upper case values? They are
 different, l and L have different functions.

I believe that she is looking at pagerhelp and needs to look at
indexhelp.
-- 
Pat Shanahan   Registered Linux User #207535
Registered at: http://counter.li.org



Re: How do you search to: header?

2002-04-03 Thread David T-G

Jen --

...and then jennyw said...
% 
% On Wed, Apr 03, 2002 at 11:47:26AM -0500, David T-G wrote:
%  ...and then jennyw said...
%  % 
%  % Thanks to everyone for the help!
%  
%  That's why we're here :-)
% 
% That's good to know!

*grin*


% 
%  in the right context, though; when reading a message you're in the pager
%  and you will get pager help -- where limit is not available and thus
%  where l is not shown.
% 
% When I hit ? when it's listing all the messages, it doesn't show l for 

Hmmm...  That certainly sounds like the index.  Does your help screen
look like

  Help for index -- (32%)
  ^B  macro  |urlview\n
  ^D  delete-thread  delete all messages in thread
  ^E  edit-type  edit attachment content type
  ^F  forget-passphrase  wipe PGP passphrase from memory
  Tab   next-new   jump to the next new message
  .
  .
  .

or perhaps instead like

  Help for pager -- (42%)
  ^B  macro  |urlview\n
  ^D  half-down  scroll down 1/2 page
  ^E  edit-type  edit attachment content type
  ^F  forget-passphrase  wipe PGP passphrase from memory
  Tab   next-new   jump to the next new message

or such?

Assuming you really do have help for index shown, you should see
something like

  Help for index -- (32%)
  ^B  macro  |urlview\n
  ^D  delete-thread  delete all messages in thread
  ...
  Esck  mail-key   mail a PGP public key
  Escl  show-limit show currently active limit pattern
  Escn  next-subthread jump to the next subthread
  ...
  K   previous-entry move to the previous entry
  L   bottom-pagemove to the bottom of the page
  N   toggle-new toggle a message's 'new' flag
  ...
  k   previous-undeleted move to the previous undeleted message
  l   limit  show only messages matching a pattern
  m   mail   compose a new mail message

and be able to type

  /limit

within the help screen and see any occurrences of limit highlighted.



% limit. It does show the key binding for showing the active limit, though. 
% Do I just have a weird version?  I'm using the one that's packaged for 
% Debian.

Well, although I don't particularly trust packaged versions, I doubt that
that's the issue.

If you really go through all of the steps above and you really are in the
index help and it really isn't there, then show us the results of running

  mutt -v

and

  grep limit .mutt{,/mutt}rc
  grep limit /dev/null `mutt -v | grep SYSCONF | awk -F\ '{print $2}'`/Muttrc

from your shell prompt so that we can dig into this a bit (I wondered
if I was going to be able to get that last one on a single line! :-)


% 
% Thanks!

HTH  HAND


% 
% Jen


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




msg26604/pgp0.pgp
Description: PGP signature


outgoingmail

2002-04-03 Thread Johannes Breu

I can get mails from my POP-server using mutt but I am not able to send
mails. I think is due to unsuccessfull configuration of sendmail. So
this is my question: How do I configure sendmail? I just want sendmail
to know my SMTP-server. Nothing more. If it is important: my computer is
stably integrated in an network.

If you can help me please say I exactly wih which commands I need to
configure sendmail. I really got angry with that.

Furhter information: I am using Debian 2.2. In some way sendmail seems
to be connected with zmailer. I am not familiar with this either. All I
want to know is what do I have to do that my outgoing mail goes to the
SMTP-server.

Thank you Johannes Breu




Re: outgoingmail

2002-04-03 Thread David T-G

Johannes --

...and then Johannes Breu said...
% 
% I can get mails from my POP-server using mutt but I am not able to send

Good start.


% mails. I think is due to unsuccessfull configuration of sendmail. So

A common problem.

This isn't a sendmail (or qmail or exim or postfix or ...) list, so you
may or may not find any help here.

What most people in your situation do is to download a very simple MTA
such as ssmtp and install it; there is very little configuration to do
and everything works nicely.

For more information, check the archives; a good start would be searching
for ssmtp.  You can find the archives via the mutt.org home page;
a few different ones are listed near the bottom.


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!




msg26606/pgp0.pgp
Description: PGP signature


Re: outgoingmail

2002-04-03 Thread Michael Elkins

Johannes Breu wrote:
 Furhter information: I am using Debian 2.2. In some way sendmail seems
 to be connected with zmailer. I am not familiar with this either. All I
 want to know is what do I have to do that my outgoing mail goes to the
 SMTP-server.

Since you are running Debian, I would suggest that you instead use exim.
The Debian package has a really nice configuration script (eximconfig)
that asks you a few basic questions, one of which is whether or not to
relay mail to a smarthost.  You don't need to configure anything else.



Re: outgoingmail

2002-04-03 Thread darren chamberlain

* Johannes Breu [EMAIL PROTECTED] [2002-04-03 13:16]:
 I can get mails from my POP-server using mutt but I am not able to send
 mails. I think is due to unsuccessfull configuration of sendmail. So
 this is my question: How do I configure sendmail? I just want sendmail
 to know my SMTP-server. Nothing more. If it is important: my computer is
 stably integrated in an network.

If you have a mailhost (I'll assume by stably integrated that you do),
you can build your sendmail.cf with define(`SMART_HOST', `esmtp:mailhost')
in the m4 config; the resulting line in the sendmail.cf looks like:

  DSesmtp:mailhost

(I think that's all you need.)  However, I recommend ssmtp.  Keep
reading if you care.

 If you can help me please say I exactly wih which commands I need to
 configure sendmail. I really got angry with that.

We've all been there.

I just installed ssmtp the other day, and it was trivial.  The entirety
of my config looks like:

#
# /etc/ssmtp/ssmtp.conf -- a config file for sSMTP sendmail.
#

# The person who gets all mail for userids  1000
[EMAIL PROTECTED]

# The place where the mail goes. The actual machine name is required
# no MX records are consulted. Commonly mailhosts are named mail.domain.com
# The example will fit if you are in domain.com and your mailhub is so named.
mailhub=mailhost

# Where will the mail seem to come from?
rewriteDomain=real.domain

# The full hostname
hostname=me.real.domain


 Furhter information: I am using Debian 2.2. In some way sendmail seems
 to be connected with zmailer. I am not familiar with this either. All
 I want to know is what do I have to do that my outgoing mail goes to
 the SMTP-server.

You should be able to apt-get install ssmtp:

$ apt-cache search ssmtp
ssmtp - Extremely simple MTA to get mail off the system to a mail hub

(darren)

-- 
There is not enough love in the world to squander it on anything
by human beings.



Re: outgoingmail

2002-04-03 Thread dan radom

you can probably just get by with setting a smart relay in 
sendmail...DSsomesmtp.yourisp.com

dan

* Johannes Breu ([EMAIL PROTECTED]) wrote:
 I can get mails from my POP-server using mutt but I am not able to send
 mails. I think is due to unsuccessfull configuration of sendmail. So
 this is my question: How do I configure sendmail? I just want sendmail
 to know my SMTP-server. Nothing more. If it is important: my computer is
 stably integrated in an network.
 
 If you can help me please say I exactly wih which commands I need to
 configure sendmail. I really got angry with that.



Re: outgoingmail

2002-04-03 Thread Simon White

03-Apr-02 at 13:22, David T-G ([EMAIL PROTECTED]) wrote :
 For more information, check the archives; a good start would be searching
 for ssmtp.  You can find the archives via the mutt.org home page;
 a few different ones are listed near the bottom.

You can try nullmailer as well, this is supposedly simpler than ssmtp and
more recently developed IIRC.

Sendmail can be a smart relay:
http://www.sendmail.org/m4/masquerading.html

If you want all outgoing mail to go to a central relay site, define
SMART_HOST as well.  Briefly:

SMART_HOST applies to names qualified with other hosts.  However, beware
that other relays (e.g., UUCP_RELAY, BITNET_RELAY, DECNET_RELAY, and
FAX_RELAY) take precedence over SMART_HOST, so if you really want
absolutely everything to go to a single central site you will need to
unset all the other relays -- or better yet, find or build a minimal
config file that does this.

This also looks reasonably useful:
http://users.binary.net/dturley/linux/sendmail.html

-- 
[Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:61.27% see www.mersenne.org]
IDIOT, n - A member of a large and powerful tribe whose influence in human
affairs has always been dominant and controlling.  -- Ambrose Bierce
[Linux user #170823 http://counter.li.org. Home cooked signature rotator.]



Re: outgoingmail

2002-04-03 Thread Will Yardley

Michael Elkins wrote:
 Johannes Breu wrote:

  Furhter information: I am using Debian 2.2. In some way sendmail
  seems to be connected with zmailer. I am not familiar with this
  either. All I want to know is what do I have to do that my outgoing
  mail goes to the SMTP-server.
 
 Since you are running Debian, I would suggest that you instead use
 exim.  The Debian package has a really nice configuration script
 (eximconfig) that asks you a few basic questions, one of which is
 whether or not to relay mail to a smarthost.  You don't need to
 configure anything else.

or apt-get install postfix!

-- 
Will Yardley
input: william   hq . newdream . net . 




Re: language-problem

2002-04-03 Thread Erika Pacholleck

[03.04.02 09:54 +0200] Heiko Heil -- :
 I have compiled mutt v1.3.28i both on my Server (based on SuSE7.1) and
 on my Laptop (based on SuSE7.3).  Now I have noticed that the
 mutt-version on the server runs in English language and the mutt-version
 on my laptop in German language. The language-settings (according to
 locale) only differ from the @euro-suffix. But I want both versions in
 German language.

No network here, no Suse here, so just a guess, unverified

 hh@server:~  locale
 LANG=de_DE
 [snipped]

I read this to be the locale of your server.
I guess the locale of your laptop looks like LANG=de_DE@euro.

2 reasons I can think of:
1. check /usr/lib/locale directories having both de_DE and de_DE@euro
2. check both LANGUAGE variables
-- 
Erika Pacholleck [EMAIL PROTECTED]
mutters: insert vowels of last name




Re: display proces id - format string %$

2002-04-03 Thread Sven Guckes

* Sven Guckes [EMAIL PROTECTED] [2002-04-03 16:33:45 +0200]:
 can mutt display its own process id?

* Dave Pearson [EMAIL PROTECTED] [2002-04-03 15:43]:
 set status_format=Hello, I am mutt and my PID is `echo $PPID`
 and variations on that theme?

have you tried that?  i dont think so.  ;-)

however, darren chamberlain's patch should work.

I'd then be using the format string %$ in my
status_format right after the version number (%v):

 set status_format=%v [%$]: %f (%s) [%M/%m] [NEW=%n] %?V?[%V]?

any chances to get this in to mutt-1.4?
it's just a small change - and nice!
(like I said - especially for admins :-)

Sven



Re: X-Uptime: DSWs

2002-04-03 Thread Sven Guckes

* Shawn McMahon [EMAIL PROTECTED] [2002-04-01 21:27]:
 begin  quoting what Rocco Rutte said on Mon, Apr 01, 2002 at 11:20:32PM +0200:
  It may sound funny, but I really saw some Linux guys talking
  about what would be necessary to replace a kernel 'on the
  fly'.  Not that it does make lots of sence or is extraordinary
  usefull, but to some of them uptime is all that matters...
 It'd be easier to just make /proc/uptime writable...

hold it right there!  let's not overdo it.
such a command this definitely suffices:

  my_hdr X-Uptime: since 1970

ok, maybe make it not *that* obvious... ;-)

anyway, an uptime of two weeks will
make almost any Windows luser weep..
hehe

Sven



Sending Mail

2002-04-03 Thread Michael Montagne

I apologize for asking a question that I know I've seen before, but I
just can't seem to find it in the archives.
When sending a message, after editing the text and exiting out of vim,
I'm taken to a screen and required to press Y to send.  How can I make
Y the default so I can press ENTER?  I believe ENTER is bound to edit,
and I don't want to lose that ability either.

-- 
Michael Montagne
[EMAIL PROTECTED]
http://www.boora.com



Re: Sending Mail

2002-04-03 Thread darren chamberlain

* Michael Montagne [EMAIL PROTECTED] [2002-04-03 14:41]:
 I apologize for asking a question that I know I've seen before, but I
 just can't seem to find it in the archives.
 When sending a message, after editing the text and exiting out of vim,
 I'm taken to a screen and required to press Y to send.  How can I make
 Y the default so I can press ENTER?  I believe ENTER is bound to edit,
 and I don't want to lose that ability either.

bind compose Return send-message
bind compose v view-attach

(darren)

-- 
There is nothing like returning to a place that remains unchanged
to find the ways in which you yourself have altered.
-- Nelson Mandela



Feature Request

2002-04-03 Thread pat

Feature request.  It would be nice and timesaving (for me, at least) if
change-folder would default to ! when where was not a folder
containing New Mail.  Perhaps a set feature in muttrc ??

set change-folder some-default-location

Just a thought.
-- 
Pat Shanahan   Registered Linux User #207535
Registered at: http://counter.li.org



Re: How do you search to: header?

2002-04-03 Thread jennyw

On Wed, Apr 03, 2002 at 12:53:29PM -0500, David T-G wrote:
 Hmmm...  That certainly sounds like the index.  Does your help screen
 look like

Yes, I found it.  I was just confused about the search function ... I 
expected it to work like less where it'd take you to the next occurrence 
if you searched again. I now realize it just highlights stuff and you 
still need to page through the list.  Doh!

Thanks!

Jen



change $record based on mailboxes

2002-04-03 Thread Jun Sun


I have multiple mailbox folders.  I want to save a copy of outgoing 
message in the current mbox folder.  Pretty reasonable enough.

The following solution seems to work:

folder-hook . set record=
folder-hook =local set record==local
folder-hook =haviworks set record==haviworks
folder-hook =ebase set record==ebase


However, I have more than a dozen mailboxes and I sometimes add new ones.
Is there a quick and easy way to say I always want to set $record to the
current mailbox?

I tried 

folder-hook . set record==

and that simply creates '' file under my mail directory.

I don't think I am the mailing list any more.  Would appreciate if you
cc your reply directly to my email address.

TIA.

Jun



Re: change $record based on mailboxes

2002-04-03 Thread darren chamberlain

* Jun Sun [EMAIL PROTECTED] [2002-04-03 14:55]:
 I have multiple mailbox folders.  I want to save a copy of outgoing 
 message in the current mbox folder.  Pretty reasonable enough.
 
 The following solution seems to work:

[-- snip --]

  6.3.51.  force_name

  Type: boolean
  Default: no

  This variable is similar to $save_name, except that Mutt will
  store a copy of your outgoing message by the username of the address
  you are sending to even if that mailbox does not exist.

  Also see the $record variable.

...

  6.3.189.  save_name

  Type: boolean
  Default: no

  This variable controls how copies of outgoing messages are saved.
  When set, a check is made to see if a mailbox specified by the
  recipient address exists (this is done by searching for a mailbox in
  the $folder directory with the username part of the recipient
  address).  If the mailbox exists, the outgoing message will be saved
  to that mailbox, otherwise the message is saved to the $record
  mailbox.

  Also see the $force_name variable.

(darren)

-- 
Those who learn from history are doomed to have it repeated to
them anyway.
-- Larry Wall



Re: Outhouse on Mutt-Users? Was: Re: close IMAP connections

2002-04-03 Thread Luke Ross

Hi,

On Tue, Apr 02, 2002 at 06:59:26PM +, Simon White wrote:
 02-Apr-02 at 19:48, Luke Ross ([EMAIL PROTECTED]) wrote :
  I use mutt patched with vvv-nntp (I know not now - I'm on holiday on a
  strange computer), and if the NNTP connection gets closed it asks if you
  want to reconnect, and then continues where it left off - perhaps IMAP can
  be patched to do the same.
 
 Good job you said you were on holiday, with headers like 
 X-Mailer: Microsoft Outlook Express 5.50.4807.1700
 
 that is a travesty :)

I knew someone here would snoop my headers!  I'm back now, so ner!

Luke



Re: basic help on help

2002-04-03 Thread Sven Guckes

* jennyw [EMAIL PROTECTED] [2002-04-03 16:25]:
 Is there a place where the default key bindings are listed?
 For example, l being the key for limit isn't in help.

it isn't?  check again!
type '?' for help and
then '/' to  search
for limit (hit return).

does it show up now?

Sven



Re: change $record based on mailboxes

2002-04-03 Thread Jun Sun


Thanks, but I don't see how those two variables help.

My goal is to save a outgoing message to the same folder that 
I am currently reading from (i.e., one of those =local, =ebase, etc)
*Not* based on the address I am sending to.

Jun

On Wed, Apr 03, 2002 at 02:57:44PM -0500, darren chamberlain wrote:
 * Jun Sun [EMAIL PROTECTED] [2002-04-03 14:55]:
  I have multiple mailbox folders.  I want to save a copy of outgoing 
  message in the current mbox folder.  Pretty reasonable enough.
  
  The following solution seems to work:
 
 [-- snip --]
 
   6.3.51.  force_name
 
   Type: boolean
   Default: no
 
   This variable is similar to $save_name, except that Mutt will
   store a copy of your outgoing message by the username of the address
   you are sending to even if that mailbox does not exist.
 
   Also see the $record variable.
 
 ...
 
   6.3.189.  save_name
 
   Type: boolean
   Default: no
 
   This variable controls how copies of outgoing messages are saved.
   When set, a check is made to see if a mailbox specified by the
   recipient address exists (this is done by searching for a mailbox in
   the $folder directory with the username part of the recipient
   address).  If the mailbox exists, the outgoing message will be saved
   to that mailbox, otherwise the message is saved to the $record
   mailbox.
 
   Also see the $force_name variable.
 
 (darren)
 
 -- 
 Those who learn from history are doomed to have it repeated to
 them anyway.
 -- Larry Wall



Re: change $record based on mailboxes

2002-04-03 Thread David T-G

Jun --

...and then Jun Sun said...
% 
% I have multiple mailbox folders.  I want to save a copy of outgoing 
% message in the current mbox folder.  Pretty reasonable enough.

Interesting.


% 
% The following solution seems to work:
% 
% folder-hook . set record=
% folder-hook =local set record==local
% folder-hook =haviworks set record==haviworks
% folder-hook =ebase set record==ebase

Sure, but that seems a pain.


% 
% 
% However, I have more than a dozen mailboxes and I sometimes add new ones.
% Is there a quick and easy way to say I always want to set $record to the
% current mailbox?

Yes and no.  I'd say that you shouldn't bother with $record.


% 
% I tried 
% 
% folder-hook . set record==
% 
% and that simply creates '' file under my mail directory.

Yep.  But something like

  folder-hook . my_hdr fcc: ^

might work well if you go ahead and include

  patch-1.3.23.bj.current_shortcut.1

in your mutt build (or perhaps wait until 1.4 comes out if they decide to
integrate that into the stock distro).  See the cocktail directory under

  http://mutt.justpickone.org/

for at least one place to get the patch.  Hmmm...  I have Byrial's patch
page at

  http://www.image.dk/~byrial/mutt/patches/

so you might try there as well (or even first).


% 
% I don't think I am the mailing list any more.  Would appreciate if you
% cc your reply directly to my email address.
% 
% TIA.

HTH  HAND


% 
% Jun


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




msg26624/pgp0.pgp
Description: PGP signature


Re: display proces id (Re: to GNU ps or not to GNU ps)

2002-04-03 Thread Jeremy Blosser

On Apr 03, darren chamberlain [[EMAIL PROTECTED]] wrote:
 (I diff'ed with -caw; is there a preferred option set for mutt patches?)

-dup



msg26625/pgp0.pgp
Description: PGP signature


Re: How do you search to: header?

2002-04-03 Thread Jeremy Blosser

On Apr 03, jennyw [[EMAIL PROTECTED]] wrote:
 On Wed, Apr 03, 2002 at 12:53:29PM -0500, David T-G wrote:
  Hmmm...  That certainly sounds like the index.  Does your help screen
  look like
 
 Yes, I found it.  I was just confused about the search function ... I 
 expected it to work like less where it'd take you to the next occurrence 
 if you searched again. I now realize it just highlights stuff and you 
 still need to page through the list.  Doh!

Weird, I never noticed before that it doesn't work that way.

If you hit 'n' for next it will go to the next match (also found in less).



msg26626/pgp0.pgp
Description: PGP signature


Re: display proces id (Re: to GNU ps or not to GNU ps)

2002-04-03 Thread darren chamberlain

* Jeremy Blosser [EMAIL PROTECTED] [2002-04-03 16:19]:
 On Apr 03, darren chamberlain [[EMAIL PROTECTED]] wrote:
  (I diff'ed with -caw; is there a preferred option set for mutt patches?)
 
 -dup

Noted.

(darren)

-- 
The moment one gives close attention to anything, even a blade of
grass, it becomes a mysterious, awesome, indescribably magnificent
world in itself.
-- Henry Miller



Re: display proces id - format string %$

2002-04-03 Thread Rob 'Feztaa' Park


--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alas! Sven Guckes spake thus:
 * Sven Guckes [EMAIL PROTECTED] [2002-04-03 16:33:45 +0200]:
  can mutt display its own process id?
=20
 * Dave Pearson [EMAIL PROTECTED] [2002-04-03 15:43]:
  set status_format=3DHello, I am mutt and my PID is `echo $PPID`
  and variations on that theme?
=20
 have you tried that?  i dont think so.  ;-)

It works. I've tried it.

--=20
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
Nothing is so firmly believed as that which we least know.
-- Michel de Montaigne

--1yeeQ81UyVL57Vl7
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

iD8DBQE8q4f2PTh2iSBKeccRAmCfAJ40khR4/rcrsC7wawhrFLgJsyoW2QCcDjaB
/24mdcNp16xMOhkLuzIuWY4=
=TAIN
-END PGP SIGNATURE-

--1yeeQ81UyVL57Vl7--



Re: X-Uptime: DSWs

2002-04-03 Thread Rob 'Feztaa' Park

Alas! Sven Guckes spake thus:
   my_hdr X-Uptime: since 1970
 
 ok, maybe make it not *that* obvious... ;-)

I think I need to go back to the old script I was using that would
generate nice, random uptime headers for me ;)

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
Is there life before breakfast?



msg26629/pgp0.pgp
Description: PGP signature


Re: Can not input 8bit chars in command line

2002-04-03 Thread Sven Guckes

* Charles Jie [EMAIL PROTECTED] [2002-04-03 14:50]:
 I can read and write mail of 8bit charset (Traditional Chinese) in mutt.
 But I can not input them in mutt's command line - such as To:, Subject:,
 Search, Alias (the characters from XIM are stripped of the 8th bit).
 Is there a setting to enable 8bit characters in command line at bottom?

Unicode support is scheduled for mutt-2.0.  (that *always* works - hehe.)
okok - could it be that your shell is not configured for 7bit characters?

check the /etc/inputrc!
  set input-meta on
  set output-meta on

Sven



Re: Feature Request

2002-04-03 Thread Sven Guckes

* pat [EMAIL PROTECTED] [2002-04-03 19:48]:
 Feature request.  It would be nice and timesaving (for me, at least)
 if change-folder would default to ! when where was not a folder
 containing New Mail.  Perhaps a set feature in muttrc ??
 set change-folder some-default-location

feature request denied.

  macro index c change-folder!

we won't waste extra code for this. ;-)

Sven



Re: Feature Request

2002-04-03 Thread Will Yardley

Sven Guckes wrote:
 * pat [EMAIL PROTECTED] [2002-04-03 19:48]:

  Feature request.  It would be nice and timesaving (for me, at least)
  if change-folder would default to ! when where was not a folder
  containing New Mail.  Perhaps a set feature in muttrc ??
  set change-folder some-default-location
 
 feature request denied.
 
   macro index c change-folder!
 
 we won't waste extra code for this. ;-)

well (s)he requested that it would default to ! when there wasn't
already a folder containing new mail.  so i don't think this would do
quite the same thing...

-- 
Will Yardley
input: william  @ hq . newdream . net . 




Re: Feature Request - change the change-folder default folder

2002-04-03 Thread Patrick

* Sven Guckes [EMAIL PROTECTED] [04-03-02 19:50]:
 * pat [EMAIL PROTECTED] [2002-04-03 19:48]:
  Feature request.  It would be nice and timesaving (for me, at

 
 PS: But, dammit, Pat, put your name into the
  From: line so an attribution makes sense!
 
 Sven

Just for you, Sven.
  aka patrick
-- 
Pat Shanahan   Registered Linux User #207535
Registered at: http://counter.li.org



Re: change $record based on mailboxes - copy+save_name

2002-04-03 Thread Sven Guckes

* Volker Kuhlmann [EMAIL PROTECTED] [2002-04-04 00:26]:
  % folder-hook . set record=
  % folder-hook =local set record==local
  % folder-hook =haviworks set record==haviworks
  % folder-hook =ebase set record==ebase
 .. I want fcc set to the mbox folder where
 the list email is in to which I am replying.
 It's a big PITA for dozens of folders, created by procmail.
 I would have thought for procmail to be in
 very common use with people who use mutt.
 It requires a folder-hook for each list - blerrg.

mutt is no replacement for procmail.
if your problem is with procmail
then you should be posting elsewhere.

there's fcc-hook and fcc-save-hook and with header editing
you can also use your editor's feature to adjust the Fcc.
have you tried these?

besides, when you have set save_name then mails
sent to listname@domain get saved in +listname.
and if you need a different name for +listname,
well, there's ln -s to create symlinks!

 I take it that the outgoing email doesn't actually get a fcc: header,

set copy and bingo - Fcc gets set!

Sven

===
# mkdir ~/Mail
$ cd~/Mail
$ ln -s foo-l fools

$ cat test
  alias foo FOO List foo-l@domain
  set copy
  set save_name
  set folder=~/Mail

$ echo blah | mutt -F test foo

$ ls   -l fools
$ mutt -f fools



IMAP Subscription and Mailboxes

2002-04-03 Thread Ricardo SIGNES

Hello!

Is there a way to tell mutt to either:
 a) use my IMAP subscriptions as my 'mailboxes' (to check for new mail)
 b) tell mutt to consider all mailboxes as 'mailboxes'

I don't like having to list all of my 50+ folders, to which procmail writes,
just to have it tell me if there's new mail in them.

-- 
rjbs



msg26641/pgp0.pgp
Description: PGP signature


Re: change $record based on mailboxes - copy+save_name

2002-04-03 Thread Jun Sun

On Thu, Apr 04, 2002 at 03:25:05AM +0200, Sven Guckes wrote:
 * Volker Kuhlmann [EMAIL PROTECTED] [2002-04-04 00:26]:
   % folder-hook . set record=
   % folder-hook =local set record==local
   % folder-hook =haviworks set record==haviworks
   % folder-hook =ebase set record==ebase
  .. I want fcc set to the mbox folder where
  the list email is in to which I am replying.
  It's a big PITA for dozens of folders, created by procmail.
  I would have thought for procmail to be in
  very common use with people who use mutt.
  It requires a folder-hook for each list - blerrg.
 
 mutt is no replacement for procmail.
 if your problem is with procmail
 then you should be posting elsewhere.
 
 there's fcc-hook and fcc-save-hook and with header editing
 you can also use your editor's feature to adjust the Fcc.
 have you tried these?
 
 besides, when you have set save_name then mails
 sent to listname@domain get saved in +listname.
 and if you need a different name for +listname,
 well, there's ln -s to create symlinks!


Don't you think it is a common sense to save a copy of outgoing message
to the *same* folder as you are reading from?

If that is so, I think we should make it easier to do this.

Another common need of saving a copy is to save all of them in a
single Outbox folder, which mutt is already capable of doing.

Cheers.

Jun




Re: change $record based on mailboxes - copy+save_name

2002-04-03 Thread Rob 'Feztaa' Park


--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alas! Jun Sun spake thus:
 Don't you think it is a common sense to save a copy of outgoing message
 to the *same* folder as you are reading from?

Not really, too much clutter. I prefer to have a special sent messages
folder.

 If that is so, I think we should make it easier to do this.

It's already pretty easy. Make a script something like this:

#!/bin/bash
for i in ~/mail/*
do=20
i=3D$(basename $i)
echo folder-hook =3D$i \set record=3D\'=3D$i\'\
done

then simply source the output of this script. It might even be simpler
than that, though ;)

--=20
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
He who knows, does not speak.  He who speaks, does not know.
-- Lao Tsu

--ReaqsoxgOBHFXBhH
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

iD8DBQE8q81wPTh2iSBKeccRAi2zAJ0Qfj3JaChfiJcvl8Xok+UYVD0k+ACfY48K
q88SOosOTImXirJFaDqFtTM=
=jFLG
-END PGP SIGNATURE-

--ReaqsoxgOBHFXBhH--



Re: change $record based on mailboxes - copy+save_name

2002-04-03 Thread Rocco Rutte

Hi,

* Jun Sun [04/04/02 04:57:13] wrote:
 Don't you think it is a common sense to save a copy of outgoing message
 to the *same* folder as you are reading from?

No, not really. Why should I do this? Unless there's something important
in a folder I delete everything if I leave it. Otherwise I would get eye
cancer with my color settings. ;-)

If I - at any later point - need a thread for reference, I have backup
files named by date. 'cat'ing together, if necessary.

Cheers, Rocco.



msg26645/pgp0.pgp
Description: PGP signature


Re: change $record based on mailboxes - copy+save_name

2002-04-03 Thread David T-G

Jun --

...and then Jun Sun said...
% 
% Don't you think it is a common sense to save a copy of outgoing message
% to the *same* folder as you are reading from?

Not really, actually; perhaps for personal communication but definitely
not for lists, where I get a copy of my own message back (because I want
to get it like and when everyone else does even when I have the option of
turning off metoo).  But you asked how to do it and so I told you :-)


% 
% If that is so, I think we should make it easier to do this.

Even if it isn't so, I don't mind making it easier; I've been a fan of
the current_shortcut patch since its initial release.


% 
% Another common need of saving a copy is to save all of them in a
% single Outbox folder, which mutt is already capable of doing.

Another thing I don't do, but which I recognize others might :-)


% 
% Cheers.

HTH  HAND


% 
% Jun


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




Re: change $record based on mailboxes

2002-04-03 Thread David T-G

Volker --

...and then Volker Kuhlmann said...
% 
% On Thu 04 Apr 2002 09:10:35 NZST +1200, David T-G wrote:
% 
%  % I have multiple mailbox folders.  I want to save a copy of outgoing 
%  % message in the current mbox folder.  Pretty reasonable enough.
%  
%  Interesting.
% 
% I have the same problem. I want fcc set to the mbox folder where the
% list email is in to which I am replying.

Well, now you know one way to do it :-)


% 
%  % folder-hook . set record=
%  % folder-hook =local set record==local
%  % folder-hook =haviworks set record==haviworks
%  % folder-hook =ebase set record==ebase
%  
%  Sure, but that seems a pain.
% 
% It's a big PITA for dozens of folders, created by procmail. I would have

No, I was being sympathetic.  I wouldn't do it that way.


% thought for procmail tobe in very common use with people who use mutt.
% It requires a folder-hook for each list - blerrg.

Well, that's not so bad; after all, mutt can parse them for you and you
never have to know.  I'd just source a script that scans all of my
incoming folders (especially since they're named to be easy to recognize)
and let it do the work.


% 
% One could use an fcc-save-hook for each list, which is a pain, and
% the patterns become humangous fast.

Not a problem.


% 
% This doesn't work:
% 
% folder-hook . set record=~/Mail/logfile
% folder-hook .*-List set record=!!

Right.


% 
%  Yep.  But something like
%  
%folder-hook . my_hdr fcc: ^
%  
%  might work well if you go ahead and include
%  
%patch-1.3.23.bj.current_shortcut.1
% 
% I take it that the outgoing email doesn't actually get a fcc: header,

Right; mutt interprets that itself.


% but that this sets $record instead. I also take it that this can be

Well, I don't know if it sets $record or not; I haven't looked in the
code.  One way to check would be to do that and then, from the compose
menu, check the value of $record; I expect it would still be whatever it
usually is.

That's not an entirely incorrect way to look at it, though; I think you
get the point.


% reversed by a following fcc-save-hook (for non-mailing-list emails).

Hmmm...  Haven't tried that one; you'd have to give it a shot.  You would
probably have to unmy_hdr the fcc: instead.


% 
% This patch is essential to mutt, please include it in the next version!

Don't ask me; but the folks on mutt-dev or file an RFE with flea :-)


% 
% Volker

HTH  HAND


% 
% -- 
% Volker Kuhlmann, list0570 at paradise dot net dot nz
% http://volker.orcon.net.nz/


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




msg26647/pgp0.pgp
Description: PGP signature


Re: IMAP Subscription and Mailboxes

2002-04-03 Thread David T-G

Ricardo --

...and then Ricardo SIGNES said...
% 
% Hello!

Hi!


% 
% Is there a way to tell mutt to either:
%  a) use my IMAP subscriptions as my 'mailboxes' (to check for new mail)
%  b) tell mutt to consider all mailboxes as 'mailboxes'

No, not really.


% 
% I don't like having to list all of my 50+ folders, to which procmail writes,
% just to have it tell me if there's new mail in them.

So whip up a little script that goes through your procmail rules and
grabs where you write and source that in your mailboxes line.


% 
% -- 
% rjbs

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!




msg26648/pgp0.pgp
Description: PGP signature


Re: automating move of folders, imap to imap

2002-04-03 Thread Robert Chien

On Tue, Apr 02, 2002 at 12:59:13PM -0500, Shawn McMahon wrote:
 begin  quoting what David Champion said on Tue, Apr 02, 2002 at 11:47:51AM -0600:
  For doing this between two servers *neither* of which you have access
  to, I don't see a way to automate it, since there's no direct means of
  getting the folder tree structure in mutt and passing it to a script.
  But if you can use another IMAP tool (or cobble your own) to get that
  list, you can use a similar approach.
 
 http://search.cpan.org/doc/DJKERNEN/Mail-IMAPClient-2.1.3/IMAPClient.pm

I've tried IMAPClient-2.1.4, too. But I don't see a
straightforward way of piping an IMAP folder from one server
to the other, short of reading every message to a file then
appending that file to the destination server, while
modifying the headers necessary to complete the operation.

I've also e-mailed the author of the module about
clarification of the doc, but haven't heard back from him.

Robert



Re: language-problem

2002-04-03 Thread Heiko Heil

On Wed, Apr 03, 2002 at 02:16:40PM +0200, Erika Pacholleck wrote:
  hh@server:~  locale
  LANG=de_DE
  [snipped]
 I read this to be the locale of your server.
 I guess the locale of your laptop looks like LANG=de_DE@euro.

Right.

 2 reasons I can think of:
 1. check /usr/lib/locale directories having both de_DE and de_DE@euro

hh@server:~  ls -d /usr/lib/locale/de_DE*
/usr/lib/locale/de_DE  /usr/lib/locale/de_DE.utf8 /usr/lib/locale/de_DE@euro
hh@laptop:~  ls -d /usr/lib/locale/de_DE*
/usr/lib/locale/de_DE  /usr/lib/locale/de_DE.utf8 /usr/lib/locale/de_DE@euro

 2. check both LANGUAGE variables

Mutt is still running in English language...
-- 
Cheers,
Heiko Heil



Re: change $record based on mailboxes

2002-04-03 Thread Volker Kuhlmann

  fcc-save-hook  (.*adsl.*@(lists.|)unixathome.org) =adsl-List
  fcc-save-hook '~f [EMAIL PROTECTED] ~s adsl' =adsl-List
  fcc-save-hook '~t [EMAIL PROTECTED] ~s adsl' =adsl-List
 
 hmm... - does this list rewrite the sender
 thus sending all mails as From: majordomo?
 in that case replace the maillist software!

There's nothing wrong with the maillist software (majordomo).
Line 1 catches list emails and my postings to the list, lines 2 and 3
administrative emails from+to the list server software.

 however, if there is a special address for the distribution
 (like usual) then it should be as simple as this:
 
   fcc-save-hook '~C [EMAIL PROTECTED]' =ADSL

As to my experience (with procmail filtering), it is unreliable to
expect that the send-msg-to-list address appears in To: or Cc:.

 But if you just want so save *some* mails from the list
 which happen to have adsl in the Subject line

No, just keeping each list in its own file.

 mutt is no replacement for procmail.
 if your problem is with procmail
 then you should be posting elsewhere.

I never have problems with procmail, just with dumb MUAs... :)
I do however require any MUA to function flawlessly in combination with
procmail. The MUA doesn't get it until procmail is finished. With me anyway.

 there's fcc-hook and fcc-save-hook and with header editing
 you can also use your editor's feature to adjust the Fcc.
 have you tried these?

Yes, hence my question. Editing the headers with the msg each time isn't so
great (dumb repetive things are best left to a silicon box).

 besides, when you have set save_name then mails
 sent to listname@domain get saved in +listname.
 and if you need a different name for +listname,
 well, there's ln -s to create symlinks!

Hell no, what a pollution in my mail directory tree! Remember: some dozen
lists.

  Don't you think it is a common sense to save a copy of outgoing message
  to the *same* folder as you are reading from?
 Not really, too much clutter. I prefer to have a special sent messages
 folder.

I find it easier to remove the sent msg from the list file once my copy arrives
then to remove it from a common outbox file. It's useful to keep a copy for the
time being because some mail servers can be dodgy at times. And, as David T-G
says, for personal communication an fcc to the currently read mail file is
preferable.

Everybody works differently, perhaps another config option?

 It's already pretty easy. Make a script something like this:
[...]

May work, but isn't that rather a cludge? It's surely not so user-friendly.

 % It requires a folder-hook for each list - blerrg.
 
 Well, that's not so bad; after all, mutt can parse them for you and you
 never have to know.  I'd just source a script that scans all of my
 incoming folders (especially since they're named to be easy to recognize)
 and let it do the work.

Not too bad an idea, though I'm not sure whether I really want to name my list
folders with the list-post-address. Not really actually. Me thinks it's easier
to use a line like the first of those 3 I gave, for each list.

Extra work is required for list administrative emails, fortunately that doesn't
happen too often. I much prefer listname-request@domain addresses over
majordomo@domain for this reason (covered by the first pattern already), but
somehow I don't think people will ditch theit 'domos for this reason...

 % One could use an fcc-save-hook for each list, which is a pain, and
 % the patterns become humangous fast.
 
 Not a problem.

No, not for mutt, but for me, as I have to maintain them, which costs time. On
the other hand, perhaps it would be better to shift the problem towards
procmail, for which I maintain patterns anyway.

Thanks all for the suggestions!

Volker

-- 
Volker Kuhlmann, list0570 at paradise dot net dot nz
http://volker.orcon.net.nz/