Slrn and Mutt

2000-06-08 Thread Jason Helfman

Has anyone successfully integrated Slrn and Mutt together in use with
netscape? Or just so these programs can be used hand in hand...

I have followed the information off of this site:

http://www.acc.umu.se/~snaggen/hacks.html

but I am having issues running the test.

Any help is appreciated.
-- 
/helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."
  Fingerprint: 2F76 2856 776A 3E07 9F3E  452A 17D9 9B28 D75E 0A36
  GnuPG http://www.gnupg.org  Get Private!  1024D/D75E0A36



Re: Slrn and Mutt

2000-06-08 Thread Brian D. Winters

On Wed, Jun 07, 2000 at 10:38:16PM -0700, Jason Helfman wrote:
 Has anyone successfully integrated Slrn and Mutt together in use with
 netscape? Or just so these programs can be used hand in hand...

Check out http://www3.telus.net/brian_winters/mutt/ .

Brian



Colors, a wish ...

2000-06-08 Thread Gerhard den Hollander

What woulkd be handy 9for me at least)
is the ability to modify colors with patterns ..

e.g. in my pager I have various colors to discern various senders.
now what would be nce if I could do something like
(pseudosyntax)

color index from_the_boss yellow default
color index priority=urgent  bright default

which means that normal messages are default
message that are tagged urgent are set in the bright default color
messages from the boss in yellow
and urgnet messages fom the boss in bright yellow 

