fortune sig

1999-05-28 Thread dizzy73

Hi All
How can I add the output from fortune in my sig.
Id like to keep my sig below and have fortune append its output below
I think that would be *really* cool ;)
thanks
rob
-- 
Linux Home Page http://www.connix.com/~dizzy73/LBM.htm
S.u.S.E Linux 5.3 -IRC-  #suse efnet

>Mail via Mutt-<



Re: fortune sig

1999-05-28 Thread Lars Hecking

[EMAIL PROTECTED] writes:
> Hi All
>   How can I add the output from fortune in my sig.
> Id like to keep my sig below and have fortune append its output below
> I think that would be *really* cool ;)

 From the manual:

  6.3.148.  signature

  Type: string
  Default: ~/.signature

  Specifies the filename of your signature, which is appended to all
  outgoing messages.   If the filename ends with a pipe (``|''), it is
  assumed that filename is a shell command and input should be read from
  its stdout.


 I'm using:
$ grep "^set signature" ~/.muttrc
set signature="~/bin/sparc/fortune -s |pr -t -e|"

 You could put a script here which echoes the signature and adds the fortune.



Re: fortune sig

1999-05-28 Thread Darren Marshall

The way I do it is:

set signature=sig|

sig is a shell script that does the following:

#!/bin/sh
cat $HOME/.signature
fortune -s|adjust -m80

On Fri, May 28, 1999 at 08:56:26AM -0400, [EMAIL PROTECTED] wrote:
> Hi All
>   How can I add the output from fortune in my sig.
> Id like to keep my sig below and have fortune append its output below
> I think that would be *really* cool ;)
> thanks
> rob
> -- 
> Linux Home Page http://www.connix.com/~dizzy73/LBM.htm
> S.u.S.E Linux 5.3 -IRC-  #suse efnet
> 
> >Mail via Mutt-<



Re: fortune sig

1999-05-28 Thread David Thorburn-Gundlach

Warning
Could not process message with given Content-Type: 
multipart/signed; boundary=VbJkn9YxBvnuCH5J; micalg=pgp-sha1;protocol="application/pgp-signature"




Problem wit attachments

1999-05-28 Thread Attila Csosz

I tried to mail me a test message with attachment( it contained a file
test.arj ). Using mutt everythig is OK. I see in the attachment list the
correct file name( pressing v key ). But when I fetched this mail with
a windows based e-mail client( AKMail ) I see the attacment but the 
attachment has no name.

Thanks for any help
 Attila

 

-- 

- RedHat 5.2 / 2.0.36 / qmail  -
- Mail: [EMAIL PROTECTED] -



Re: Problem wit attachments

1999-05-28 Thread Saku Ytti

On Fri, May 28, 1999 at 03:38:54PM +0200, Attila Csosz wrote:
> I tried to mail me a test message with attachment( it contained a file
> test.arj ). Using mutt everythig is OK. I see in the attachment list the
> correct file name( pressing v key ). But when I fetched this mail with
> a windows based e-mail client( AKMail ) I see the attacment but the 
> attachment has no name.

Someone using ELM reported me he was unable to read my attachment. Just
for curiosity I tested this locally and with my ELM I had no problem, so
I always though (still do) think the problem was between the remote users
keboard and chair.

-- 
--ytti - ::3585:0512:1378



Re: Problem wit attachments

1999-05-28 Thread Juergen Leising

On Fri, May 28, 1999 at 04:48:25PM +0300, Saku Ytti wrote:
> On Fri, May 28, 1999 at 03:38:54PM +0200, Attila Csosz wrote:
> > I tried to mail me a test message with attachment( it contained a file
> > test.arj ). Using mutt everythig is OK. I see in the attachment list the
> > correct file name( pressing v key ). But when I fetched this mail with
> > a windows based e-mail client( AKMail ) I see the attacment but the 
> > attachment has no name.
> 
> Someone using ELM reported me he was unable to read my attachment. Just
> for curiosity I tested this locally and with my ELM I had no problem, so
> I always though (still do) think the problem was between the remote users
> keboard and chair.
> 
...not necessarily; sending mail to yourself on your local system is
completely different from sending mail to a remote computer, because your
mail has to pass several mail servers (relays and so on), that handle
attachments sometimes in a strange way. They add or delete some important
bits, so even a well configured mutt / elm cannot resolve the attachment
correctly. And there are still mail routes that are not 8-bit clean.

But what I would like to know: Has anybody any idea how to fight against
such oddities? How can I ensure my (binary) data will be received in a way the
recipient can really use/read it?

Bye, bye, Juergen.

-- 

* Juergen Leising; email: [EMAIL PROTECTED] *
*  http://www.stud.uni-bayreuth.de/~a0037/ *




