Re: not quoting signatures on reply
Caster muttered: It's a valid escape sequence, and I think I've heard of it before. It might not, however, be fully documented :-) In fact I don't see any mention of it in the docs (I mean in refer to the name of the edited file). It's there: 5.3.3.3. Command Expansion The various commands defined in the mailcap files are passed to the /bin/sh shell using the system() function. Before the command is passed to /bin/sh -c, it is parsed to expand various special parameters with information from Mutt. The keywords Mutt expands are: %s As seen in the basic mailcap section, this variable is expanded to a filename specified by the calling program. This file contains the body of the message to view/print/edit or where the composing program should place the results of composition. In addition, the use of this keyword causes Mutt to not pass the body of the message to the view/print/edit program on stdin. HTH, Michael -- The program isn't debugged until the last user is dead. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13 PGP signature
Re: viewing image attachments
On Thursday, Luke Ravitch said something like: I don't know if this is part of your problem, but I found it necessary to add the "force_html" switch to lynx in my .mailcap. I.e.: text/html; lynx -force_html -dump %s ; copiousoutput Otherwise I would just get the HTML source. (Mutt's temporary file names don't have .html extensions, so lynx was assuming it was just a plain text file.) I use what is suggested in the manual: text/html; lynx -dump %s ; copiousoutput ; nametemplate=%s.html This causes the temporary file to be named with a .html extension. Works for me. -Brett -- - Brett Coon - [EMAIL PROTECTED] - http://www.rahul.net/brett --- Sera: That's nice talk, Ben - keep drinking. Between the 101-proof breath and the occasional bits of drool, some interesting words come out. [233] "Leaving Las Vegas" (1995)
Blank messages in IMAP index
I have a strange problem when opening IMAP folders with mutt. After having experimented with a number of different IMAP clients some of my IMAP folders when opened display an index like the one below:- 1 Nov 15 vile-users-help ( 92) vile-users response to "request" messa 2 F May 04 ( 0) 3 F Jun 05 ( 0) 4 F Jun 05 ( 0) 5 F Jun 05 ( 0) 6 F Jun 05 ( 0) 7 F Jun 05 ( 0) 8 F Jun 05 ( 0) 9 F Jun 05 ( 0) 10 F Jul 10 ( 0) 11 F Jul 25 ( 0) 12 F Jul 25 ( 0) 13 F Jul 25 ( 0) 14 F Jul 25 ( 0) 15 F Jul 25 ( 0) 16 F Jul 25 ( 0) 17 F Jul 25 ( 0) 18 F Jul 25 ( 0) 19 F Jul 25 ( 0) 20 F Jul 25 ( 0) 21 F Jul 25 ( 0) 22 F Jul 25 ( 0) 23 F Jul 25 ( 0) 24 F Jul 25 ( 0) 25 F Jul 25 ( 0) 26 F Jul 25 ( 0) 27 F Jul 25 ( 0) 28 F Jul 25 ( 0) 29 F Jul 25 ( 0) 30 F Jul 25 ( 0) 31 F Jul 25 ( 0) 32 F Jul 25 ( 0) 33 F Jul 25 ( 0) 34 F Jul 25 ( 0) - 35 O F Jul 25 ( 0) 36 O F Jul 25 ( 0) 37 O F Jul 25 ( 0) If I open the messages they are perfectly OK and the subject etc. then appears in the index. What's going on? -- Chris Green ([EMAIL PROTECTED]) Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED] WWW: http://www.isbd.co.uk/
Re: not quoting signatures on reply
On Fri, Aug 11, 2000 at 02:40:18AM +0200, Michael Tatge wrote: Caster muttered: It's a valid escape sequence, and I think I've heard of it before. It might not, however, be fully documented :-) In fact I don't see any mention of it in the docs (I mean in refer to the name of the edited file). It's there: 5.3.3.3. Command Expansion The various commands defined in the mailcap files are passed to the /bin/sh shell using the system() function. Before the command is passed to /bin/sh -c, it is parsed to expand various special parameters with information from Mutt. It would be nice to mention that $editor also passes through this expansion stage (and add a reference to this section in 6.3.35. which talks about $editor). Are there more places other than mailcap and $editor that accept these keywords? Marius Gedminas -- Uncle Cosmo, why do they call this a word processor? It's simple, Skyler. You've seen what food processors do to food, right?
1.3.7 build problem on Solaris
I am trying to build 1.3.7 on Solaris 2.6, I am building:- --with-curses --enable-pop --enable-imap I'm getting an error in the imap directory:- Making all in imap make: Fatal error: Don't know how to make target `../types.h' Current working directory /usr/chris/mutt-1.3.7/imap There are lots of references to sys/types.h in the code but the Makefile is looking for ../types.h - is this a missing file or is the Makefile wrong? -- Chris Green ([EMAIL PROTECTED]) Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED] WWW: http://www.isbd.co.uk/
Build problems - more information
Re: my build problems with 1.3.7, I have tried some other versions:- 1.2.5 builds OK on my Solaris 2.6 1.3.5 builds OK 1.3.6 fails in the same way as I described for 1.3.7 1.3.7 fails I have built 1.3.7 on Linux systems so it would seem that some change between 1.3.5 and 1.3.6 has broken the build on Solaris. -- Chris Green ([EMAIL PROTECTED]) Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED] WWW: http://www.isbd.co.uk/
Re: 1.3.7 build problem on Solaris
[EMAIL PROTECTED] writes: I am trying to build 1.3.7 on Solaris 2.6, I am building:- --with-curses --enable-pop --enable-imap I'm getting an error in the imap directory:- Making all in imap make: Fatal error: Don't know how to make target `../types.h' Current working directory /usr/chris/mutt-1.3.7/imap There are lots of references to sys/types.h in the code but the Makefile is looking for ../types.h - is this a missing file or is the Makefile wrong? Works fine here on Solaris. Do a make clean and try again. $ configure ... $ make ./gen_defs ./OPS ./OPS.PGP keymap_defs.h gcc -DSHAREDIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\" -DBINDIR=\"/usr/local/bin\" -DHAVE_CONFIG_H=1 -I. -I. -I. -I./imap-Iintl -I/usr/local/include -I/usr/local/ncurses/include -I./intl -Wall -pedantic -g -O2 -c checktypes.c gcc -Wall -pedantic -g -O2 -L/usr/local/ncurses/lib -R/usr/local/ncurses/lib -o checktypes checktypes.o -lnsl -lsocket ./checktypes types.h [...]
Re: not quoting signatures on reply
Sitting at the campfire, Caster told: However not everyone is using vim, so such option inside mutt could be useful. I still don't see why this is a Mutt issue. UN*X/Linux philosophy is to have one program working on one field and using other programs for other work. Mutt is one of those. that's why you use lynx or whatever webbrowser to view html, your $editor to edit mails.. We don't want Mutt to become something like StarOffice (can do anything, but poorly), do we? Greetings Kai -- x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x Kai Blin(mailto:[EMAIL PROTECTED]) Webmaster Inst. of Human Genetics Dept. of Molecular Genetics Wilhelmstr 27 phone (49)7071-2974890 D 72074 Tuebingen, Germany fax (49)7071-295233 http://www.uni-tuebingen.de/uni/thm/molgen/molgen.html Do molecular biologists wear designer genes? x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x
Re: viewing image attachments-solved!
I installed xli, set up Roland Rosenfelds' mailcap and mime.types in /.mutt and everything now works fine. On Thu, Aug 10, 2000 at 09:55:59PM -0700 55, Dale Morris [EMAIL PROTECTED] wrote: I have just installed and configured debian 2.2 and I am using mutt for a mailreader. Would someone please tell me the two commands I put in my .muttrc or .mailcap files that will execute electric eyes (ee) and lynx for image and html attachments. I've tried the commands in the mutt manual and I still keep coming up with windows of text. here's what I've tried: text/html; lynx -dump %s ; copiousoutput image/*; ee %s and image/*;ee %s /dev/null and image/*;xv %s; test=RunningX; \ edit=xpaint %s nothing seems to work.. thanks dale -- "Make voyages, attempt them, there's nothing else." --Tennessee Williams -- "Make voyages, attempt them, there's nothing else." --Tennessee Williams
Re: not quoting signatures on reply
Tomasz -- ...and then Caster said... % Hello Mutt Users! % On czw 10 sie 2000 07:35:56 GMT David T-G wrote: % % You can usually do this in your editor; if it were vim % % What else can it be ;) That's what I think, too, but the original requester is using (gasp) pico. % % for instance, you could say something like %set editor="vim +/^$" % % Thanks to you :) now I'm using: % set editor="vim +/^$ +/^$ +nohlsearch" % It places the cursor in the beginning of the second blank line and turns % highlighting of search results to off. Most excellent! In fact, I'll go you one better (since this was, after all, about cropping the quoted signature); I didn't realize that you could chain +commands on the vim command line, but something like set editor="vim +/^' -- '$ +?^$ +nohlsearch" should find the quoted (assuming you use _ for your quoting, unlike me) sigdashes line, delete from there to the end of the paragraph, and then go back to the first blank line. I'd even bet that you could, when faced with a correspondent like Ronny who uses no signature, press 'u' to undo the deletion if it goes bad! % However not everyone is using vim, so such option inside mutt could be % useful. Nah; I still like finding a way to let your editor, perhaps with help from other tools, do it for you. Let mutt decide whether or not to attach your signature and leave it at that. % % -- % Tomasz Olszewski % [EMAIL PROTECTED] :-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
Line wrapping in internal pager
Excuse me if this is in the docs, but I haven't found anything.. Is there a way to disable line wrapping in the internal mutt pager (so that lines that are too long are just cut off)? (like ":set nowrap" in vim) Thanks for any help.. Markus (I'd appreciate if I got cc:ed since I'm not subscribed to the list..) -- Markus Holmberg | Give me Unix or give me a typewriter. [EMAIL PROTECTED] | http://www.freebsd.org/
Re: Build problem with 1.3.7 on Solaris
I have checked this out thoroughly now and I'm convinced there is some sort of problem building 1.3.7 (and 1.3.6) on Solaris. N.B. the problem is when "Making all in imap" so it only occurs if you configure with --enable-imap. I have tried deleting the directory and re-extracting from the tarball and doing just:- ./configure --prefix=/usr/chris --with-curses=/usr/chris --enable-pop --enable-imap followed by 'make' and I still get the error:- Making all in imap gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I/usr/chris/include -I../intl -Wall -pedantic -g -O2 -c auth.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I/usr/chris/include -I../intl -Wall -pedantic -g -O2 -c auth_anon.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I/usr/chris/include -I../intl -Wall -pedantic -g -O2 -c auth_login.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I/usr/chris/include -I../intl -Wall -pedantic -g -O2 -c browse.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I/usr/chris/include -I../intl -Wall -pedantic -g -O2 -c command.c command.c: In function `imap_handle_untagged': command.c:184: warning: subscript has type `char' command.c: In function `cmd_parse_myrights': command.c:326: warning: subscript has type `char' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I/usr/chris/include -I../intl -Wall -pedantic -g -O2 -c imap.c imap.c: In function `imap_open_mailbox': imap.c:717: warning: subscript has type `char' imap.c:721: warning: subscript has type `char' imap.c: In function `imap_mailbox_check': imap.c:1324: warning: subscript has type `char' make: Fatal error: Don't know how to make target `../types.h' Current working directory /usr/chris/mutt-1.3.7/imap *** Error code 1 As I said versions 1.3.x up to 1.3.5 build OK and so does 1.2.5, so the problem would seem to be in something that changed in the imap directory between 1.3.5 and 1.3.6. -- Chris Green ([EMAIL PROTECTED]) Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED] WWW: http://www.isbd.co.uk/
IMAP with Exchange Server
I'm running Mutt 1.2.5i with IMAP support, in the unfortunate condition of needing to use MS Exchange as the IMAP server. (Corporate email, really tired of Outlook) Something somewhere is clearly buggy, to the point of just about making it unuseable. I find that when I open a folder, everything is fine. But, when new messages arrive, or even a $ refresh is done sometimes, things get odd. For example, one new message will come in but it gets listed twice. For example, I'll be able to read the new message(s) but the old messages will only have headers - no bodies. I know that Exchange isn't listed as a compatible IMAP server, but on the other hand it doesn't say its specificaly not compatible. Is anyone out there successfuly using such a configuration? Are there some tweaks or patches I need to make? Do I need to request changes on the server end? Any help or advice is appreciated. I really don't want to go back to Outlook, and using something like fetchmail really isn't a viable option. -- r a y c r a n e "It's not real...just a drawback I wish to feel."
Re: IMAP with Exchange Server
On Fri, Aug 11, 2000 at 09:28:29AM -0400, Ray Crane wrote: I'm running Mutt 1.2.5i with IMAP support, in the unfortunate condition of needing to use MS Exchange as the IMAP server. (Corporate email, really tired of Outlook) Something somewhere is clearly buggy, to the point of just about making it unuseable. I find that when I open a folder, everything is fine. But, when new messages arrive, or even a $ refresh is done sometimes, things get odd. For example, one new message will come in but it gets listed twice. For example, I'll be able to read the new message(s) but the old messages will only have headers - no bodies. I use mutt and exchange on a daily basis (currently 1.2i). It works fine, as long as I dont have outlook open too. I would guess that IMAP bolts on to whatever exchange uses internally and things dont quite sync exchange-IMAP that well. If I modify something in mutt, Outlook notices the changes, if the other way around, things go funny. Steve -- NetTek Ltd tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455 Flat 2,43 Howitt Road, Belsize Park,London NW3 4LU mobile 07775 755503 Epage [EMAIL PROTECTED] [body only]
Re: IMAP with Exchange Server
On Friday, 11 August 2000 at 09:28, Ray Crane wrote: I'm running Mutt 1.2.5i with IMAP support, in the unfortunate condition of needing to use MS Exchange as the IMAP server. (Corporate email, really tired of Outlook) Something somewhere is clearly buggy, to the point of just about making it unuseable. I find that when I open a folder, everything is fine. But, when new messages arrive, or even a $ refresh is done sometimes, things get odd. For example, one new message will come in but it gets listed twice. For example, I'll be able to read the new message(s) but the old messages will only have headers - no bodies. There have been some very significant changes in the development series. If things aren't working for you, maybe you'd like to try the latest 1.3 version? I'm also much more interested in making 1.3 work correctly than 1.2 (the code's so different, backporting isn't an option). So, if you do try 1.3.7 (currently the latest, I believe), let me know if IMAP still isn't working. Thanks, Brendan -- Don't make Godzilla mad! PGP signature
Re: Blank messages in IMAP index
On Friday, 11 August 2000 at 03:06, [EMAIL PROTECTED] wrote: I have a strange problem when opening IMAP folders with mutt. After having experimented with a number of different IMAP clients some of my IMAP folders when opened display an index like the one below:- 1 Nov 15 vile-users-help ( 92) vile-users response to "request" messa 2 F May 04 ( 0) If I open the messages they are perfectly OK and the subject etc. then appears in the index. What's going on? Known problem - happens especially with Courier. I hope this is from the 1.2 series? I rewrote the index code in 1.3 so this shouldn't happen (knock on wood). oh, regarding your problems building 1.3.7 - I'm not sure exactly what is going on, maybe Solaris' make has problems. But try: configure --enable-foo --blahblahblah make types.h make ie make types.h before make. -- Don't make Godzilla mad! PGP signature
Locale settings and LANG
When no LC_CTYPE or LANG variable is set, mutt displays special characters like ë, é, £, correctly. But when LANG=C is set and LC_CTYPE are unset, they are not. This is a bit strange, because when LANG and LC_CTYPE are unset, programs usually use the default locale settings, which should be equal to those used when LANG=C. Or am I missing something? Wouter Ps. I'm not on the list, so please Cc me on replies.
Re: not quoting signatures on reply
Peter Palfrader wrote: ... but this should work for all editors (that support +lineno): set editor="vim +\`awk '/^$/ {print i+2; exit} {i++}' %s\` %s" It is stolen from Roland Rosenfeld's [EMAIL PROTECTED] great muttrcs. Or even better, use the builtin awk variable NR: set editor="vim +\`awk '/^$/ {print NR+1; exit}' %s\` %s" Cheers, Stan
Re: imap folders index
On Monday, 07 August 2000 at 23:27, Bernhard Valenti wrote: On Mon, Aug 07, 2000 at 10:48:24AM -0400, Brendan Cully wrote: Just use the documented "mailboxes" command: mailboxes {host}Mail/foo-list {host}Mail/bar-list i did that and added all my IMAP folders, when i press tab ( at the directory browser ) i can see all of them, but unfortunatly it doesnt display wether a folder has a new mail ( the docs say it should indicate new mails ) IMAP distinguishes between New and Unread mails. Just because you haven't read some messages doesn't mean that folder has new mail. But if mail arrives while you're using mutt you should get notified and there should be an N (or two ?!) in the mailboxes browser. of course you can also use the standard folder shortcuts, eg: set folder={host}Mail mailboxes =foo-list =bar-list i have set folder = {10.0.0.55}INBOX but actually mutt still goes to the /var/mail/wedge spool when its you need to set $spoolfile. -- Don't make Godzilla mad! PGP signature
Re: Build problem with 1.3.7 on Solaris
On 2000.08.11, in [EMAIL PROTECTED], "[EMAIL PROTECTED]" [EMAIL PROTECTED] wrote: I have checked this out thoroughly now and I'm convinced there is some sort of problem building 1.3.7 (and 1.3.6) on Solaris. ... make: Fatal error: Don't know how to make target `../types.h' Current working directory /usr/chris/mutt-1.3.7/imap *** Error code 1 This is exactly the same problem as the older keymap_defs.h problem, just a different file. The mechanics for dealing with these depends seem to depend on weird properties of GNU make. You can either make types.h first (I suppose; I haven't tried it) or use GNU make. -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
duplicate addresses
Ok, I finally learned the "alternate" setting, and now the "unset metoo" works beautifully. However, everyone else here at Nortel has the same situation, where sometimes their domain is "nortelnetworks.com", and sometimes it's something else. Is there a way that I can tell mutt about this, so that when I reply, their addresses aren't repeated? I know they're not repeated in the literal sense, but they end up receiving the message twice. Mike -- Michael P. Soulier, 1Z22, SKY Tel: 613-765-4699 (ESN: 39-54699) Optical Networks, Nortel Networks, SDE Pegasus "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to UNIX Nortel Linux User's Group Ottawa: (internal) http://nlug.ca.nortel.com:8080