Gerhard,  @jasongeo.com   == The Acoustic Motorbiker ==   
-- 
   __O  Soon I discovered that this rock thing was true
 =`\,  Jerry Lee Lewis was the devil
(=)/(=) Jesus was an architect previous to his career as a prophet
All of a sudden, I found myself in love with the world
So there was only one thing that I could do
To ding a ding dang my dang a long ling long




Re: mhonarc as an alternative to urlview

2000-06-08 Thread Andre Wobst

Hi,

On 07.06.00, Gary Johnson wrote:
 I've used urlview to help me view URLs embedded in email, and it works
 fine, but when a message contains lots of URLs, it can be difficult to
 choose the right one since urlview provides no message context.

After trying urlview, I was really unhappy with this solution too.
I've worked out another solution, which I'm running already for a long
time now. The program I use is mhonarc. See
http://www.oac.uci.edu/indiv/ehood/mhonarc.html for details. I've
written a small script mutt2mhonarc, which I start as a macro if I want
to read the mail via the webbrowser. mhonarc converts the urls to
clickable ones ... that's very convenient. Because I've plugged
mutt as the mailer into netscape (using muttzilla, see
http://www3.bc.sympatico.ca/brian_winters/mutt/ for details), I can
also click on email adresses within the mails using this tool. I've
defined

macro index   f2 "|mutt2mhonarc\n" "show message via mhonarc in netscape"
macro pager   f2 "|mutt2mhonarc\n" "show message via mhonarc in netscape"

in the global Muttrc and mutt2mhonarc looks like this:

#!/bin/ksh
#
ps=/usr/bin/ps
awk=/usr/bin/awk
grep=/usr/bin/grep
at=/usr/bin/at
rm=/usr/bin/rm
mkdir=/usr/bin/mkdir
sleep=/usr/bin/sleep
netscape="/server/usr/bin/netscape -standalone"
mhonarc=/server/usr/bin/mhonarc
#
$mkdir /tmp/m2m-dir$$  cd /tmp/m2m-dir$$  $mhonarc -single  m2m$$ || exit 1
cd $HOME || exit 1
if [[  -z "`$ps -e |$grep netscape|$grep -v grep`" ]]
then
 nohup $netscape "file:/tmp/m2m-dir$$/m2m$$" /dev/null 21 
else
 $netscape -remote openFile\(/tmp/m2m-dir$$/m2m$$,new-window\)
fi
$at now + 1 minutes  /dev/null 21  END
$rm -fr /tmp/m2m-dir$$
END
if [[ $? != 0 ]]
then
 echo "Could not schedule delete of /tmp/m2m$$"
 exit 1
fi

As you can see, I'm checking if netscape is already running. And I'm
removing the files created from the mails (attachments are working
fine too) a little later then starting the stuff (otherwise the files
might be removed before netscape could read them. The scripts have to
be adapted to other environments (we have here a workstation cluster
running AIX 4.3.3), but it shouldn't be a difficult task.

Well, that's the solution of choice for me regarding urls in mails.

André

-- 
by  _ _  _   [EMAIL PROTECTED]
   / \ \/ )  http://www.physik.uni-augsburg.de/~wobsta/
  / _ \ \/\/ /   "In a world without walls and fences
 (_/ \_)_/\_/who needs windows and gates ...?!?"



Re: From_ line

2000-06-08 Thread Baurjan Ismagulov

hi,

thank you all for the responses.

to summarize:
the From_ line is used in mbox folder format to specify the beginning of the [next] 
message. makes sense -- mutt shows my message split into pieces if it contains lines 
starting with "From " in its body. seems that there's nothing specifying the format of 
the line itself, although sendmail does write the envelope ("MAIL FROM:") address 
(source: cf/README from sendmail-8.10.1) and the time when the message was transferred 
to mda (just guess, it is a couple of seconds later than the time stated in the 
"Received:" field).

why did i want to preserve it?
my "Received:" fields are normally turned off, and i wanted to see the time the 
message arrived to my server without toggling headers view.
besides, i wanted to see whether the envelope-from address would make spam tracking 
easier. Anton, how did you enable envelope-from in the "Received:" field? via 
confRECEIVED_HEADER? or could you please send your sendmail.cf via private mail?

thanks again,
baurjan.



quick charset toggle

2000-06-08 Thread Baurjan Ismagulov

hi,

i have to change my charset frequently. currently, i'm typing ":set cTAB="charset 
(occasionally, "charset" is the first keyword completed). but after that i have to 
type "iso-8859-9" and "koi8-r" manually each time, which is quite annoying. how can i 
speed up this process?

btw, i still can't mix two languages in the single message. mime gurus?

thanks in advance,
baurjan.



Re: quick charset toggle

2000-06-08 Thread Martin Schröder

On 2000-06-08 12:15:55 +0300, Baurjan Ismagulov wrote:
 btw, i still can't mix two languages in the single message. mime gurus?

Not in the same message part. You must use utf-8/unicode instead.

Best regards
Martin
-- 
  Martin Schröder, [EMAIL PROTECTED]
ArtCom GmbH, Grazer Straße 8, D-28359 Bremen
   Voice +49 421 20419-44 / Fax +49 421 20419-10

 PGP signature


new option?

2000-06-08 Thread Carlos P .

could i suggest a new option, say -A, that
would allow one to start mutt attaching the rest
of the command line arguments, like this:

mutt -s 'the whole deal' [EMAIL PROTECTED] -A *.pdf

instead of having to enumerate the files:

mutt -s 'the whole deal' [EMAIL PROTECTED] -a f1.pdf -a f2.pdf ...etc.

it also helps in scripts when you want to run things
unattended.

thanks,

++ carlos



Re: From_ line

2000-06-08 Thread Thomas Roessler

On 2000-06-06 22:14:20 +0300, Baurjan Ismagulov wrote:

 my problem is NOT "how to show/hide specific headers",
 but rather "how to retain the original From_ line". for
 instance: when the message arrives to the mail server
 (sendmail 8.10.1 and mail.local from solaris 7), the
 From_ line in the mailbox (/var/mail/ibr) looks like 
 From [EMAIL PROTECTED] Tue
 Jun 6 10:33:24 2000

POP servers generally don't pass From_ lines along with
the message.

-- 
http://www.guug.de/~roessler/



Re: new option?

2000-06-08 Thread Frank Derichsweiler

On Thu, Jun 08, 2000 at 12:24:21AM -0500, Carlos P . wrote:
 
   mutt -s 'the whole deal' [EMAIL PROTECTED] -A *.pdf
 
 instead of having to enumerate the files:
 
   mutt -s 'the whole deal' [EMAIL PROTECTED] -a f1.pdf -a f2.pdf ...etc.
 
 it also helps in scripts when you want to run things
 unattended.
 
In that case I would suggest to write a small script, which collects
the filenames (via find or via shell wildcard substitution) and then
generates the -a aName options by using a for loop.

HTH
Frank




Re: new option?

2000-06-08 Thread Lars Hecking

Carlos P . writes:
 could i suggest a new option, say -A, that
 would allow one to start mutt attaching the rest
 of the command line arguments, like this:
 
   mutt -s 'the whole deal' [EMAIL PROTECTED] -A *.pdf
 
 instead of having to enumerate the files:
 
   mutt -s 'the whole deal' [EMAIL PROTECTED] -a f1.pdf -a f2.pdf ...etc.
 
 it also helps in scripts when you want to run things
 unattended.

 Especially in a shell script, this would be a trivial one-liner.




PDF viewing question

2000-06-08 Thread Randall Hopper

I want to autoview PDFs, but also be able to kick off acroread.

Autoview works, but I can't figure out how to kick off acroread in mutt.

In my .mailcap I have:

   application/pdf; pdf2txt %s; needsterminal; copiousoutput
   application/pdf; acroread %s

The first should be used for autoview.  And the second should be used for
view-attach, right?  However view-attach also uses pdf2txt

Anyone see what I'm doing wrong?  I thought this worked at some point.

Thanks,

Randall

-- 
Randall Hopper
[EMAIL PROTECTED]



Re: quick charset toggle

2000-06-08 Thread Byrial Jensen

On Thu, Jun 08, 2000 at 12:15:55 +0300, Baurjan Ismagulov wrote:
 hi,
 
 i have to change my charset frequently. currently, i'm typing ":set
 cTAB="charset (occasionally, "charset" is the first keyword
 completed). but after that i have to type "iso-8859-9" and "koi8-r"
 manually each time, which is quite annoying. how can i speed up
 this process?

You could use macros to change charset. One for each charset:

macro index EscTI 'set charset=iso-8859-9' 'Change to iso-8859-9'
macro index EscTK 'set charset=koi8-r' 'Change to koi8-r'

It is also possible to make a real toggle. This example uses an
external script:

macro index EscT  'set charset=`charset-toggle`' 'Toggle charset'

where "charset-toggle" contains something like:

#!/bin/sh

# Find the current charset:
if test -f charset; then
  charset=`cat charset`
else
  charset=koi8-r
fi

# Toggle to the other charset:
if test $charset = koi8-r; then
  charset=iso-8859-9
else
  charset=koi8-r
fi

# save and output the new value:
echo $charset  charset
echo $charset

 btw, i still can't mix two languages in the single message. mime gurus?

If you use UTF-8, you can mix any languages.

-- 
Byrial
http://home.worldonline.dk/~byrial/



Re: new option?

2000-06-08 Thread Bob Bell

On Thu, Jun 08, 2000 at 12:24:21AM -0500, Carlos P . [EMAIL PROTECTED] wrote:
 could i suggest a new option, say -A, that
 would allow one to start mutt attaching the rest
 of the command line arguments, like this:
 
   mutt -s 'the whole deal' [EMAIL PROTECTED] -A *.pdf
 
 instead of having to enumerate the files:
 
   mutt -s 'the whole deal' [EMAIL PROTECTED] -a f1.pdf -a f2.pdf ...etc.
 
 it also helps in scripts when you want to run things
 unattended.

Why not use the following, especially if you are already in a
script?

mutt -s 'the whole deal' [EMAIL PROTECTED] `for f in *.html;do echo -a $f;done`

Possibly use a variable in place of *.html .

-- 
Bob BellCompaq Computer Corporation
Software Engineer   110 Spit Brook Rd - ZKO3-3/U14
TruCluster GroupNashua, NH 03062-2698
[EMAIL PROTECTED] 603-884-0595



Re: PDF viewing question

2000-06-08 Thread Roland Rosenfeld

On Thu, 08 Jun 2000, Randall Hopper wrote:

 I want to autoview PDFs, but also be able to kick off acroread.
 Autoview works, but I can't figure out how to kick off acroread in mutt.

application/pdf; pdf2txt %s; needsterminal; copiousoutput
application/pdf; acroread %s
 
 The first should be used for autoview.  And the second should be
 used for view-attach, right?  However view-attach also uses pdf2txt
 
 Anyone see what I'm doing wrong?  I thought this worked at some point.

Try reversing the order of these two lines.  The mailcap is searched
top down and the first match is used.  If you change the order of
these two lines, view-attach will find acroread first while auto-view
ignores acroread and uses pdf2txt because it only uses copiousoutput
lines.

BTW: does it make sense to combine "needsterminal" and "copiousoutput"
in one mailcap entry?  As far as I understand they are quite contrary,
because "needsterminal" needs a terminal with user input while
"copiousoutput" pipes the output to some kind of pipe.

So I would change the above entries to something like this:

application/pdf; acroread %s; test=test -n "$DISPLAY"
application/pdf; pdf2txt %s; copiousoutput

Tscho

Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *



Re: PDF viewing question

2000-06-08 Thread Byrial Jensen

On Thu, Jun 08, 2000 at 07:49:04 -0400, Randall Hopper wrote:
 I want to autoview PDFs, but also be able to kick off acroread.
 
 Autoview works, but I can't figure out how to kick off acroread in mutt.
 
 In my .mailcap I have:
 
application/pdf; pdf2txt %s; needsterminal; copiousoutput
application/pdf; acroread %s
 
 The first should be used for autoview.  And the second should be used for
 view-attach, right?  However view-attach also uses pdf2txt

The first usable mailcap entry is always used. Try to reverse the
two lines.

-- 
Byrial
http://home.worldonline.dk/~byrial/



Resending msg from outbox

2000-06-08 Thread John Poltorak

How do I resend a msg from my outbox?

Sometimes msgs get lost and I'd like to send a duplicate.
Is there a simple way of doing this?

--
John




Re: new option?

2000-06-08 Thread Lars Hecking


  mutt -s 'the whole deal' [EMAIL PROTECTED] `for f in *.html;do echo -a $f;done`
 
 might want to say "echo -- -a ..." there, in case echo(1) complains.

 echo "-a $f" should work regardless. or even echo " -a $f".




Re: Getting auto_view to work with lynx

2000-06-08 Thread Gary Johnson

On Thu, Jun 08, 2000 at 09:46:16AM -0500, [EMAIL PROTECTED] wrote:
 I have lynx working on one system to view HTML OK but on this system
 it isn't working for some reason.
 
 I have
 
 auto_view text/html
 
 in my muttrc file and I have a .mailcap file as follows:-
 
 text/html; /usr/bin/lynx -dump -force_html %s;nametemplate=%s.html
 
 lynx really is in /usr/bin/lnyx, so what's missing?
 
 When I try and view HTML I just get the text/html is not supported
 message.

Perhaps the system Muttrc file or your personal .muttrc file on the
second system has redefined mailcap_path so that it doesn't include
${HOME}/.mailcap.

BTW, I think "-force_html" and "nametemplate=%s.html" are redundant.

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | RF Communications Product Generation Unit
 | Spokane, Washington, USA



Re: Resending msg from outbox

2000-06-08 Thread David T-G

John --

...and then John Poltorak said...
% How do I resend a msg from my outbox?
% 
% Sometimes msgs get lost and I'd like to send a duplicate.
% Is there a simple way of doing this?

I'd say that the simplest way is to select the message in the index
and then 'b'ounce it to the original recipient.  In 1.2 there is a 
new "resend-message" function, which was split out from "edit-message",
but I don't yet know how it works :-)


% 
% --
% John


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Resending msg from outbox

2000-06-08 Thread Suresh Ramasubramanian

John Poltorak proclaimed on mutt-users that: 

How do I resend a msg from my outbox?

Sometimes msgs get lost and I'd like to send a duplicate.
Is there a simple way of doing this?

escape - e to edit and resend the message.  b to bounce the message to
the guy again.

-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
Most people wouldn't know music if it came up and bit them on the ass.
-- Frank Zappa



Re: new option?

2000-06-08 Thread David T-G

Hi, folks --

...and then Lars Hecking said...
% 
%   mutt -s 'the whole deal' [EMAIL PROTECTED] `for f in *.html;do echo -a $f;done`

I love the one-line method :-)


%  
%  might want to say "echo -- -a ..." there, in case echo(1) complains.
% 
%  echo "-a $f" should work regardless. or even echo " -a $f".

In all of this, though, shouldn't it be

  echo -n ...

followed by a final

  echo ""

to keep them all on one line?


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Getting auto_view to work with lynx

2000-06-08 Thread Thomas Roessler

On 2000-06-08 09:54:49 -0500, [EMAIL PROTECTED] wrote:

 text/html; /usr/bin/lynx -dump -force_html
 %s;nametemplate=%s.html

 lynx really is in /usr/bin/lnyx, so what's missing?

The copiousoutput entry.

Try this instead:

text/html; lynx -force_html  %s; needsterminal ; nametemplate=%s.html
text/html; lynx -underscore -force_html -dump %s; copiousoutput


-- 
http://www.guug.de/~roessler/



Re: new option?

2000-06-08 Thread Lars Hecking


 In all of this, though, shouldn't it be
 
   echo -n ...
 
 followed by a final
 
   echo ""
 
 to keep them all on one line?

 In principle, yes, but it may even work without. Nevertheless,
 echo -n is not portable.




Re: Resending msg from outbox

2000-06-08 Thread Mikko Hänninen

John Poltorak [EMAIL PROTECTED] wrote on Thu, 08 Jun 2000:
 How do I resend a msg from my outbox?
 Sometimes msgs get lost and I'd like to send a duplicate.
 Is there a simple way of doing this?

Yes.  Use the b(ounce) command.

Alternatively you can do resend-message (esc-e) but that's only in
Mutt 1.2...  (Or to be precise, you could do a resend in earlier
versions too, but it was different and I forget how it worked.)


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
"I used to be indecisive, but now I'm not sure."



Re: Resending msg from outbox

2000-06-08 Thread Thomas Roessler

On 2000-06-08 16:00:11 +0100, John Poltorak wrote:

 X-Mailer: Mutt 0.94.15i

 How do I resend a msg from my outbox?

Upgrade. :-)

 Sometimes msgs get lost and I'd like to send a duplicate.
 Is there a simple way of doing this?

With your version of mutt, about all you can do is to
bounce the message to some other recipients, without
editing anything about it.  This may quite well be what
you want to do.

With the current versions, you can use the resend-message
function to - essentially - recall messages from the
current folder, just like you do it with the postponed
folder now.

-- 
http://www.guug.de/~roessler/



Re: new option?

2000-06-08 Thread David T-G

Lars --

...and then Lars Hecking said...
% 
%  In all of this, though, shouldn't it be
%  
%echo -n ...
% 
%  In principle, yes, but it may even work without. Nevertheless,
%  echo -n is not portable.

Ah, yes; that damned SysV stuff :-)  In all of my must-be-portable shell
scripts, I have the standard "how do i not newline?" function and use
$ECHO instead of just good old echo...  *sigh*

Still, it could even be written *right* in one line ;-)


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


dir size in browser display?

2000-06-08 Thread jon rust

In the variable folder_format, %s is for size, but only works 
on normal files, not directories. Is there a way to show total 
directory size (similar to 'du -s') in the browser display?

thanks,
jon



Re: new option?

2000-06-08 Thread Bob Bell

On Thu, Jun 08, 2000 at 11:50:10AM -0400, David T-G [EMAIL PROTECTED] wrote:
 %  might want to say "echo -- -a ..." there, in case echo(1) complains.
 % 
 %  echo "-a $f" should work regardless. or even echo " -a $f".
 
 In all of this, though, shouldn't it be
 
   echo -n ...
 
 followed by a final
 
   echo ""
 
 to keep them all on one line?

Perhaps.  echo -n is not portable, though.  I originally quoted
the "-a $f" and then saw it worked without, too.  Basically, I just
jotted down something that worked on Tru64, and left a compatible
implementation up to the implementor :-)

-- 
Bob BellCompaq Computer Corporation
Software Engineer   110 Spit Brook Rd - ZKO3-3/U14
TruCluster GroupNashua, NH 03062-2698
[EMAIL PROTECTED] 603-884-0595

 PGP signature


How do I make pop support do polling?

2000-06-08 Thread Timothy Ball

For reasons I can not understand (it's a job thing) My mail servers can
neither do imap or nfs mount /var/mail. My only choice is to do pop3. How 
do I make pop poll the pop server? I looked through the docs and it seems 
there is no timer functionality for the "fetch_mail" command. 

(and no I can not use fetchmail, I have to have mutt do it. It sounds 
unreasonable but that's the way the higher ups have decided to do things)

TIA,
timball

-- 
Send mail with subject "send pgp key" for public key.
pub  1024R/CFF85605 1999-06-10 Timothy L. Ball [EMAIL PROTECTED]
 Key fingerprint = 8A 8E 64 D6 21 C0 90 29  9F D6 1E DC F8 18 CB CD



Re: How do I make pop support do polling?

2000-06-08 Thread Mikko Hänninen

Timothy Ball [EMAIL PROTECTED] wrote on Thu, 08 Jun 2000:
 For reasons I can not understand (it's a job thing) My mail servers can
 neither do imap or nfs mount /var/mail. My only choice is to do pop3. How 
 do I make pop poll the pop server? I looked through the docs and it seems 
 there is no timer functionality for the "fetch_mail" command. 

You can't.

If you can create crontab entries, you can create a cron job that runs
Mutt with some pushed keystrokes to execute the pop function.  However
you might run into problems with not having a tty for Mutt from the cron
job, but if not, then there's nothing else to stop this from working.

 (and no I can not use fetchmail, I have to have mutt do it. It sounds 
 unreasonable but that's the way the higher ups have decided to do things)

Please replace or upgrade your higher ups and try again. :-)


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
A mind is a terrible thing to ... er ... h?



Re: multilingual text

2000-06-08 Thread David DeSimone

Baurjan Ismagulov [EMAIL PROTECTED] wrote:

 can i create messages in two different languages using overlapping
 8-bit charsets simultaneously?  i need, for example, mix koi8-r and
 iso-8859-9 in one message.

How about one message with two attachments, one attachment using koi8-r,
and the other using iso-8859-9?

I don't think Mutt can create any multipart type besides
multipart/mixed, though.. you might have wanted multipart/alternative?

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Richardson IT|PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: new option?

2000-06-08 Thread David Champion

On 2000.06.08, in [EMAIL PROTECTED],
"Lars Hecking" [EMAIL PROTECTED] wrote:
 
  In principle, yes, but it may even work without. Nevertheless,
  echo -n is not portable.

Unquoted backquotes turn all whitespace into plain spaces:
`ls a b c`  = a b c
Quoted backquotes do not:
"`ls a b c`"= a
b
c

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



Re: new option?

2000-06-08 Thread Bob Bell

On Thu, Jun 08, 2000 at 01:59:43PM -0500, David Champion [EMAIL PROTECTED] wrote:
 Unquoted backquotes turn all whitespace into plain spaces:
   `ls a b c`  = a b c
 Quoted backquotes do not:
   "`ls a b c`"= a
 b
 c

...depending on the shell.  Moreover, quoted backspaces in my
implementation of sh and bash put each item from ls on a separate line,
even if they weren't before.  However, quotes don't have the same
effect is csh.

But this is a mutt mailing list, not a shell programming one... :)

-- 
Bob BellCompaq Computer Corporation
Software Engineer   110 Spit Brook Rd - ZKO3-3/U14
TruCluster GroupNashua, NH 03062-2698
[EMAIL PROTECTED] 603-884-0595



Re: Getting auto_view to work with lynx

2000-06-08 Thread cgreen

On Thu, Jun 08, 2000 at 05:16:46PM +0200, Thomas Roessler wrote:
 On 2000-06-08 09:54:49 -0500, [EMAIL PROTECTED] wrote:
 
  text/html; /usr/bin/lynx -dump -force_html
  %s;nametemplate=%s.html
 
  lynx really is in /usr/bin/lnyx, so what's missing?
 
 The copiousoutput entry.
 
 Try this instead:
 
 text/html; lynx -force_html  %s; needsterminal ; nametemplate=%s.html
 text/html; lynx -underscore -force_html -dump %s; copiousoutput
 
Absolutely right!  I put those lines in my .mailcap and now it works,
however I'm not clear why the line I had on the other system worked
there but not here.  Ho, hum, who cares - it works now.

Thanks!

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]   Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/




Re: How do I make pop support do polling?

2000-06-08 Thread David T-G

Tim --

...and then Timothy Ball said...
% For reasons I can not understand (it's a job thing) My mail servers can
% neither do imap or nfs mount /var/mail. My only choice is to do pop3. How 

How on earth is anyone getting mail now?  Can you mimic that?

I won't go into wondering why you can't fake it with fetchmail or the
like; I like Mikko's suggetsion about upgrading your higher-ups :-)

If you have access to the server, could you just read in an xterm from
there?  Or perhaps you could grab your mail out of /var/mail and
"deliver" it to $HOME somewhere...


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Colors, a wish ...

2000-06-08 Thread Marius Gedminas

On Thu, Jun 08, 2000 at 10:01:42AM +0200, Gerhard den Hollander wrote:
 now what would be nce if I could do something like
 (pseudosyntax)
 
 color index from_the_boss yellow default
 color index priority=urgent  bright default

 which means that normal messages are default
 message that are tagged urgent are set in the bright default color
 messages from the boss in yellow
 and urgnet messages fom the boss in bright yellow 

You can already do that:

color index yellow default '~f [EMAIL PROTECTED]'
color brightdefault default '~h "^x-priority: urgent"'# or whatever
color brightyellow default '~f boss ~h "^x-priority: urgent"' # both

Check sections 3.7 and 4.2 for complete documentation.

IIRC if multiple patterns match the last one is used.  Unfortunately
the manual is silent about this.

Marius Gedminas
-- 
"Cogito ergo I'm right and you're wrong."
-- Blair Houghton



Re: Mutt/Procmail/Fetchmail question NEW colour question

2000-06-08 Thread Marius Gedminas

On Wed, Jun 07, 2000 at 09:48:50AM -0700, Timothy Grant wrote:
 I'm not quite sure I know how to get the colours working. I have run it
 in both a Eterm and an rxvt session and there is no colour. Do I have to
 do something to turn colour on, or do I need to do something to my
 terminal settings to make it work (ls --color works in both sessions, so
 I know my terminals both are configured for colour support)

Set $TERM to `xterm-color' and you should get colour.