Re: Problem wit attachments

1999-05-28 Thread Attila Csosz

My friends reported( they use windows ), that they unable to deteremine 
the type of my attacments( no name no extension appeared; an untyped file
appeared ). 
So I tried it. I send me( remote ) two mail using mutt. AKMail MUA( windows )
was unable to determine the name and the extension of the file. MS Outlook
Express was able to do it( the name and the extension of the file appeared ). 
Earlier I used AKMail I had no problem with it.

Thanks
 Attila


On Fri, May 28, 1999 at 05:57:40PM +0200, Juergen Leising wrote:
> On Fri, May 28, 1999 at 04:48:25PM +0300, Saku Ytti wrote:
> > On Fri, May 28, 1999 at 03:38:54PM +0200, Attila Csosz wrote:
> > > I tried to mail me a test message with attachment( it contained a file
> > > test.arj ). Using mutt everythig is OK. I see in the attachment list the
> > > correct file name( pressing v key ). But when I fetched this mail with
> > > a windows based e-mail client( AKMail ) I see the attacment but the 
> > > attachment has no name.
> > 
> > Someone using ELM reported me he was unable to read my attachment. Just
> > for curiosity I tested this locally and with my ELM I had no problem, so
> > I always though (still do) think the problem was between the remote users
> > keboard and chair.
> > 
> ...not necessarily; sending mail to yourself on your local system is
> completely different from sending mail to a remote computer, because your
> mail has to pass several mail servers (relays and so on), that handle
> attachments sometimes in a strange way. They add or delete some important
> bits, so even a well configured mutt / elm cannot resolve the attachment
> correctly. And there are still mail routes that are not 8-bit clean.
> 
> But what I would like to know: Has anybody any idea how to fight against
> such oddities? How can I ensure my (binary) data will be received in a way the
> recipient can really use/read it?
> 
> Bye, bye, Juergen.
> 
> -- 
> 
> * Juergen Leising; email: [EMAIL PROTECTED] *
> *  http://www.stud.uni-bayreuth.de/~a0037/ *
> 
> 

-- 

- RedHat 5.2 / 2.0.36 / qmail  -
- Mail: [EMAIL PROTECTED] -



Re: fortune sig

1999-05-28 Thread Rob Reid

Hi,

At  8:56 AM EDT on May 28 [EMAIL PROTECTED] sent off:
>   How can I add the output from fortune in my sig.

The replies that have been sent in so far answer your question
perfectly, but I'm going to go a bit beyond that ;-)  I prefer to use
randomly chosen quotes from a set of blurbs that I like, as opposed to
whatever the fortune authors put in.  Even then I often need to repick
the quote because the originally returned one is inappropriate for the
situation at hand.  I've posted a few ways of doing that at

http://astro.utoronto.ca/~reid/mutt/

in case anyone's interested.
 
-- 
MS-DOS didn't get as bad as it is overnight - it took over ten years of
careful development.  -- D Meggins
Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re: Problem wit attachments

1999-05-28 Thread David DeSimone

Juergen Leising <[EMAIL PROTECTED]> wrote:
>
> How can I ensure my (binary) data will be received in a way the
> recipient can really use/read it?

uuencode  :)

-- 
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
Convex Division  |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Manual for Mutt 0.93.2i

1999-05-28 Thread Howard Arons

I'm looking for the subject manual, in HTML or ASCII. My only manual is 
for version 0.92.13, but something is wrong with the syntax for putting 
mailing list info into the muttrc file. Using 'set list blah blah' 
gives errors on mutt startup. and 'list blah blah' is ignored.

Any pointers to a 0.93.2i manual?

Howard Arons
-- 
Powered by SuSE Linux 5.2 -- Upgraded to kernel 2.0.36
Communications by Mutt 0.93.2i



Re: Manual for Mutt 0.93.2i

1999-05-28 Thread Gerrit Holl

On Fri, May 28, 1999 at 03:19:42PM -0400, Howard Arons wrote 12 lines To 
[EMAIL PROTECTED]:
> From: Howard Arons <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Manual for Mutt 0.93.2i
> X-Mailer: Mutt 0.93.2i
> 
> I'm looking for the subject manual, in HTML or ASCII. My only manual is 
> for version 0.92.13, but something is wrong with the syntax for putting 
> mailing list info into the muttrc file. Using 'set list blah blah' 
> gives errors on mutt startup. and 'list blah blah' is ignored.
> 
> Any pointers to a 0.93.2i manual?
> 

Why don't you upgrade to 0.05.5i?

regards,
Gerrit.

