w3m and text/html
Has anyone gotten mutt (1.1.4i) to work with text/html attachments and the w3m browser? I've found w3m to be superior to lynx for things like forms and tables, but can't seem to get mutt to invoke it without just diplaying the raw HTML. I've tried mailcap entries such as: text/html; w3m %s But that merely does the raw HTML -- I do have lynx "sort of" working as an auto_view with: text/html; lynx -force_html -dump '%s'; copiousoutput Thanks for any pointers... Scott
Re: w3m and text/html
Hi Scott! Use: text/html; w3m -T text/html -dump %s; copiousoutput Works for me. Sean On Fri, 18 Feb 2000, Scott A . McIntyre wrote: > Has anyone gotten mutt (1.1.4i) to work with text/html attachments and > the w3m browser? I've found w3m to be superior to lynx for things like > forms and tables, but can't seem to get mutt to invoke it without just > diplaying the raw HTML. > > I've tried mailcap entries such as: > > text/html; w3m %s > > But that merely does the raw HTML -- I do have lynx "sort of" working as > an auto_view with: > > text/html; lynx -force_html -dump '%s'; copiousoutput > > Thanks for any pointers... > > Scott > -- Linux User: #124682 ICQ: 679813 My Current Uptime is 12d, 5h and 10m on Linux 2.2.14 It said "Needs Windows 95 or better". So I installed Linux... PGP signature
Re: w3m and text/html
try this in your mailcap: text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html the nametemplate bit seems to do the trick for lynx at least. - frank On Fri, Feb 18, 2000 at 07:45:36AM -0500, Scott A . McIntyre wrote: > Has anyone gotten mutt (1.1.4i) to work with text/html attachments and > the w3m browser? I've found w3m to be superior to lynx for things like > forms and tables, but can't seem to get mutt to invoke it without just > diplaying the raw HTML. > > I've tried mailcap entries such as: > > text/html; w3m %s > > But that merely does the raw HTML -- I do have lynx "sort of" working as > an auto_view with: > > text/html; lynx -force_html -dump '%s'; copiousoutput > > Thanks for any pointers... > > Scott -- frank joerdens joerdens new media e: [EMAIL PROTECTED] heinrich-roller str. 16/17 t: +49 30 44055470 10405 berlin f: +49 30 44055475 germanyh: http://www.joerdens.de pgp fingerprint: _ || | hockey savagerysouthward recover | | playhouse breakaway quiver Atlantic | | sugar disable befriendpositive | | Geiger company seabird Atlantic | | prowler amusement commenceMontana | ||
pgp-hook with a noask?
ello again hacker-type-humans Similar to previous issues, I can't get a sendhook with alotta stuff to take. goal: pgp-hook with a send-hook and _not_ ask me if it's the right key. I have a pal that has a couple addresses with same username, but different domains. Mutt/gpg seems to match based on the username so it pulls up all of the keys I have for him. I'd like to specify which key to use, and not be asked to verify if it is the proper key. if I have: pgp-hook someuser@somedomain\.com 0xdeadbeef send-hook '~t ^someuser@somedomain\.com$' "set pgp_autoencrypt" It _will_ recognize the key, but it asks if this is the correct one, I then say "y" and it lists the _one_ correct key, as if i had several to choose from. I actually do have serveral to choose from, but I'm wanting a specific one for this user at this address. If I put the pgp-hook _in_ the send hook it says there are too many arguments or pgp-hook is an unknown variable. I've also tried specifying the ~t and autoencrypt in the pgp-hook but never had that come close. Any pointers are appreciated! (please, no C jokes ;) -- .~. ~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~ /V\ KeyId 1024D/2AB39B99 // \\ 20B5 BE61 3E0D 81C2 E065 94FF 8856 90A2 2AB3 9B99 /( )\ Call me insane one more time and I'll eat your other eye! ^`~'^ '~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'
Re: PGP/MIME and other mail clients...
* Chris Green ([EMAIL PROTECTED]) [000207 11:49]: > On Mon, Feb 07, 2000 at 11:50:01AM +0100, Thomas Roessler wrote: > > On 2000-02-07 09:07:23 +, Chris Green wrote: > > > > > This is all very well but it's a bit unlikely that every other > > > MUA in the world is going to get fixed just to satisfy mutt > > > users. > > > > We're not talking aobut satisfying mutt users, but about > > implementing specifications which are on the Standards Track. > > > Yes, I know that, but realistically are the rest of the world's MUAs > going to become PGP/MIME conformant - ever? You're right, and while we're at it, let's throw out RFC 822 at the same time. Why should we expect all MUAs to conform to any sort of standard. If you want to send mail to outlook users, use outlook. There's a reason for the standards track, and I'm not implying that you don't agree with this, but the only way to make the vendors conform is to complain. e. -- Eric Brunson* _ o * Faster and faster, [EMAIL PROTECTED]* / //\ until the thrill of speed [EMAIL PROTECTED]\>>| * overcomes the fear of death [EMAIL PROTECTED] \\, PGP signature
Re: w3m and text/html
I am using redhat, what is the file that you can specify for mutt to use without sacrificing the integrity of netscape's mailcapcan someone please send a mailcap file to me... i created one and it's not working at all...trying to work through some issues when i have time, and do any of us! ! Sean F Rima <[EMAIL PROTECTED]> [180200 11:48]: > Hi Scott! > > Use: > text/html; w3m -T text/html -dump %s; copiousoutput > > Works for me. > > Sean > > On Fri, 18 Feb 2000, Scott A . McIntyre wrote: > > > Has anyone gotten mutt (1.1.4i) to work with text/html attachments and > > the w3m browser? I've found w3m to be superior to lynx for things like > > forms and tables, but can't seem to get mutt to invoke it without just > > diplaying the raw HTML. > > > > I've tried mailcap entries such as: > > > > text/html; w3m %s > > > > But that merely does the raw HTML -- I do have lynx "sort of" working as > > an auto_view with: > > > > text/html; lynx -force_html -dump '%s'; copiousoutput > > > > Thanks for any pointers... > > > > Scott > > > > -- > Linux User: #124682 ICQ: 679813 > My Current Uptime is 12d, 5h and 10m on Linux 2.2.14 > It said "Needs Windows 95 or better". So I installed Linux... -- /helfman "At any given moment, you may find the ticket to the circus that has always been in your possession."
Bug report
My system: SunOS 5.7 (sun4u) The bug occurs when starting it up in dtterm or xterm_color, but not xterm. After reading the mail mailbox, it seg-faults when trying to display it (1 message header comes out before the crash). The sysadmin just recently installed this. Could there have been a screwup? %mutt -v Mutt 1.0.1i (2000-01-18) Copyright (C) 1996-2000 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: SunOS 5.7 [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 +HAVE_GPG -BUFFY_SIZE -EXACT_ADDRESS +ENABLE_NLS SENDMAIL="/usr/lib/sendmail" MAILPATH="/var/mail" SHAREDIR="/usr/local/etc" SYSCONFDIR="/usr/local/etc" ISPELL="/usr/local/bin/ispell" _PGPPATH="/usr/local/bin/pgp" _PGPV2PATH="/usr/local/bin/pgp" _PGPGPGPATH="/usr/local/gnu/bin/gpg" To contact the developers, please mail to <[EMAIL PROTECTED]>. % gdb mutt core GDB is free software and you are welcome to 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. GDB 4.16 (sparc-sun-solaris2.6), Copyright 1996 Free Software Foundation, Inc...(no debugging symbols found)... Core was generated by `mutt'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols found)... done. Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols found)... done. Reading symbols from /usr/lib/libcurses.so.1...(no debugging symbols found)... done. Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libmp.so.2...(no debugging symbols found)...done. Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...(no debugging symbols found)...done. #0 0x0 in ?? () (gdb) bt #0 0x0 in ?? () #1 0x36970 in mutt_index_menu () #2 0x59c0c in main () (gdb) Thanks! Steve
Re: w3m and text/html
Jason Helfman <[EMAIL PROTECTED]> wrote: > > I am using redhat, what is the file that you can specify for mutt to > use without sacrificing the integrity of netscape's mailcap It is unfortunate that Mutt and Netscape can't share a mailcap file. Your best bet is to maintain two different mailcap files. I name mine ".mailcap.mutt", and set Mutt to use it like this: set mailcap_path=~/.mailcap.mutt The main difference is that ~/.mailcap has entries in this format: video/*;xanim +Sr +B +Ae "%s" >/dev/null audio/x-pn-realaudio; raplayer "%s" application/pdf;acroread -tempFile "%s" application/postscript; ghostview "%s" while ~/.mailcap.mutt puts them in this format: text/html; lynx -dump -force_html %s; copiousoutput image/*;xv %s video/*;xanim +Sr +B +Ae %s >/dev/null audio/x-pn-realaudio; raplayer %s application/pdf;acroread -tempFile %s application/postscript; ghostview %s application/x-gzip; gzcat %s; copiousoutput application/x-gunzip; gzcat %s; copiousoutput application/octet-stream; octet-view %s; copiousoutput The main difference is that Netscape will not quote filenames correctly, so you must use "%s" to keep from getting errors on files with spaces in them. Also notice that formats Netscape can handle internally are not represented in the .mailcap file. -- 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 UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D AB A6 15 F1 BB BE 8C 44
Re: w3m and text/html
Hi Jason! In my muttrc I have: set mailcap_path='~/.mutt/mailcap' Which contains the line I posted. This file should not be able to be seen by Netscape. Sean On Fri, 18 Feb 2000, Jason Helfman wrote: > I am using redhat, what is the file that you can specify for mutt to use > without sacrificing the integrity of netscape's mailcapcan someone > please send a mailcap file to me... i created one and it's not working > at all...trying to work through some issues when i have time, and do any > of us! > > ! Sean F Rima <[EMAIL PROTECTED]> [180200 11:48]: > > Hi Scott! > > > > Use: > > text/html; w3m -T text/html -dump %s; copiousoutput > > > > Works for me. > > > > Sean > > > > On Fri, 18 Feb 2000, Scott A . McIntyre wrote: > > > > > Has anyone gotten mutt (1.1.4i) to work with text/html attachments and > > > the w3m browser? I've found w3m to be superior to lynx for things like > > > forms and tables, but can't seem to get mutt to invoke it without just > > > diplaying the raw HTML. > > > > > > I've tried mailcap entries such as: > > > > > > text/html; w3m %s > > > > > > But that merely does the raw HTML -- I do have lynx "sort of" working as > > > an auto_view with: > > > > > > text/html; lynx -force_html -dump '%s'; copiousoutput > > > > > > Thanks for any pointers... > > > > > > Scott > > > > > > > -- > > Linux User: #124682 ICQ: 679813 > > My Current Uptime is 12d, 5h and 10m on Linux 2.2.14 > > It said "Needs Windows 95 or better". So I installed Linux... > > > > -- > /helfman > > "At any given moment, you may find the ticket to the circus that has always been > in your possession." > -- Linux User: #124682 ICQ: 679813 My Current Uptime is 12d, 10h and 13m on Linux 2.2.14 It said "Needs Windows 95 or better". So I installed Linux... PGP signature
Re: dogs
At 2:15 PM EST on February 17 Erik Jacobsen sent off: > Or, from the OpenBSD man pages: > > The biff command appeared in 4.0BSD. biff was Heidi Stettner's dog. Years ago a friend was forced to use Unix at work and then turned off by biff. She had spent some time looking for an email notifier, and eventually found biff, with the explanation of its name in the man page. She bitterly railed against any OS where the programmers would be allowed to choose command names using such obscure lines of thought as a dog fetching mail or newspapers. But biff doesn't *fetch* mail, it just barks at the mailman. *mutt* fetches mail. And fetchmail catches frisbees in its mouth ;-) Other Canadians on the list have probably read Farley Mowat's book "The Dog Who Wouldn't Be" and know that Mutt, the title character, can do anything. -- Pollutocracy, n.: Rule by stinking rich folk and badly polluting corporations. - Hamish Wilson Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/ PGP Key: http://astro.utoronto.ca/~reid/pgp.html
Re: color index for list mail
On Thu, Feb 17, 2000 at 23:34:34 +0200, Eric Smith wrote: > Is is possible to have mail from mailing lists coloured according to a > color index recipe: > a la > > color index brightmagentablack ~l # List mail Yes. (It works. Why didn't you just tried it?) -- Byrial
pager_index at bottom?
Is there any way I can force my pager_index to appear at the bottom of my display? Thanks. -- - Evan Vetere [EMAIL PROTECTED] | B6B0 5F71 FE5E 0607 4E52 CEAC 1839 2E77 9C35 A263 PGP signature
Invoking Browser from Mutt??
I would like to check some of the URL's in my email. I have Netscape, Lynx and Links browser. There later 2 are console based text browsers. I would like to call one of these, initial a text based browser from mutt. Can I do this from Mutt? If yes, then how can I do this? Thank you in advance. Subba Rao [EMAIL PROTECTED] http://pws.prserv.net/truemax/ => Time is relative. Here is a new way to look at time. <= http://www.smcinnovations.com
Oddball maildir behavior
Hi, I just started using maildirs instead of mbox files. Now, whenever I leave a maildir, whether or not I made any changes, it always reports "New mail in " from the maildir I just left. Any ideas why? On a hunch, I compiled mutt without BUFFY_SIZE, but it acts the same way. 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
Re: Oddball maildir behavior
On Fri, Feb 18, 2000 at 09:41:44PM -0500, David Shaw wrote: > Hi, > > I just started using maildirs instead of mbox files. Now, whenever I > leave a maildir, whether or not I made any changes, it always reports > "New mail in " from the maildir I just left. Any ideas why? On a > hunch, I compiled mutt without BUFFY_SIZE, but it acts the same way. Oops. I meant to add: Mutt 1.1.2i (2000-01-08) Copyright (C) 1996-2000 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_GSS -USE_SSL +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/bin/ispell" _PGPPATH="/usr/local/bin/pgp" _PGPV2PATH="/usr/local/bin/pgp" To contact the developers, please mail to <[EMAIL PROTECTED]>. 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
Re: Invoking Browser from Mutt??
Searching email bodies for URLs, letting you pick the one you're interested in, and firing up a browser is done by mutt's companion program urlview, which should be linked off mutt's home page www.mutt.org (although I'm getting lookup failures on that domain name just now). Your urlview config can specify a browser. It can be a wrapper script. I only use links and lynx; links for everything except https URLs. So my .urlview looks like: REGEXP (http|https|ftp|mailto):(//)?[^ >"]*|www.[-a-z0-9.]+)[^ .,;>">] COMMAND screen browse '%s' The regexp is a trivial improvement on the default, that adds https to the url types it can handle, and "browse" is a trivial script: #!/bin/sh case "$1" in https://*) exec lynx "$@";; *) exec links "$@";; esac -Bennett PGP signature
IMAP issues
Hello, I am trying to transition from pine to mutt. The problem I am running into is that I want to use IMAP to two accounts. I'm running Debian/woody with mutt-1.1.3-1. Two things I would like to know is how to set up IMAP folders so I can access them automagically (I can get into it manually by invoking mutt -f {host1.org} or whatever or using going to the folder from the menu). The other issue is that I can only get to {host2.com} when I am at work. If there is a way to set this up so that there is a selective way to access that particular inbox, I would love to hear that too. The other thing is that I would like is to have mutt change the From: address based on these two folders. If I am in the {host1.org}INBOX, I would like to have From: [EMAIL PROTECTED], and so forth. I tried setting folder-hook \{host2.com\}INBOX "my_hdr From: Bradley M Alexander <[EMAIL PROTECTED]>" folder-hook \{host1.org\}INBOX "my_hdr From: Bradley M Alexander <[EMAIL PROTECTED]>" in my .muttrc, and got Error in /home/balexander/.muttrc, line 133: Invalid content of \{\} Error in /home/balexander/.muttrc, line 134: Invalid content of \{\} when I try to start mutt. I have tried quoting it, escaping (\) it, and not doing anything at all, and got the errors listed above. I have a mailbox defined as mailboxes {host1.org} {host2.com} etc, but I'm still getting this error. Can someone help me out? Thanks, --Brad Bradley M. Alexander | Co-Chairman, Beowulf System Admin/Security Specialist |NoVALUG/DCLUG Security SIG Winstar Telecom | [EMAIL PROTECTED] (703) 889-6788 | [EMAIL PROTECTED] Never draw fire, it irritates everyone around you. --Murphy's Laws of Combat
Re: IMAP issues
On Saturday, 19 February 2000 at 00:51, Bradley Alexander wrote: > Hello, > > I am trying to transition from pine to mutt. The problem I am running into > is that I want to use IMAP to two accounts. I'm running Debian/woody with > mutt-1.1.3-1. > > Two things I would like to know is how to set up IMAP folders so I can > access them automagically (I can get into it manually by invoking mutt -f > {host1.org} or whatever or using going to the folder from the menu). The > other issue is that I can only get to {host2.com} when I am at work. If > there is a way to set this up so that there is a selective way to access > that particular inbox, I would love to hear that too. I'm not sure exactly what you want mutt to do for you. You can play with setting $spoolfile, $folder, or define some macros to switch between these folders. > The other thing is that I would like is to have mutt change the From: > address based on these two folders. If I am in the {host1.org}INBOX, I > would like to have From: [EMAIL PROTECTED], and so forth. I tried setting > > folder-hook \{host2.com\}INBOX "my_hdr From: Bradley M Alexander > <[EMAIL PROTECTED]>" > folder-hook \{host1.org\}INBOX "my_hdr From: Bradley M Alexander > <[EMAIL PROTECTED]>" I'm no expert on the parsing engine, but I think mutt makes two expansion passes over these strings. You might want to try something like \\{host2.com\\} and see if you have better results. BTW mutt 1.1 has a variable $from which you may wish to use instead of my_hdr, ie: folder-hook \\{host2.com\\}INBOX "set from='Bradley M Alexander <[EMAIL PROTECTED]>'" -Brendan PGP signature