Marius Gedminas
-- 
Your eyes are weary from staring at the CRT.  You feel sleepy.  Notice how
restful it is to watch the cursor blink.  Close your eyes.  The opinions
stated above are yours.  You cannot imagine why you ever felt otherwise.



Re: How do I make pop support do polling?

2000-06-08 Thread Timothy Ball

On Thu, Jun 08, 2000 at 04:47:14PM -0400, David T-G wrote:
 How on earth is anyone getting mail now?  Can you mimic that?

Most of the ppl here use kpop (kerberos pop) support in eudora, or
outlook. I myself am adding kerberos support (again) into mutt, via a
SASL (Simple Authentication Support Layer), it does kerberos via GSSAPI.
The practical upshot of doing it this way is that when you POP yr mail
the body of the message is sent encrypted... and of course kerberos
allows you to log into the pop server w/o using a passwd.

 I won't go into wondering why you can't fake it with fetchmail or the
 like; I like Mikko's suggetsion about upgrading your higher-ups :-)

Fetchmail is frowned upon because of the fact that fetchamil basically
runs as a deamon.

 If you have access to the server, could you just read in an xterm from
 there?  Or perhaps you could grab your mail out of /var/mail and
 "deliver" it to $HOME somewhere...

The mail server no longer allows ssh/ktelnet access to "normal" users.