--
The Dutch Linuxgames website.   De Nederlandse Linuxgames pagina.
Everything about games on Linux.Alles over spelletjes onder Linux.
Site address:   http://linuxgames.nl.linux.org
Personal homepage:  http://nl.linux.org/~gerrit/



Re: Manual for Mutt 0.93.2i

1999-05-28 Thread Jeremy Blosser

Howard Arons [[EMAIL PROTECTED]] wrote:
> I'm looking for the subject manual, in HTML or ASCII. My only manual is 
> for version 0.92.13, but something is wrong with the syntax for putting 
> mailing list info into the muttrc file. Using 'set list blah blah' 
> gives errors on mutt startup. and 'list blah blah' is ignored.

First, the manual should have come with your distribution, in SGML form.
It can be converted to text/HTML/etc using the SGML tools package, found at
http://www.sgmltools.org/

Second, you can always find the current manual online at
http://www.mutt.org/, and in this case the answer is the same in the
current version as the one you have.  (The manual on the web site was
outdated for some time, but is now being maintained again.)

Finally... the syntax you want is 'lists blah blah'.  From the current
manual:

3.8 Mailing lists 

Usage: [un]lists address [ address ... ] 

Mutt has a few nice features for handling mailing lists. In order to take
advantage of them, you must specify which addresses belong to mailing
lists. 

[snip]

The ``unlists'' command is to remove a token from the list of
mailing-lists. Use ``unlists *'' to remove all tokens. 

-- 
Jeremy Blosser   |   [EMAIL PROTECTED]   |   http://jblosser.firinn.org/
-+-+--
"Would you fight to the death, for that which you love?
   In a cause surely hopeless ...for that which you love?"
 -- D. McKiernan, _Dragondoom_

 PGP signature


GDB output Re: Mutt unpredictably quits when returning from editor

1999-05-28 Thread Petr Hlustik

Hello,

About two months ago I posted a message about Mutt crash (seg fault) when
composing a message, after return from editor. The reason for crash was a
bad fcc-send-hook that was meant to be just a save-hook:

fcc-save-hook '~h "Sender: [EMAIL PROTECTED]"' +dosemu

Well, I have finally been able to go back, recreate the core dump and run
gdb on the core. Although this problem may be specific for Digital Unix, I
share the debugger output below.

Thanks,
Petr

