Re: Charset 8859-1 ou 8859-15

2002-10-19 Thread Sbastien MICHEL

Et bien voila !!! il suffit que je m'enerve un peu pour trouver le
probleme... ¤¤¤ ça marche !! ;)
J'avais tout simplement laissé mon putty en latin1...

Le Saturday 19 October 2002 à 09:23, Sébastien MICHEL a écrit:
 
 Moi je ne comprend po... car chez moi (je ne suis pas root) j'ai tout bien
 mis (LANG=fr_Freuro dans mon bashrc, set charset=iso-8859-15 set
 send_charset=iso-8859-15 set locale=fr_FReuro dans mon muttrc et je ne peux
 toujours po faire de signe Euro :/ (Alt-gr+e=.))
 pourtant voici le resultat de locale:
 LANG=fr_FReuro
 LC_CTYPE=fr_FReuro
 LC_NUMERIC=fr_FReuro
 LC_TIME=fr_FReuro
 LC_COLLATE=fr_FReuro
 LC_MONETARY=fr_FReuro
 LC_MESSAGES=fr_FReuro
 LC_PAPER=fr_FReuro
 LC_NAME=fr_FReuro
 LC_ADDRESS=fr_FReuro
 LC_TELEPHONE=fr_FReuro
 LC_MEASUREMENT=fr_FReuro
 LC_IDENTIFICATION=fr_FReuro
 LC_ALL=
 et le cat de /etc/locale.gen
 fr_FReuro ISO-8859-15
 
 j'ai oublié koi ?
 
 Le Saturday 19 October 2002 à 00:34, Cedric Duval a écrit:
  'soir,
  
   Content-Type: text/plain; charset=iso-8859-1
  
  ...
  
  J'ai la ligne suivante dans mon muttrc :
  
set send_charset=us-ascii:iso-8859-1:iso-8859-15:utf-8
  
  Très bien.
  
  (xterm en iso-8859-15, LANG=fr_FReuro ou similaire, etc. ?)
  
* Mais si je tape un euro (« ? »), ça ne fonctionne pas pour la bonne
et simple raison que ce caractère 8bit existe aussi en 8859-1.
  
  [...]
  
  Est-ce que ça a un sens d'écrire plusieurs iso-8859-* dans la
variable charset ?
  
  Pour $send_charset, oui. Pour $charset, non.
  
  Mais justement, que vaut ton $charset ?
  
  Avec set charset=iso-8859-15, Ici Ça Marche (TM).
  
  Enfin, mes destinataires seront-ils plus gênés par du 8859-15 que par
du 8859-1 ?
  
  Étant donné que les deux jeux coïncident exactement à part 3 caractères,
  il n'y aura qu'une gène minime. À part évidemment si tu fais un usage
  intensif des euros et cie.
  Mais globalement, le latin1 est toujours plus répandu que le latin9.
  Pour l'instant...
  
  -- 
  Cédric, toujours en latin1 pour cause d'absence de bonnes polices en
  latin9
 
 -- 
 +, MichouX
  Unix is user friendly. He's just very picky about who his 
 friends are...

-- 
+, MichouX 
l'exterieur c'est dehors !



Viewing HTML difficulties in mutt 1.4

2002-10-19 Thread Mike Leone
Hello. I seem to not be understanding something about viewing HTML email in
mut.

I have these entries in my muttrc:

  set mailcap_path  = ~/.mutt/.mailcap:/etc/mailcap
  alternative_order text/plain  # Show plaintext rather than HTML

And my ~/.mutt/.mailcap has:

text/html; w3m -v -cookie -F -T text/html %s; copiousoutput

Which properly shows me the HTML email (using urlview), but doesn't allow me
to click on any of the links (which I sometimes want/need to do).

My /etc/urlview/url_handler.sh has this:

http_prgs=/usr/bin/X11/opera:PW /usr/bin/w3m -F -T:XT 

What am I doing wrong, that the links aren't active?