Basically what I would like to see is POP support in mutt to be on the
line of IMAP support, polling of mailhost and delivering it to an INBOX
or something similiar. 

Course I'm having some issues w/ pop.c. I guess it's the fact that I'm
unfamiliar w/ the "mutt" way of doing things. One where can I add a
./configure option. (I am very unfamiliar w/ m4.) how do I add stuff to
init.h, and what format should it be in. And in pop.c where does the pop
mesgs actually get "stored" in the mailbox? Is it via the
mx_commit_message() function near line 280?

--timball

-- 
Send mail with subject "send pgp key" for public key.
pub  1024R/CFF85605 1999-06-10 Timothy L. Ball [EMAIL PROTECTED]
 Key fingerprint = 8A 8E 64 D6 21 C0 90 29  9F D6 1E DC F8 18 CB CD



Re: How do I make pop support do polling?

2000-06-08 Thread David T-G

Tim --

...and then Timothy Ball said...
% On Thu, Jun 08, 2000 at 04:47:14PM -0400, David T-G wrote:
%  How on earth is anyone getting mail now?  Can you mimic that?
% 
% Most of the ppl here use kpop (kerberos pop) support in eudora, or

Ahhh...  So they really *are* popping, then.  Ugh :-)


% outlook. I myself am adding kerberos support (again) into mutt, via a
% SASL (Simple Authentication Support Layer), it does kerberos via GSSAPI.

