Re: urlview patch
On Sat, Aug 21, 1999 at 04:47:01PM +1100, Brian Salter-Duke wrote: > > urlview was written by Michael Elkins. Are you suggesting I ask him to > add the change I made to the URL display to warn about adding or removing > a "/" in ftp URLSs? > > I would like to see urlview and url_handler in the contrib directory > of mutt. What do the developers think? I have just realised that it is in the contrib directory! Puts gun to head. Cheers, Brian. -- Associate Professor Brian Salter-Duke (Brian Duke) Chemistry, Faculty of Science, IT and Education, Northern Territory University, Darwin, NT 0909, Australia. Phone 08-89466702. Fax 08-89466847 [EMAIL PROTECTED] http://www.smps.ntu.edu.au/school/compchem.html
Re: sent-items: To: default?
On Fri, Aug 20, 1999 at 02:07:26PM -0400, David Thorburn-Gundlach wrote: > Atilla -- > > ...and then Attila Csosz said... > % > % How could I see the To: field instead of From: field in my sent-items folder? > > See section 6.3.58 of the manualfor more details, but you probably > want something like %a (address) or %F (author name) or %n (author's > real name) or %u (user name) in your index_format variable. Ok, I will try it.. But I don't understand why I see by default the From: field. I didn't find in the default index_format string this like format specifier. from manual: index_format: ... Default: "%4C %Z %{%b %d} %-15.15L (%4l) %s" Where is here the format specifier for the From: field?? What should I change to get a list of specifiers for my sent-items? Thanks Attila > > > % > % Thanks > % Attila > > > :-D > -- > David Thorburn-Gundlach * It's easier to fight for one's principles > (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie > (work) [EMAIL PROTECTED] Helping out at Pfizer > http://www.bigfoot.com/~davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! > "Why2k? Well, I didn't think at the time that I could charge any more!" > Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh* > -- --- - Debian 2.1 Linux / 2.2.9 / qmail - - Mail: [EMAIL PROTECTED]-
Re: Colouring of email addresses in headers
Fairlight [[EMAIL PROTECTED]] wrote: > Question for ya first...how do you get vim's "standard colours for email > mode" ...I guess how do you get vim's email mode? :) The standard syntax highlight includes the email mode as well. So all you need is to add the following to your /etc/vimrc: " Vim5 comes with syntaxhighlighting. If you want to enable " syntaxhightlighting " by default uncomment the next three lines. if has("syntax") syntax on " Default to no syntax highlightning endif -- Shao Zhang - Running Debian 2.1 ___ _ _ Department of Communications/ __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _
semi-mutt help? :)
Well, the 7th day since I hooked up with mutt, and I tackled most of the manual tonight and set up a lot of things I hadn't yet. One of those was colours. I finally have a cool colour scheme that works well. There's just one small part that bothers me: when I go to reply/forward, vi (actually vim) doesn't support those colour arrangements. Anyone know how to get vim to behave like mutt, color-wise? mark-> -- Fairlight-> |||[EMAIL PROTECTED] | Fairlight Consulting __/\__ ||| "I'm talking for free... | http://www.fairlite.com <__<>__> ||| It's a New Religion..." | [EMAIL PROTECTED] \/||| PGP Public Key available via finger @iglou, or Key servers
autoedit/edit-headers?
In the manual, autoedit says it will skip the "send-menu" if set when replying. I tried setting it an noticed no difference UNLESS I also had edit_headers set as well. The manual indicates there would be extra skipping of questions if edit_headers was set as well, but autoedit by itself does nothing discernable. Is this an outdated part of the manual, or is there something I'm missing here? When I go to reply, what is the "send-menu" ??? The part with all the headers and attachments and such? I only get that after editing my message, not before. I'm curious just what autoedit is supposed to skip. Been over the manual all night and can't figure it out. TIA... mark-> -- Fairlight-> |||[EMAIL PROTECTED] | Fairlight Consulting __/\__ ||| "I'm talking for free... | http://www.fairlite.com <__<>__> ||| It's a New Religion..." | [EMAIL PROTECTED] \/||| PGP Public Key available via finger @iglou, or Key servers
Re: Colouring of email addresses in headers
On Fri, Aug 20, 1999 at 10:29:57AM -0400, Fairlight wrote: > On Fri, Aug 20, 1999 at 12:33:37AM +0100, Alisdair McDiarmid wrote: > > I use vim and mutt together (as it should be :) and I'm trying to > > configure them to both have the same syntax colouring display. > > > > I like vim's standard colours for email mode - yellow for all > > headers except email addresses and the Subject header, which are > > blue. However, if I use: > > Question for ya first...how do you get vim's "standard colours for email > mode" Set syntax colouring on (in vim >=5.3) and edit a message from mutt. > ...I guess how do you get vim's email mode? :) As above :) > > color header brightblue black [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ > > in my muttrc file, the whole header line is coloured blue, when > > all I want coloured is the email address. > > Hmmm...although I'd think your regexp would work fine, have you tried: > color header brightblue black <.*@.*> > ??? :) No, but it wouldn't work the way I want to... > It would highlight the braces as well, but I'm not the king of > regexp's Neither am I :) > so maybe there's a way to "sed" out the offending <>'s from that > particular regexp if it's a problem. `From: [EMAIL PROTECTED] (JaMeS LaWsoN)' or `From: me <[EMAIL PROTECTED]>', so the <> regexp wouldn't match the first type. > Or, if you wanted the WHOLE address, including the text part, you could do: > " .*>" ...although that leaves the leading space in there as well. sed > would be so handy in these cases. No, it's just the email address I want coloured. -- alisdair mcdiarmid[EMAIL PROTECTED] [monkey say what monkey do rather be dead than cool]
Re: semi-mutt help? :)
VIM has some 150+ color syntax highlighting schemes-- attached is a fairly basic .vimrc file with syntax higlighting enabled... Fairlight [[EMAIL PROTECTED]] wrote: > Well, the 7th day since I hooked up with mutt, and I tackled most of the > manual tonight and set up a lot of things I hadn't yet. > > One of those was colours. I finally have a cool colour scheme that works > well. There's just one small part that bothers me: when I go to > reply/forward, vi (actually vim) doesn't support those colour arrangements. > > Anyone know how to get vim to behave like mutt, color-wise? > > mark-> > -- > Fairlight-> |||[EMAIL PROTECTED] | Fairlight Consulting > __/\__ ||| "I'm talking for free... | http://www.fairlite.com > <__<>__> ||| It's a New Religion..." | [EMAIL PROTECTED] > \/||| PGP Public Key available via finger @iglou, or Key servers -- Soren " Vim " " To use it, copy it to " for Unix and OS/2: ~/.vimrc " for Amiga: s:.vimrc " for MS-DOS and Win32: $VIM\_vimrc " if($TERM != "linux") " set ttytype=linux " endif set dictionary=/usr/dict/words set ai " set formatoptions=tcq2 " set tw=79 set ts=2 set nobackup set noautowrite set bs=2 set ruler set nocompatible set laststatus=2 set magic set digraph " set noesckeys set helpheight=0 set hidden set highlight=8r,db,es,hs,mb,Mr,nu,rs,sr,tb,vr,ws set noicon set noignorecase set noinsertmode set joinspaces set nomodeline set nonumber set report=0 set shell=bash set shortmess=at set showcmd set showmatch set showmode set suffixes=.bak.swp set tabstop=2 set shiftwidth=2 set title set ttyfast set nottybuiltin set whichwrap=<,> set wildchar= set wrapmargin=1 set nowritebackup map :W :w noremap `" " emacs definitions cnoremap cnoremap cnoremap cnoremap b cnoremap f cnoremap " use Q for formatting map Q gq " Buffer commands (split,move,delete) - map :split map :bp map :bn map :bd syntax on " if exists("has_syntax") " else " source $VIM/syntax/perl.vim " endif " EOF
Re: semi-mutt help? :)
On Sat, Aug 21, 1999 at 06:18:31AM -0700, Leiden, Soren spewed forth: > VIM has some 150+ color syntax highlighting schemes-- attached is a fairly > basic .vimrc file with syntax higlighting enabled... Looked over that file...I see the syntax on line...but where are the colours actually set That appears to be my problem...I tried the syntax on thing that another person posted, and I got basically all bright white text for everything that should have been colour, and regular text where it should have been regular. I'm afraid I'm an old emacs user, and got to know vi, but have paid very very little attention to vim's extensions since it was introduced to linux. Could you do me a favour and digress about where the colours are actually set? :) TERM=linux ...I'm running on the consoles. mark-> -- Fairlight-> |||[EMAIL PROTECTED] | Fairlight Consulting __/\__ ||| "I'm talking for free... | http://www.fairlite.com <__<>__> ||| It's a New Religion..." | [EMAIL PROTECTED] \/||| PGP Public Key available via finger @iglou, or Key servers
Re: archiving mailboxes each month
Yes, I'm replying again :-) I have realized just now, and the prior message has already been sent. Consider this just a fix :-) On Aug/19/1999, Gerald Oskoboiny wrote: > You can get around this by using: > mailboxes `find ~/mail -type f -print` > (untested, but I use something similar.) As I said before, this doesn't work, it just considers the first item as a mailbox; which happens to be logic, because "find" puts the result as a column of items. Then, we just have to do this to make it work: mailboxes `find ~/mail -type f -print | tr '\n' ' '` It looks right, isn't it? It doesn't work either O:-) And I really don't know what's the fault now. When I put this line in my muttrc, and then I type "mutt -y", mutt just exits without doing anything :-? But if I redirect the result of that command to a file, and then paste its contents as a "mailboxes" line, works fine :-? My excuses for the excessive noise :-) -- Roberto Suarez Soto | Clean my wounds mailto:[EMAIL PROTECTED]| Wash away all fear * Corgo - Lugo - Galicia - Spain | Let courage be mine
Re: archiving mailboxes each month
On Aug/19/1999, Gerald Oskoboiny wrote: > You can get around this by using: > > mailboxes `find ~/mail -type f -print` Doesn't work here :-) Mutt only treats as mailbox the first item in the list. So, if ~/mail had the folders "folder1", "folder2", "folder3", the above command would just list "folder1" as a mailbox. And I don't know how to fix it, if you were wondering O:-) What's the similar thing that you say you use? -- Roberto Suarez Soto | Clean my wounds mailto:[EMAIL PROTECTED]| Wash away all fear * Corgo - Lugo - Galicia - Spain | Let courage be mine
email problem
All, my apologies if email to me was bouncing all over the place yesterday. Someone where my domain name is hosted totally screwed up my DNS record yesterday so it looked as if the domain didn't exist. If anyone had any more input on my postponed menu, I didn't receive it. Could you kindly resend it to me? Thanks! -Ken -- [EMAIL PROTECTED]AIM: ScopusFest
hook dilemma
I'm using the following: mbox-hook .* =received save-hook .* =received Basically, I didn't understand till I just re-read it that this is message-based, not folder based. What I -want- is any time I quit or change folders, for it to save out the mail to =received (I have that right there) UNLESS (and this is the part I don't have!) I'm in certain folders. It has nothing to do with messages, it has to do with folders. I think I may be using the wrong tool for the wrong job. Suggestions are welcome though! I'm guessing I need to make use of folder-hook for the specific folders that I want this behaviour removed for, and let my default folder-hooks set it back to this behaviour. However, how do you "remove" a mbox-hook or save-hook? Basic scenario... mutt -f folders/funnies (which has about 900+ jokes in it from over the years) ... I don't want to automatically even be asked if I want to dump that to =received. But I do in almost every other case. So I want the save and mbox hooks I have defined for default, but for this folder, I want to remove them... How can I do this...or is it possible? Man, I feel like a pain...a week of questions here and there. Sorry folks...but thanks for helping. I've got it 99.99% the way I want it now... :) mark-> -- Fairlight-> |||[EMAIL PROTECTED] | Fairlight Consulting __/\__ ||| "I'm talking for free... | http://www.fairlite.com <__<>__> ||| It's a New Religion..." | [EMAIL PROTECTED] \/||| PGP Public Key available via finger @iglou, or Key servers
0.95.7i: i18n doesn't work
Hello all, I did just notice that my mutt 0.95.7i won't speak to me in german. I compiled it --with-included-gettext and without that option, but it always speaks english. strace says the following (all 6 result in "no such file or ..."): open("/usr/share/locale/de_DE.ISO-8859-1/LC_MESSAGES/messages.mo", O_RDONLY) open("/usr/share/locale/de_DE.iso88591/LC_MESSAGES/messages.mo", O_RDONLY) open("/usr/share/locale/de_DE/LC_MESSAGES/messages.mo", O_RDONLY) open("/usr/share/locale/de.ISO-8859-1/LC_MESSAGES/messages.mo", O_RDONLY) open("/usr/share/locale/de.iso88591/LC_MESSAGES/messages.mo", O_RDONLY) open("/usr/share/locale/de/LC_MESSAGES/messages.mo", O_RDONLY) 0.95.6i tries to open mutt.mo instead. I digged through the source code and found the calls to bindtextdomain() and textdomain() in main.c, but the preprocessed file contains "mutt" as domain, so I think that's not the problem. My .muttrc (unchanged since 0.95.6i) contains the line set locale=de_DE Please help me. Thanks. -- Christian UllrichRegistrierter Linux-User #125183 "Sie können nach R'ed'mond fliegen -- aber Sie werden sterben"
lbdb
On 990110, at 23:55:54, Roland Rosenfeld wrote: > I took over maintenance of [the lbdb] utility and you will find it at > http://luv.rhein.de/~roland/debian/#lbdb now (Source and Debian > binary). Actual version is 0.12. Has anyone built lbdb for HP-UX? I've been trying to build version 0.16, and have encountered a number of configuration problems (no getopt.h, shell keywords, awk path, ...) -- David Ellement
Re: semi-mutt help? :)
On Sat, Aug 21, 1999 at 09:55:59AM -0400, Fairlight wrote: [...] > I'm afraid I'm an old emacs user, and got to know vi, but have paid very > very little attention to vim's extensions since it was introduced to linux. > > Could you do me a favour and digress about where the colours are actually > set? :) TERM=linux ...I'm running on the consoles. On my system (Red Hat Linux 5.2, Red Hat's default Vim installation), all relevant files are in /usr/share/vim/syntax/ - with "syntax.vim" being the main file in which (if I'm not mistaken) the colours are defined. You can override the colours in your .vimrc/.gvimrc Here's an example from my .gvimrc: " Set nice colors " background for normal text is light grey " Text below the last line is darker grey " Cursor is green " Constants are not underlined but have a slightly lighter background " highlight Normal guibg=grey90 highlight Cursor guibg=Red guifg=White highlight IncSearch gui=NONEguibg=Paleturquoise guifg=Black highlight NonText guifg=grey80 highlight Visual gui=NONEguibg=black guifg=yellow highlight Comment gui=NONEguibg=bgguifg=#6920ac highlight Constantgui=NONEguibg=bgguifg=fg highlight String gui=italic guibg=bgguifg=green4 highlight Identifier gui=italic guibg=bgguifg=blue3 highlight Functiongui=boldguibg=bgguifg=red3 highlight Statement gui=boldguibg=bgguifg=blue3 highlight PreProc gui=boldguibg=bgguifg=maroon4 highlight Macro gui=italic guibg=bgguifg=blue3 highlight Typegui=NONEguibg=bgguifg=cyan4 highlight Special gui=NONEguibg=grey95 As for the definitions as to how the names ("Cursor", "Comment", etc.pp.) are used, again, have a look at syntax.vim and the other files in /vim/syntax. HTH, Thomas -- - Thomas Ribbrockhttp://www.bigfoot.com/~kaytanICQ#: 15839919 "You have to live on the edge of reality - to make your dreams come true!"
Re: building 0.97i on Solaris 2.6
Lars -- ...and then Lars Hecking said... % David Thorburn-Gundlach writes: % > Hi, folks -- % > % > I'm trying ot build 0.97i on my Solaris 2.6 box. I found that I had % % I assume you mean 0.95.7? Oh; oops, yep :-) % % > to go and get ncurses, so I did that. Now make reports a problem with % > getopts: % % Is HAVE_GETOPT_H defined in config.h? The code in main.c ll. 36+ reads: It was, in fact. % % #ifdef HAVE_GETOPT_H % #include % #endif % % Meaning that is only included if configure found it and defined % HAVE_GETOPT_H. How can configure find a file that is not there? The % answer is most likely in config.log. Hmmm... I didn't see anything that mentioned it, but I could have missed it... Anyway, I tried that old faithful of methods (blow everything away, re-extract the source, and reconfigure) and it worked the second time around -- go figure. I can now make an IMAP connection to the Evil Exchange server, so I can get off of my PC for good! Now to figure out how to get urlview to work so that I can catch up on my daily comic strip emails, which have been piling up thanks to other problems with LookOut! at the office... % % > What am I missing here? Isn't getopts standard, even on Solaris? I % > checked my man pages, and I have /usr/bin/getopts and the library call % > getopt(); could I really need getopts() instead? % % You are confusing different things here: % % - the getopts(1) utility, which has no relevance whatsoever for mutt % - the getopt(3c) library function, which is available under Solaris I figured that they were different, but don't know from libraries and so don't know :-) Sorry for the false alarm! :-D -- David Thorburn-Gundlach * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] Helping out at Pfizer http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! "Why2k? Well, I didn't think at the time that I could charge any more!" Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh* PGP signature
Re: bounce and delivered-to line
At 03:07 PM 8/20/99 +0200, Vincent Lefevre wrote: >On Fri, Aug 20, 1999 at 04:40:40 +0300, Mikko Hänninen wrote: [snip] >> Maybe a quick hack would be best here, like writing a script that >> would first remove the Delivered-To header and then remail it >> manually (eg. "grep -v ^Delivered-To:" piped to qmail-inject with > >Well, grep isn't OK, as a Delivered-To: line may also appear in the body, >and it must not be removed. When grep isn't quite good enough, consider awk. In this case, you could filter with, for example: awk 'x{print;next} /^Delivered-To:/{next} /^$/{x=1} {print}' If you need to worry about continued header lines (it doesn't seem likely that Delivered-To: would get that long though), then formail is probably the way to go. Cheers, Stan
Re: Colouring of email addresses in headers
[Sorry for breaking the thread - I'm replying via the web archives as I've not received any mutt-users mail for 12 hours or so.] Sven Guckes wrote: > * Alisdair McDiarmid ([EMAIL PROTECTED]) [990820 13:40]: > > I use vim and mutt together (as it should be :) and I'm trying > > to configure them to both have the same syntax colouring > > display. [...] > > > > color header brightblue black [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ > > > > in my muttrc file, the whole header line is coloured blue, > > when all I want coloured is the email address. > > Mutt's "color header" colorizes complete lines only. :-/ Isn't this bogus behaviour? Is there some reason for this to be this way? Has anyone got a patch to work around it, or should I try to do so myself? -- alisdair mcdiarmid[EMAIL PROTECTED] [monkey say what monkey do rather be dead than cool]
Re: lbdb
On Sat, Aug 21, 1999 at 12:17:35PM -0700, David Ellement wrote: > On 990110, at 23:55:54, Roland Rosenfeld wrote: > > I took over maintenance of [the lbdb] utility and you will find it at > > http://luv.rhein.de/~roland/debian/#lbdb now (Source and Debian > > binary). Actual version is 0.12. What is the latest version? I have 0.17.1 > Has anyone built lbdb for HP-UX? I've been trying to build version > 0.16, and have encountered a number of configuration problems (no > getopt.h, shell keywords, awk path, ...) > -- > David Ellement Cheers, Brian. -- Associate Professor Brian Salter-Duke (Brian Duke) Chemistry, Faculty of Science, IT and Education, Northern Territory University, Darwin, NT 0909, Australia. Phone 08-89466702. Fax 08-89466847 [EMAIL PROTECTED] http://www.smps.ntu.edu.au/school/compchem.html