-- 
PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
Member, LEAF Project http://leaf.sourceforge.netAIM: MikeLeone
Public Key - http://www.mike-leone.com/~turgon/turgon-public-key.asc
Registered Linux user# 201348




msg31898/pgp0.pgp
Description: PGP signature


Re: Viewing HTML difficulties in mutt 1.4

2002-10-19 Thread Michael Tatge
Mike Leone ([EMAIL PROTECTED]) muttered:
 Hello. I seem to not be understanding something about viewing HTML email in
 mut.

Hm right. Your mixing things up.

 I have these entries in my muttrc:
 
   set mailcap_path  = ~/.mutt/.mailcap:/etc/mailcap
 
 And my ~/.mutt/.mailcap has:
 
 text/html; w3m -v -cookie -F -T text/html %s; copiousoutput
 
 Which properly shows me the HTML email (using urlview),

No mailcap is used when (v)iewing attachments. It has nothing to do with
urlview.

 but doesn't allow me to click on any of the links (which I sometimes
 want/need to do).

leave out the copiousoutput.
man mailcap

 My /etc/urlview/url_handler.sh has this:
 
 http_prgs=/usr/bin/X11/opera:PW /usr/bin/w3m -F -T:XT 
 
 What am I doing wrong, that the links aren't active?

this handles which programm urlview calls when you select a url and hit
enter. BTW, that should read http_prgs=/usr/bin/X11/opera:XW

HTH,

Michael
-- 
If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system.
(By Linus Torvalds)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: Viewing HTML difficulties in mutt 1.4

2002-10-19 Thread Michael Tatge
Forgot my setup :)

alternative_order text/plain text/enriched text/html
auto_view text/html
set mailcap_path=/etc/mailcap:/usr/local/etc/mailcap

/usr/local/etc/mailcap:
# this is used when (v)iewing the html - browsable links
text/html; w3m -v -F -T text/html %s

# this is the auto_view entry - dumps html to plain text
text/html; lynx -dump -force_html %s; copiousoutput; needsterminal


HTH,