Well, thanks!


% The practical upshot of doing it this way is that when you POP yr mail
% the body of the message is sent encrypted... and of course kerberos

Pretty nice, even if it doesn't encrypt the headers...


% allows you to log into the pop server w/o using a passwd.

A nice bonus.


% 
%  I won't go into wondering why you can't fake it with fetchmail or the
%  like; I like Mikko's suggetsion about upgrading your higher-ups :-)
% 
% Fetchmail is frowned upon because of the fact that fetchamil basically
% runs as a deamon.

Hmmm...  What would they say if you promised to not, and then ran it from
cron every */2 or */5 minutes? :-)


% 
%  If you have access to the server, could you just read in an xterm from
%  there?  Or perhaps you could grab your mail out of /var/mail and
%  "deliver" it to $HOME somewhere...
% 
% The mail server no longer allows ssh/ktelnet access to "normal" users.

I figured that they'd have done that -- first, in fact -- but then didn't
think that any company would *really* have folks popping dwn internally...
What a backup mess!


% 
% Basically what I would like to see is POP support in mutt to be on the
% line of IMAP support, polling of mailhost and delivering it to an INBOX
% or something similiar. 

I can imagine that...  Of course, it gets back to the whole war over
which is a download method and which is a folder implementation...


% 
% Course I'm having some issues w/ pop.c. I guess it's the fact that I'm
% unfamiliar w/ the "mutt" way of doing things. One where can I add a
% ./configure option. (I am very unfamiliar w/ m4.) how do I add stuff to
% init.h, and what format should it be in. And in pop.c where does the pop
% mesgs actually get "stored" in the mailbox? Is it via the
% mx_commit_message() function near line 280?