cortex:~>gdb /usr/local/bin/mutt core
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alpha-dec-osf4.0b"...
Core was generated by `mutt'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/shlib/libc.so...done.
#0  msg_search (ctx=0x0, rx=0x14005ba00, buf=0x11fffd8e0 "Ŕv\002@\001", 
blen=256, op=1074270720, msgno=0) at pattern.c:137
137 pattern.c: No such file or directory.
(gdb) bt
#0  msg_search (ctx=0x0, rx=0x14005ba00, buf=0x11fffd8e0 "Ŕv\002@\001", 
blen=256, op=1074270720, msgno=0) at pattern.c:137
#1  0x12005523c in mutt_pattern_exec (pat=0x140058ad0, flags=1074117120, 
ctx=0x11fffd8e0, h=0x100) at pattern.c:831
#2  0x12003af68 in mutt_addr_hook (path=0x11fffdfa0 "", pathlen=255, type=8, 
ctx=0x0, hdr=0x140081200) at hook.c:272
#3  0x12003b130 in mutt_select_fcc (path=0x11fffdfa0 "", pathlen=255, hdr=0x1f)
at hook.c:316
#4  0x120063b28 in ci_send_message (flags=0, msg=0x140081200, 
tempfile=0x374ef9a5 , ctx=0x140029e40, 
cur=0x0) at send.c:1123
#5  0x120027ed0 in mutt_index_menu () at curs_main.c:1535
#6  0x12003ed70 in main (argc=3, argv=0x11fffee48) at main.c:680

cortex:~>mutt -v
Mutt 0.95.4i (1999-03-03)
Copyright (C) 1996-8 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: OSF1 V4.0 [using ncurses 4.2]
Compile options:
-DOMAIN
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
-USE_IMAP  -USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  +HAVE_COLOR  +HAVE_PGP2  
-BUFFY_SIZE 
-EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/spool/mail"
SHAREDIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
ISPELL="/usr/local/bin/ispell"
_PGPPATH="/usr/local/bin/pgp"
_PGPV2PATH="/usr/local/bin/pgp"



Re: GDB output Re: Mutt unpredictably quits when returning from editor

1999-05-28 Thread David Shaw

On Fri, May 28, 1999 at 06:27:45PM -0400, Petr Hlustik wrote:
> Hello,
> 
> About two months ago I posted a message about Mutt crash (seg fault) when
> composing a message, after return from editor. The reason for crash was a
> bad fcc-send-hook that was meant to be just a save-hook:
> 
> fcc-save-hook '~h "Sender: [EMAIL PROTECTED]"' +dosemu
> 
> Well, I have finally been able to go back, recreate the core dump and run
> gdb on the core. Although this problem may be specific for Digital Unix, I
> share the debugger output below.

I just sent a post to mutt-dev about what seems to be a similar problem.
It seems to core when a fcc-save-hook matches using "~h".

David

-- 
   David Shaw  |  [EMAIL PROTECTED]  |  WWW http://www.jabberwocky.com/
+---+
   "There are two major products that come out of Berkeley: LSD and UNIX.
  We don't believe this to be a coincidence." - Jeremy S. Anderson



Hi all,

While doing some experimenting with news "mailboxes", I found a way to
make mutt 0.95.5i segfault.

Minimal muttrc, mutt -v, and stack backtrace attached below.

To duplicate it, just send any mail after changing to the
'sci.space.history' folder.  When you close the editor to get to the
compose menu, mutt segfaults.

David

-- 
   David Shaw  |  [EMAIL PROTECTED]  |  WWW http://www.jabberwocky.com/
+---+
   "There are two major products that come out of Berkeley: LSD and UNIX.
  We don't believe this to be a coincidence." - Jeremy S. Anderson


folder-hook sci.space.history "my_hdr Newsgroups: sci.space.history"
fcc-save-hook '~h Newsgroups' =News/%B


Mutt 0.95.5i (1999-04-23)
Copyright (C) 1996-8 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.0.36 [using slang 9938]
Compile options:
-DOMAIN
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
+USE_IMAP  +USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  +HAVE_COLOR  +HAVE_PGP5  
++HAVE_PGP2  +BUFFY_SIZE 
-EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/spool/mail"
SHAREDIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
ISPELL="/usr/bin/ispell"
_PGPPATH="/usr/local/bin/pgp"
_PGPV2PATH="/usr/local/bin/pgp"
_PGPV3PATH="/usr/local/bin/pgp"
To contact the developers, please mail to <[EMAIL PROTECTED]>.



GNU gdb 4.17.0.4 with Linux/x86 hardware watchpoint and FPU support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `mutt-0.95.5/mutt -F muttrc.test'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libslang.so.0...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.1...done.
#0  msg_search (ctx=0x0, rx=0x80b25e0, buf=0xbfffe448 "`#\b@@®\a@\006", 
blen=256, op=31, msgno=0) at pattern.c:137
137   HEADER *h = ctx->hdrs[msgno];
(gdb) bt
#0  msg_search (ctx=0x0, rx=0x80b25e0, buf=0xbfffe448 "`#\b@@®\a@\006", 
blen=256, op=31, msgno=0) at pattern.c:137
#1  0x8078194 in mutt_pattern_exec (pat=0x80b25c0, flags=0, ctx=0x0, 
h=0x80b6398) at pattern.c:831
#2  0x8067393 in mutt_addr_hook (path=0xbfffe798 "", pathlen=255, type=8, 
ctx=0x0, hdr=0x80b6398) at hook.c:272
#3  0x80674a4 in mutt_select_fcc (path=0xbfffe798 "", pathlen=255, 
hdr=0x80b6398) at hook.c:316
#4  0x80810c6 in ci_send_message (flags=1, msg=0x80b6398, tempfile=0x0, 
ctx=0x80b2038, cur=0x80b6130) at send.c:1123
#5  0x805ba74 in mutt_index_menu () at curs_main.c:1612
#6  0x8069935 in main (argc=3, argv=0xb93c) at main.c:680
(gdb) 



Re: fortune sig

1999-05-28 Thread dizzy73

Quoting our friend -->  Darren Marshall <[EMAIL PROTECTED]>:
> The way I do it is:
> 
> set signature=sig|
> 
> sig is a shell script that does the following:
> 
> #!/bin/sh
> cat $HOME/.signature
> fortune -s|adjust -m80

Thanks everyone for the help!
For now... Ive chosen the above method and as we can see it works ;)
I kindof like the randomness of it 
thanks again
rob

Linux Home Page http://www.connix.com/~dizzy73/LBM.htm
S.u.S.E Linux 5.3 -IRC-  #suse efnet

|Mail via Mutt|

HR 3128.  Omnibus Budget Reconciliation, Fiscal 1986.  Martin, R-Ill.,
motion that the House recede from its disagreement to the Senate
amendment making changes in the bill to reduce fiscal 1986 deficits.
The Senate amendment was an amendment to the House amendment to the
Senate amendment to the House amendment to the Senate amendment to the
bill.  The original Senate amendment was the conference agreement on
the bill.  Agreed to.
-- Albuquerque Journal