Michael
-- 
linux: because a PC is a terrible thing to waste
([EMAIL PROTECTED] put this on Tshirts in '93)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



source /etc/mutt/indexhooks.pl| documentation bug.

2002-10-19 Thread Greg Matheson
I have this perl program to write folder hooks so I can return to
the same place in the mailboxes screen from the index screen,
instead of always to the first line:

#!/usr/bin/perl

use strict;

my mailboxes = glob(Mail/*);

foreach my $mailbox ( mailboxes )
{
$mailbox =~ s/^ Mail\/ (.*)$/=$1/x;
print qq{folder-hook $mailbox 'macro index h 
change-folder?tabsearch$mailboxenter'\n};
}

I source it in /etc/Muttrc with this line:

source /etc/mutt/indexhooks.pl|/

to put output into Muttrc, following the direction in the manual,

If the filename ends with a vertical bar (|), then filename is
considered to be an executable program from which to read input (eg.
source ~bin/myscript|/).


but I was getting this error:

Error in /etc/Muttrc, line 709: /etc/mutt/indexhooks.pl|/: 
No such file or directory
source: errors in /etc/Muttrc
Press any key to continue...

I then took off the final slash, and it started working. So, I
think this is a documentation bug.

However, this is on cygwin, so perhaps it is an idiosyncracy
of cygwin, rather than a documentation bug.




Re: source /etc/mutt/indexhooks.pl| documentation bug.

2002-10-19 Thread Bernard Massot
On Sat, Oct 19, 2002 at 10:17:26PM +0800, Greg Matheson wrote:
 I source it in /etc/Muttrc with this line:
 
   source /etc/mutt/indexhooks.pl|/
 
 to put output into Muttrc, following the direction in the manual,
 
   If the filename ends with a vertical bar (|), then filename is
   considered to be an executable program from which to read input (eg.
   source ~bin/myscript|/).
 
 
 but I was getting this error:
 
   Error in /etc/Muttrc, line 709: /etc/mutt/indexhooks.pl|/: 
   No such file or directory
   source: errors in /etc/Muttrc
   Press any key to continue...
 
 I then took off the final slash, and it started working. So, I
 think this is a documentation bug.
 
 However, this is on cygwin, so perhaps it is an idiosyncracy
 of cygwin, rather than a documentation bug.
 
I'm using GNU/Linux and have the same problem. This is a true
documentation bug.
-- 
Bernard Massot



msg31902/pgp0.pgp
Description: PGP signature


mutt sucks...

2002-10-19 Thread Jacek Wojaczynski
All mail clients suck. This one just sucks less. :-)

I'm new to the list and wanted to say Hi! to everybody.

I'm also new to mutt, vim and even Linux.
Previously I used to handle all my mail under Windows.
The program of my choice was The Bat! - IMHO the best mail client
for Windows. OK. Enough. It's The Mutt Users List.

I've read some tutorials. I installed mutt, vim and procmail
(because mutt does not filter incoming mail).

So far this trio works fine, but it still needs some improvements.
I have a few questions:

1. Displaying of X-Headers.
My favourite newsreader is slrn. I could define there sth like this:

Show the following headers (visible headers):
From: 
Date:
X-

Headers to hide:

!X-Mime
!X-MSMail
!X-Priority
!X-Complaints

So I could see all important to me X-headers and hide those stupid
ones...

Possible in mutt?

2. While scrolling the message with Spacebar it scrolls one line too
much. Can it be changed? I like to see the last line of the previous
page (hope you know what I mean).

3. In The Bat! I had a filter which colored all replies to my mails.
It based on References: header and my unique Message-ID.
Possible in mutt?

4. Folders - it really sucks! I even cannot see how many read/unread
messages there are in a particular folder if I don't enter it...

5. Using up/down arrows I scroll through messages (index view).
Why it skips whole page? I'd like it to work same as in slrn.

6. What's the default shortcut for Mark all tagged messages as
read?

7. C - copies messages to a different folder. What key moves them?

8. Can I import my Address Book from The Bat!?

9. Au! There is no address book built in. What would you suggest?
Abook or sth else?

10. I still do not understand this Tab completion thing - it seems
that sometimes it simply DOES NOT work as expected.

11. What's the newest version of mutt? Is there a lot of problems
using beta versions? (when I used TB! it was almost always the
newest beta).

12. How do I create multiple identities? Different from, attribute
line and language settings for different mailing lists.
Possible? How? Folder-hooks or only send-hooks?

13. How can I move old mail to a different folders? Automatically of
course. For example for this list? How?

14. Can I send within mutt mail to all users on my system?

vim related problems:

15. It's very very tiring manually stripping those signatures and
manually adding   signs when reformatting a paragraph.
In TB! it was automatic...

16. I have ispell installed. It works fine. I can switch between
english and polish dictionaries. Is it possible to automatically set
proper dictionary? I mean: English for english language mailing
lists and polish for polish language lists?

17. When spellchecker underlines a word - can I add it to the user
dictionary? How? I'm having only console - so no mouse right click.

18. Why ispell spells too much? It even tries to spell quoted text
or header lines. It's stupid. Can I change it?

Well... I'm pretty sure I have more questions, but I can't remember
all of them now.

regards,

-- 
kocurek



Re: mutt sucks...

2002-10-19 Thread Ralf Hildebrandt
On Sat, Oct 19, 2002 at 09:29:37PM +0200, Jacek Wojaczynski wrote:

 Headers to hide:
 
 !X-Mime
 !X-MSMail
 !X-Priority
 !X-Complaints
 
 So I could see all important to me X-headers and hide those stupid
 ones...
 
 Possible in mutt?

Of course, and even better:

ignore *
unignore date from to cc subject x-mailer resent-from reply-to X-Spam-Status

 2. While scrolling the message with Spacebar it scrolls one line too
 much. Can it be changed? I like to see the last line of the previous
 page (hope you know what I mean).

Yes.
set pager_context = 1

 3. In The Bat! I had a filter which colored all replies to my mails.
 It based on References: header and my unique Message-ID.
 Possible in mutt?

Dunno. Probably.

 9. Au! There is no address book built in. What would you suggest?
 Abook or sth else?

There's one built in.

 10. I still do not understand this Tab completion thing - it seems
 that sometimes it simply DOES NOT work as expected.

Works here.

 11. What's the newest version of mutt? Is there a lot of problems
 using beta versions? (when I used TB! it was almost always the
 newest beta).

1.4 is the release, 1.5.x is beta.

 12. How do I create multiple identities? Different from, attribute
 line and language settings for different mailing lists.
 Possible? How? Folder-hooks or only send-hooks?

Use send-hooks.

 14. Can I send within mutt mail to all users on my system?

Of course. I even can send mail to the internet.

 15. It's very very tiring manually stripping those signatures and
 manually adding   signs when reformatting a paragraph.
 In TB! it was automatic...

vim specific. There are macros for everything.

-- 
Ralf Hildebrandt (Im Auftrag des Referat V a)   [EMAIL PROTECTED]
Charite Campus MitteTel.  +49 (0)30-450 570-155
Referat V a - Kommunikationsnetze - Fax.  +49 (0)30-450 570-916
I fit in my suit, my suit fits in my suitcase.
Hence i fit in my suitcase.  




Re: mutt sucks...

2002-10-19 Thread Colin Keefe
* Jacek Wojaczynski [EMAIL PROTECTED] [2002-10-19 21:29:37 +0200]:

 All mail clients suck. This one just sucks less. :-)
 
 I'm new to the list and wanted to say Hi! to everybody.
 
Me too.  Imagine my consternation when the *first* message I see says
Mutt sucks.
 
 1. Displaying of X-Headers.
 My favourite newsreader is slrn. I could define there sth like this:
 
 Show the following headers (visible headers):
 From: 
 Date:
 X-
 
 Headers to hide:
 
 !X-Mime
 !X-MSMail
 !X-Priority
 !X-Complaints
 
 So I could see all important to me X-headers and hide those stupid
 ones...
 
 Possible in mutt?

Try this in your .muttrc

# Configure header displays.

# Ignore all headers
ignore *

# Then un-ignore the ones I want to see
unignore From:
unignore Date:

# Now order the visable header lines
hdr_order From: Date:

This was lifted from Dave Pearson's site http://www.davep.org/ and modified.

 regards,
 kocurek
Unfortunately, this was the only question I had an answer for 8-(,
however there are lots of good examples in the .muttrc files at
http://www.mutt.org/links.html#config
  Colin

-- 
Colin KeefeWe never do anything well till we cease
[EMAIL PROTECTED] to think about the manner of doing it.
  -William Hazlitt



Re: mutt sucks...

2002-10-19 Thread Lars Heiermann
* Jacek Wojaczynski:

 3. In The Bat! I had a filter which colored all replies to my mails.
 It based on References: header and my unique Message-ID.
 Possible in mutt?

you can use patterns for 'color index', refer to man muttrc for details
on that.
 
 7. C - copies messages to a different folder. What key moves them?

saving the message to a different folder will mark it as deleted in the
originating folder.
 
 9. Au! There is no address book built in. What would you suggest?
 Abook or sth else?

abook or if you need to work with different datasources (ldap etc) maybe
lbdb.

Regards,

Lars
-- 
Lars Heiermann
Team ['ju:nien]   ||  http://www.junien.org
Team LANparty.de  ||  http://www.LANparty.de 



Re: mutt sucks...

2002-10-19 Thread Vincent Lefevre
On Sat, Oct 19, 2002 at 23:02:15 +0200, Ralf Hildebrandt wrote:
 On Sat, Oct 19, 2002 at 09:29:37PM +0200, Jacek Wojaczynski wrote:
  3. In The Bat! I had a filter which colored all replies to my mails.
  It based on References: header and my unique Message-ID.
  Possible in mutt?
 
 Dunno. Probably.

Yes, if you can find a pattern in the message-id, which can generally
be the case, except when you send mail with some utilities that build
the message-id in some way or when you send mail from a friend's
machine for instance.

  11. What's the newest version of mutt? Is there a lot of problems
  using beta versions? (when I used TB! it was almost always the
  newest beta).
 
 1.4 is the release, 1.5.x is beta.

and I've always been using betas, no problems with them. But you cannot
know if some day, there won't be one that would be seriously broken.

  12. How do I create multiple identities? Different from, attribute
  line and language settings for different mailing lists.
  Possible? How? Folder-hooks or only send-hooks?
 
 Use send-hooks.

and the $alternates variable to recognize all your addresses.

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Re: mutt sucks...

2002-10-19 Thread -dsr-

Jacek Wojaczynski wrote:
 4. Folders - it really sucks! I even cannot see how many read/unread
 messages there are in a particular folder if I don't enter it...

Sounds like you haven't listed your mailboxes in .muttrc:

mailboxes !
mailboxes =mutt =procmail-user =linux-kernel =vim-user
mailboxes =list1

 5. Using up/down arrows I scroll through messages (index view).
 Why it skips whole page? I'd like it to work same as in slrn.

Read the manual, assign a new keybinding.

 6. What's the default shortcut for Mark all tagged messages as
 read?

The manual is here: http://www.mutt.org/doc/manual/

You are looking for tag and patterns.

 7. C - copies messages to a different folder. What key moves them?

saving them does that.

 8. Can I import my Address Book from The Bat!?

Probably. Can the Bat export them in a useful format?

 9. Au! There is no address book built in. What would you suggest?
 Abook or sth else?

There is, you didn't read the manual.

 10. I still do not understand this Tab completion thing - it seems
 that sometimes it simply DOES NOT work as expected.

Does it behave the way the manual expects it to behave? If not, file a
bug.

 11. What's the newest version of mutt? Is there a lot of problems
 using beta versions? (when I used TB! it was almost always the
 newest beta).

These are at the top of the www.mutt.org page. In general, don't use
a development release unless you need a feature in it or are doing
development work.

 12. How do I create multiple identities? Different from, attribute
 line and language settings for different mailing lists.
 Possible? How? Folder-hooks or only send-hooks?

Have you looked at the sample .muttrc's provided at
http://www.mutt.org/links.html#config ?

 13. How can I move old mail to a different folders? Automatically of
 course. For example for this list? How?

Depends. Do you want shiny clean folders with nothing in them except
fresh email that you've never seen? Do you want folders with relatively
recent email, so that anything over n days/weeks/months old is archived?
Think about folder-hooks, and read those sample .muttrc files.

 14. Can I send within mutt mail to all users on my system?

Sure. If you have an alias established by your MTA or in mutt, this
becomes easier.

 vim related problems:

Really ought to go to the vim lists. For example:

[EMAIL PROTECTED] ([EMAIL PROTECTED],  [EMAIL PROTECTED], archive at
http://groups.yahoo.com/group/vim)

 15. It's very very tiring manually stripping those signatures and
 manually adding   signs when reformatting a paragraph.
 In TB! it was automatic...

If you need to reformat a paragraph, use fmt or par, or learn regexps.

 16. I have ispell installed. It works fine. I can switch between
 english and polish dictionaries. Is it possible to automatically set
 proper dictionary? I mean: English for english language mailing
 lists and polish for polish language lists?

I don't use spellcheckers; however, I imagine that you would read the
ispell docs to find out how to switch dictionaries according to a
command line or environment variable, and set that in a folder-hook.

 17. When spellchecker underlines a word - can I add it to the user
 dictionary? How? I'm having only console - so no mouse right click.

ispell documentation almost certainly has this.

 18. Why ispell spells too much? It even tries to spell quoted text
 or header lines. It's stupid. Can I change it?

Yes. It's open source.

-dsr-

-- 
Lois McMaster Bujold and Terrance Dicks's _Dr Who: Miles Away!_, in
which the heroic Time Lord's attempts to overthrow an oppressive star
empire are repeatedly thwarted by an infuriating dwarf.
--Graham Woodland 



Re: mutt sucks...

2002-10-19 Thread Gregor Zattler
Hi Jacek,
* Jacek Wojaczynski [EMAIL PROTECTED] [19. Okt. 2002]:
[...]
 3. In The Bat! I had a filter which colored all replies to my mails.
 It based on References: header and my unique Message-ID.
 Possible in mutt?

color index default color7 '~h 
^references:[[:blank:]].*pit.id-43118.user.dfncis.de$'
 ^^^
this colors all messages which are direct replies to mine.
pit.id-43118.user.dfncis.de is the local part of my
message-ids. 

 4. Folders - it really sucks! I even cannot see how many read/unread
 messages there are in a particular folder if I don't enter it...

notwendig way...
 
 5. Using up/down arrows I scroll through messages (index view).
 Why it skips whole page? I'd like it to work same as in slrn.

try set menu_scroll=yes in .muttrc.

 6. What's the default shortcut for Mark all tagged messages as
 read?

when the messages are already tagged, it's thre key strokes:
;wo

or you write a macro.

 7. C - copies messages to a different folder. What key moves them?

s


 9. Au! There is no address book built in. What would you suggest?
 Abook or sth else?

lbdb is great.
 

 12. How do I create multiple identities? Different from, attribute
 line and language settings for different mailing lists.
 Possible? How? Folder-hooks or only send-hooks?

read http://www.acoustics.hut.fi/~mara/mutt/profiles.html

 
 13. How can I move old mail to a different folders? Automatically of
 course. For example for this list? How?

you could rewrite the following:

## Move messages to trash rather than delete, unless
## we're in the trash folder.
folder-hook .   'macro index d enter-commandset 
confirmappend=noentersave-message=trashenterenter-commandset 
confirmappend=yesenter'
folder-hook .   'macro pager d enter-commandset 
confirmappend=noentersave-message=trashenterenter-commandset 
confirmappend=yesenter'
folder-hook trash   'macro index d delete-message'
folder-hook trash   'macro pager d delete-message'
## Delete old, non-flagged, non-new mail
folder-hook trash   'push delete-pattern~r10d!(~F|~N)enter'



Ciao, Gregor
-- 
The future is here. It's just not widely distributed yet.
-- William Gibson



Re: mutt sucks...

2002-10-19 Thread Markus Hubig
On Sat, 19 Oct 2002, Ralf Hildebrandt wrote:

 On Sat, Oct 19, 2002 at 09:29:37PM +0200, Jacek Wojaczynski
 wrote:

  3. In The Bat! I had a filter which colored all replies to
  my mails.  It based on References: header and my unique
  Message-ID.  Possible in mutt?

 Dunno. Probably.

I use this to color my eMails and the replies on them in known
MLs:

| # my mails
| color index brightblue  default ~l ~P 
| 
| # answers to my mails
| color index cyandefault \
|   ~l ~x \.*(mypc.mydomain.de|mypc2.mydomain2.de)\
| color index brightred   brightcyan  \
|   ~N ~l ~x \.*(mypc.mydomain.de|mypc2.mydomain2.de)\

For infos about the ~ patterns look at 'man muttrc'

  9. Au! There is no address book built in. What would you ?
  suggest Abook or sth else?

 There's one built in.

| http://www.spinnaker.de/lbdb/

  12. How do I create multiple identities? Different from,
  attribute line and language settings for different mailing
  lists.  Possible? How? Folder-hooks or only send-hooks?

| http://www.acoustics.hut.fi/%7Emara/mutt/profiles.html

  15. It's very very tiring manually stripping those
  signatures and manually adding   signs when
  reformatting a paragraph.  In TB! it was automatic...

 vim specific. There are macros for everything.

| http://www.vim.org/scripts.php

Search for 'mail signature' in the script section. Also try
out the gq macro. O yes, and don't forget to check out par:

| http://www.nicemice.net/par/

Ja allâh bina!
-- 
Raechzschraibraephorm - findichgut. :-)



msg31910/pgp0.pgp
Description: PGP signature