Way outta my league :-)


% 
% --timball
% 
% -- 
% [EMAIL PROTECTED]

Obviously not once they get to management, it seems ;-)


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: PDF viewing question

2000-06-08 Thread Associate Dean

On Thu, Jun 08, 2000 at 02:59:21PM +0200, Roland Rosenfeld wrote:
 On Thu, 08 Jun 2000, Randall Hopper wrote:
 
  I want to autoview PDFs, but also be able to kick off acroread.
  Autoview works, but I can't figure out how to kick off acroread in mutt.
 
 application/pdf; pdf2txt %s; needsterminal; copiousoutput
 application/pdf; acroread %s
  
  The first should be used for autoview.  And the second should be
  used for view-attach, right?  However view-attach also uses pdf2txt
  
  Anyone see what I'm doing wrong?  I thought this worked at some point.
 
 Try reversing the order of these two lines.  The mailcap is searched
 top down and the first match is used.  If you change the order of
 these two lines, view-attach will find acroread first while auto-view
 ignores acroread and uses pdf2txt because it only uses copiousoutput
 lines.
 
 BTW: does it make sense to combine "needsterminal" and "copiousoutput"
 in one mailcap entry?  As far as I understand they are quite contrary,
 because "needsterminal" needs a terminal with user input while
 "copiousoutput" pipes the output to some kind of pipe.
 
 So I would change the above entries to something like this:
 
 application/pdf; acroread %s; test=test -n "$DISPLAY"
 application/pdf; pdf2txt %s; copiousoutput

I agree with Roland. That should fix it. I would like to do this too,
but I do not know about pdf2txt. Could someone please post a source for
it and perhaps add a link to the www.mutt.org pages - I do not think it
is there vut could of course be wrong.

Cheers, Brian.

 Tscho
 
 Roland
 
 -- 
  * [EMAIL PROTECTED] * http://www.spinnaker.de/ *

-- 
Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED]  
  School of Biological, Environmental and Chemical Sciences, SITE,
Northern Territory University, Darwin, NT 0909, Australia.  Phone 08-89466702. 
Fax 08-89466847  http://www.smps.ntu.edu.au/school/compchem.html



Re: How do I make pop support do polling?

2000-06-08 Thread Timothy Grant

Hi all,

Thanks for all your wonderful assistance in getting Mutt up and running. I
haven't started Messenger all day, so your help was really useful!

I do have a few  other questions, two of them are not *really* Mutt
related, but one of them is, so let me start with that.

Being a Mutt newbie, I don't know what negative side effects might be caused
by my desire. The default Mutt behaviour has the j key going to the next
message. I think I would prefer that it go to the next unread message. I
think I am capable of writing the macro to make that happen. However, I
don't know what undesirable side effects that might occur should I do this.
Is there a downside that I don't see?

Moving more off-topic. In the discussions over my getting colour working, it
was suggested that I use rxvt. I tried it and liked it very much. I'm going
to show both my X ignorance and my rxvt ignorance here. One of the things I
like about rxvt is its default fonts. I particularly like the largest font,
however, I have no idea what the font is called, nor how to automatically
start with the largest font. Any suggestions would be greatly appreciated. I
also would love to turn off the scroll bar, but the -sb switch doesn't
appear to work.

Moving even more off-topic. I'm using joe as my e-mail editor. However,
since my window defaults to 80x40, joe's display is completely mangled when
it starts. Using a ^R tends to fix most of the mangling, but not always.

Also, who is using what for an editor (I use emacs all the time, but it is
out as an e-mail editor as startup speed is too long) Other than joe, who's
using what and why.

Thanks in advance


-- 
Stand Fast,
tjg.

Timothy Grant [EMAIL PROTECTED]
Chief Technology Officer  www.exceptionalminds.com
Red Hat Certified Engineer   MIG #1433
Avalon Technology Group, Inc.   
Linux...Because rebooting isn't normal



Re: How do I make pop support do polling?

2000-06-08 Thread David T-G

Tim --

...and then Timothy Grant said...
% Hi all,
% 
% Thanks for all your wonderful assistance in getting Mutt up and running. I
% haven't started Messenger all day, so your help was really useful!

Yippee! :-)


% 
% I do have a few  other questions, two of them are not *really* Mutt
% related, but one of them is, so let me start with that.

*grin*


% 
% Being a Mutt newbie, I don't know what negative side effects might be caused
% by my desire. The default Mutt behaviour has the j key going to the next
% message. I think I would prefer that it go to the next unread message. I
% think I am capable of writing the macro to make that happen. However, I
% don't know what undesirable side effects that might occur should I do this.
% Is there a downside that I don't see?

You can bind your keys any way you wish.  Since you have {J,K} bound by
default to {next,prev}-entry, along with {j,k} ({next,prev}-undeleted),
you can change tab from next-new to whatever and bind {j,k} to
{next,prev}-new and take off.

Can't help you much with color, and I swear by vi[m] :-)


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: How do I make pop support do polling?

2000-06-08 Thread Mikko Hänninen

Hi there,

Timothy Grant [EMAIL PROTECTED] wrote on Thu, 08 Jun 2000:
 Being a Mutt newbie, I don't know what negative side effects might be caused
 by my desire. The default Mutt behaviour has the j key going to the next
 message. I think I would prefer that it go to the next unread message. I
 think I am capable of writing the macro to make that happen. However, I
 don't know what undesirable side effects that might occur should I do this.
 Is there a downside that I don't see?

No there aren't.

The only thing to watch out for is other macros which might expect that
j is bound to next-undeleted, but you presumably know of any macros that
you have defined (if you don't know of any, then there probably aren't
any...) and whether they depend on that binding or not.

Anyway, it's better to write macros which don't depend on specific keys,
by specifying function-name instead, just to avoid this kind of
situations.

One final note: you probably don't need a macro, just re-binding of the
j key.  Mutt already has the next-new (or maybe it was next-unread, I
forget) function.

 I
 also would love to turn off the scroll bar, but the -sb switch doesn't
 appear to work.

Experiment with +sb instead.  In many X programs some option is turned
on with -option and turned off with +option  (yes, it's bit backwards).


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
The only substitute for good manners is fast reflexes.



bouncing emails from temp. domain

2000-06-08 Thread Andrew Eichmann



Hello,

I have a lunux setup and a temporary dialup connection.  Sometimes when
I try to send somebody email it gets bounced with the following complaint:


   - Transcript of session follows -
... while talking to mx0.gmx.de.:
 MAIL From:[EMAIL PROTECTED] BODY=8BITMIME
 550 Cannot resolve your domain - ungueltiger Domain-Name in Adresse
554 [EMAIL PROTECTED] Service unavailable

--UAA00925.959908551/werich.enteract.com
Content-Type: message/delivery-status

Reporting-MTA: dns; werich.enteract.com
Arrival-Date: Thu, 1 Jun 2000 20:15:49 -0500

Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.0.0
Remote-MTA: DNS; mx0.gmx.de
Diagnostic-Code: SMTP; 550 Cannot resolve your domain - ungueltiger Domain-Name i
n Adresse
Last-Attempt-Date: Thu, 1 Jun 2000 20:15:51 -0500

--UAA00925.959908551/werich.enteract.com
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit

Return-Path: gibby
Received: (from gibby@localhost)
by werich.enteract.com (8.9.3/8.9.3) id UAA00923
for [EMAIL PROTECTED]; Thu, 1 Jun 2000 20:15:49 -0500
Date: Thu, 1 Jun 2000 20:15:49 -0500
From: Andrew Eichmann [EMAIL PROTECTED]
To: =?iso-8859-1?Q?Max_K=FCnemann?= [EMAIL PROTECTED]
Subject: Re: device busy / ZIP-drive
Message-ID: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline




Now, it appears that it's complaining that DNS can't find
 werich.enteract.com, which is my linux box's domain name.

I have the following in my muttrc:

my_hdr Reply-to: [EMAIL PROTECTED]
set hidden_host
set hostname="enteract.com"

 I used to run pine, and didn't have this problem after I forced
the header to say [EMAIL PROTECTED]

Sorry if this has been covered; I searched the archives for ``bounce''...

Thanks,
Andy







Re: bouncing emails from temp. domain

2000-06-08 Thread Mikko Hänninen

Andrew Eichmann [EMAIL PROTECTED] wrote on Thu, 08 Jun 2000:
- Transcript of session follows -
 ... while talking to mx0.gmx.de.:
  MAIL From:[EMAIL PROTECTED] BODY=8BITMIME
  550 Cannot resolve your domain - ungueltiger Domain-Name in Adresse

...

 From: Andrew Eichmann [EMAIL PROTECTED]

...

 Now, it appears that it's complaining that DNS can't find
  werich.enteract.com, which is my linux box's domain name.

Well, your From header is correct (it doesn't have the werich part), but
that is not the problem.  The rejection happens at the stage where your
sendmail is sending the envelope sender information, not the From
header.  So even though your From header is correct, the envelope sender
is still marked as [EMAIL PROTECTED]

There's (at least) two ways to fix this.

The simpler is probably to set $envelope_from in your .muttrc, this
makes Mutt pick the address from the From header and use that as the
evenlope sener.

The second approach is to customize the sendmail command (the $sendmail
Mutt variable) and set up your envelope sender address in that, with the
-f switch.  This way the envelope sender isn't dependent on the From
address, should that be an issue for you.


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
Gravity is a myth, the Earth sucks!



save-hook question

2000-06-08 Thread Adahma

Would it be possible to setup a save-hook that would open the
browser in a specific subdirectory so that I could easily the right
mailbox?

TIA,
Adahma




Re: save-hook question

2000-06-08 Thread Mikko Hänninen

Adahma [EMAIL PROTECTED] wrote on Thu, 08 Jun 2000:
 Would it be possible to setup a save-hook that would open the
 browser in a specific subdirectory so that I could easily the right
 mailbox?

I just tried this:

  save-hook "~f adahma" +foo

... and created the directory ~/Mail/foo

When I pressed s(save), I got the default prompt =foo, when I pressed
TAB, Mutt appended / to the =foo, and the second TAB took me to the
directory browser in the dir =foo/.

Is this what you're looking for?


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
If you don't use punctuation there is no point in what you write



Re: Mutt/Procmail/Fetchmail question NEW colour question

2000-06-08 Thread Thomas Dickey

On Thu, Jun 08, 2000 at 10:59:36PM +0200, Marius Gedminas wrote:
 On Wed, Jun 07, 2000 at 09:48:50AM -0700, Timothy Grant wrote:
  I'm not quite sure I know how to get the colours working. I have run it
  in both a Eterm and an rxvt session and there is no colour. Do I have to
  do something to turn colour on, or do I need to do something to my
  terminal settings to make it work (ls --color works in both sessions, so
  I know my terminals both are configured for colour support)
 
 Set $TERM to `xterm-color' and you should get colour.

comparing xterm-color to rxvt.
comparing booleans.
OTbs: T:F.
bce: F:T.
eo: F:T.
xon: F:T.
AX: F:T.
comparing numbers.
comparing strings.
acsc: '``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~', 
'``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~'.
blink: NULL, '\E[5m'.
civis: NULL, '\E[?25l'.
cnorm: NULL, '\E[?25h'.
el1: NULL, '\E[1K'.
enacs: '\E)0', '\E(B\E)0'.
flash: NULL, '\E[?5h\E[?5l'.
ich: NULL, '\E[%p1%d@'.
ich1: NULL, '\E[@'.
is1: NULL, '\E[?47l\E=\E[?1l'.
is2: '\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E', 
'\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l'.
kDC: NULL, '\E[3$'.
kEND: NULL, '\E[8$'.
kHOM: NULL, '\E[7$'.
kLFT: NULL, '\E[d'.
kNXT: NULL, '\E[6$'.
kPRV: NULL, '\E[5$'.
kRIT: NULL, '\E[c'.
ka1: NULL, '\EOw'.
ka3: NULL, '\EOy'.
kb2: NULL, '\EOu'.
kc1: NULL, '\EOq'.
kc3: NULL, '\EOs'.
kcbt: NULL, '\E[Z'.
kcub1: '\EOD', '\E[D'.
kcud1: '\EOB', '\E[B'.
kcuf1: '\EOC', '\E[C'.
kcuu1: '\EOA', '\E[A'.
kel: NULL, '\E[8\^'.
kend: NULL, '\E[8~'.
kent: NULL, '\EOM'.
khome: NULL, '\E[7~'.
op: '\E[m', '\E[39;49m'.
rmkx: '\E[?1l\E', '\E'.
rmso: '\E[m', '\E[27m'.
rmul: '\E[m', '\E[24m'.
rs1: NULL, '\E\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H'.
rs2: '\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E', 
'\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E'.
s0ds: NULL, '\E(B'.
s1ds: NULL, '\E(0'.
sgr0: '\E[m', '\E[m\017'.
smkx: '\E[?1h\E=', '\E='.
u6: '\E[%i%d;%dR', NULL.
u7: '\E[6n', NULL.
u8: '\E[?1;2c', NULL.
u9: '\E[c', NULL.
 
 Marius Gedminas
 -- 
 Your eyes are weary from staring at the CRT.  You feel sleepy.  Notice how
 restful it is to watch the cursor blink.  Close your eyes.  The opinions
 stated above are yours.  You cannot imagine why you ever felt otherwise.

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://dickey.his.com
ftp://dickey.his.com



Re: save-hook question

2000-06-08 Thread David T-G

Adahma --

...and then Adahma said...
% Would it be possible to setup a save-hook that would open the
% browser in a specific subdirectory so that I could easily the right
% mailbox?

It sounds like what you want is a macro, but perhaps you might want a
save-hook that changes the directory based on the message.

First, then, the macro.  You could create a macro like

  macro pager ,c "change-folder=/some/dir/tab"

to enter the change-folder command (bound to 'c' by default), enter
ctrl-u to erase the supplied line contents (if any), specify the path to
your desired dir, and even hit a tab to list the contents for you.

Now, if you could predefine the directory somehow, like matching on the
domain name, then you could create a save hook like

  save-hook @domain.com =/domain/%O

to save in your $HOME/Mail/domain dir under mutt's 'O'riginal mailbox
name.


% 
% TIA,
% Adahma


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: How do I make pop support do polling?

2000-06-08 Thread Suresh Ramasubramanian

Timothy Ball proclaimed on mutt-users that: 

Fetchmail is frowned upon because of the fact that fetchamil basically
runs as a deamon.

Not by default.  If you call it with fetchmail -d foo then yes ...

Instead, run it using a cronjob at required intervals, or make it a
shellscript.

http://www.tuxedo.org/~esr/fetchmail/Fetchmail-FAQ.html has a lot you can
use.


-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
However, never daunted, I will cope with adversity in my traditional
manner ... sulking and nausea.
-- Tom K. Ryan