vim a great editor (Was: Re: character limit)

2001-01-29 Thread Jan Johansson

On Mon, Jan 29, 2001 at 12:52:29AM -0800, [EMAIL PROTECTED] wrote:
 You could also create a simple wrapper around vim which uses a different
 init file (eg. ~/.vimrc-text) to specify these options.  I use vim for
 other stuff (editing code  whatnot) and want different for the default
 ...
 

As I understand it vim can detect the type of text you are
writing (like it does for syntax highlight) and choose options
after that.




What would be really *really* nice......

2001-01-29 Thread jmd

... is a little teensy clock on the top right of the screen. Alright, so 
I know it's not exactly an essential feature, but it would elevate mutt from
being simply the best mail client available to a creature of pure energy destined
to become the supreme overlord of the universe :)

John




Re: [OT] w3m Configuration Problem

2001-01-29 Thread Kai Blin

* "John P. Verel" [EMAIL PROTECTED] [28/01/01, 13:24:37]:

 Well, I wimped out and got the w3m-0.1.11-0.1mdk rpm and re-installed.
 All's well.  FWIW, my first reaction is that w3m is way better that
 lynx.  For example, compare the www.nytimes.com under each.  Not even
 close!

There's not much that's (visually) worse than lynx as a web browser/pager.
:)

Links is nice, too. I'll have to compare theese programs.

Kai


-- 
Kai Blin Webmasterof  http://www.uni-tuebingen.de/uni/thm/molgen/
Univ. of Tuebingen  Inst. of   Human   Genetics  fon +49-7071-2974890
Wilhelmstrasse 27   Dept. of Molecular Genetics  fax +49-7071-295233
D-72074 Tuebingen   Do molecular biologists wear designer genes?



Re: mutt reading a maildir (qmail ~/Maildir)

2001-01-29 Thread Marcelo Martinelli

On Thu, Jan 25, 2001 at 03:39:00PM -0500, Jeffrey A Schoolcraft wrote:
 I'm trying to test my qmail install and I've set it up to deliver mail to
 ~/Maildir/ and I'd like to use mutt to read this, how can I do that?
 
 I'm looking through the muttrc files on the site and I see stuff like:
 set mbox_style=Maildir
 set folder=~/Maildir
 but then what?

don't forget to supply the trailing "/". so the folder line should
look like this:
set folder=~/Maildir/


 Jeffrey Schoolcraft
 

also, did you create the Maildir directory with the maildirmake
command? if you didn't none of this will work. the command is located
at the /var/qmail/bin/ directory if you installed qmail at the
/var/. you should do something like: 

$ /var/qmail/bin/maildirmake ~/Maildir/

it should work after this.

marcelo martinelli.



Re: What would be really *really* nice......

2001-01-29 Thread mike polniak

[EMAIL PROTECTED] wrote:
 ... is a little teensy clock on the top right of the screen. Alright, so 
 I know it's not exactly an essential feature, but it would elevate mutt from
 being simply the best mail client available to a creature of pure energy destined
 to become the supreme overlord of the universe :)

You can add to:  set pager_format="%!%T". This will show current
local time in your pager status line. 

--

~~~



Re: character limit

2001-01-29 Thread Tom Nott

On Sun, Jan 28, 2001 at 11:58:29AM -0500, Ethan wrote:
 i really love mutt, but fellow netscape users complain that my line length is too
 long.  How can I make it so it wraps after 72 characters?

Does Mutt support RFC2646 flowed text?

With Format=Flowed text, Mutt should automatically reformat the lines so
that they are shorter than 80 chars (72 chars is suggested in the RFC)
when the mail is sent. 

If Mutt doesn't currently support flowed text, could I request it as a
feature for a future version?

Format=Flowed really comes into its own when displaying quoted text. If
your message was sent flowed, people on 80 char terminals would not see
the word "too" as being unquoted above. The nice thing is that people on
40 or 120 column terminals would also see the text as being perfectly
quoted, as the quoted text would be wrapped automatically to fit the
width of the terminal with extra '' characters sprinkled in as needed.

Short answer: use vim with set tw=72 and type 'gqip' whenever things get
a littly unweildy.

-- 
Tom

Just say it sometime - walking down the street, or when life's got you down.
Just whisper to yourself "Harmonic Simultaneous 4-day Time Cube."
-- El Bruc, http://www.darwinawards.com/ubb/Forum8/HTML/000797.html



Re: What would be really *really* nice......

2001-01-29 Thread John M Dow

On Mon, Jan 29, 2001 at 09:42:35AM -0500, mike polniak a ecrit: 
 [EMAIL PROTECTED] wrote:
  ... is a little teensy clock on the top right of the screen. Alright, so 
   
   You can add to:  set pager_format="%!%T". This will show current
 local time in your pager status line. 

HOMER
M mutt.

is there anything it can't do?
/HOMER

-- 
John M Dow [EMAIL PROTECTED]
"You shouldn't mix meditation with management - the mind gets too empty"
Scott Adams



Re: character limit

2001-01-29 Thread Suresh Ramasubramanian

On Tue, Jan 30, 2001 at 01:38:28AM +1100, Tom Nott typed:

 Does Mutt support RFC2646 flowed text?
 With Format=Flowed text, Mutt should automatically reformat the lines so
 that they are shorter than 80 chars (72 chars is suggested in the RFC)
 when the mail is sent. 
 
 A very good idea - and very few clients around which support it (Eudora and
 Hotmail's webmail interface are the only two in common use, IIRC).  It's a
 great thing to use (and doesnt break on mailers which dont support
 format=flowed, as it uses a kludge - space, cr, space I think - to simulate
 line breaks on non-flowed-using MUAs)
 
--suresh

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin  



score and ~b

2001-01-29 Thread Dan Boger

Doh!  Finally got around to set some score rules (I want to see when
someone's referencing my website on a high volium list) - but mutt says
"~b isn't supported in this mode" for the following command?

  score "~b peeron.com" 500

am I missing something?

-- 
Dan Boger / [EMAIL PROTECTED] / www.peeron.com / ICQ: 1130750
set:3722_1:  Treasure Tomb (LEGO/SYSTEM/Adventurers/Egypt), '98, 161 pcs, 3 figs



Re: character limit

2001-01-29 Thread Akkana

 On Tue, Jan 30, 2001 at 01:38:28AM +1100, Tom Nott typed:
  Does Mutt support RFC2646 flowed text?

Suresh Ramasubramanian writes:
  A very good idea - and very few clients around which support it (Eudora and
  Hotmail's webmail interface are the only two in common use, IIRC). 

Mozilla mail also supports flowed mail, and sends it by default
(though Mozilla may not yet qualify as "in common use").

...Akkana



Re: vim a great editor (Was: Re: character limit)

2001-01-29 Thread ed

On Mon, Jan 29, 2001 at 10:33:36AM +0100, Jan Johansson wrote:
[snip]
 As I understand it vim can detect the type of text you are
 writing (like it does for syntax highlight) and choose options
 after that.

Yes, you could -- file type detection works either by filename extension
or, if that fails, by examining the first line or the first few lines in
the text.  I use that feature for source code editing ...

To use it for email ... you could edit $VIMRUNTIME/scripts.vim so it'd
detect that you were editing a mail message based on the initial line,
if you've got mutt configured correctly (the first line in the message
which I'm editing right now is the From: line which my message will
contain -- you could detect that or the equiv).

But that seems like more indirection than is useful...

cheers --

Ed



Re: What would be really *really* nice......

2001-01-29 Thread Richard B Mahoney

Dear Mike,

On Mon, Jan 29, 2001 at 09:42:35AM -0500, mike polniak wrote:
   
 You can add to:  set pager_format="%!%T". This will show current
 local time in your pager status line. 
 

And as you probably know this is only the beginning! For sundry
variations on this theme see:

 `man strftime' - format date and time


Many regards,

 Richard Mahoney


-- 
 Richard Mahoney -
78 Jeffreys Rd  +64-3-351-5831
Christchurch   New Zealand
--- mailto:[EMAIL PROTECTED] 



Re: vim a great editor (Was: Re: character limit)

2001-01-29 Thread Gary Johnson

On Mon, Jan 29, 2001 at 12:13:09PM -0800, [EMAIL PROTECTED] wrote:

 Yes, you could -- file type detection works either by filename extension
 or, if that fails, by examining the first line or the first few lines in
 the text.  I use that feature for source code editing ...
...
 But that seems like more indirection than is useful...

I just use this in my ~/.vimrc instead of relying on vim's file type
detection (mainly because I didn't understand file type detection and I
knew how to do this):

au BufNewFile,BufRead,BufEnter /tmp/mutt-*  set expandtab

(I have tw=72 set elsewhere.)

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | RF Communications Product Generation Unit
 | Spokane, Washington, USA



Re: What would be really *really* nice......

2001-01-29 Thread mike polniak

Richard B Mahoney wrote:
 Dear Mike,
 
 On Mon, Jan 29, 2001 at 09:42:35AM -0500, mike polniak wrote:
  
  You can add to:  set pager_format="%!%T". This will show current
  local time in your pager status line. 
  
 
 And as you probably know this is only the beginning! For sundry
 variations on this theme see:
 
  `man strftime' - format date and time

Yes its fun playing with this stuff. In my pager 'status' line i
like to see %[fmt] ,the date and time of the message converted to local time
right next to %fmt, the current local time.
Thats why i like Mutt so much, its endlessly tweakable.
-- 

~~~



Line endings in encrypted messages

2001-01-29 Thread Brian Galbraith

Hi folks

When I receive encrypted messages from two friends who use the Becky!
mailer...all the line breaks are denoted by the symbols ^M.
When I reply to or make a decrypted copy to a mail folder these 
symbols disappear.
Can anyone shed any light on this behaviour.

Regards

Brian


-- 
Brian Galbraith [ Mutt 1.3.14i]| GnuPG 1.0.4d | SuSE Linux 7.0 ]
Encrypted Mail Preferred   NEW KEY from 7thJan 2001
http://seattle.keyserver.net:11371/pks/lookup?op=getsearch=0x98A102F3
Hushmail Secure Webmail:  [EMAIL PROTECTED]



Re: Line endings in encrypted messages

2001-01-29 Thread Christian Bell

Hi Brian,


On Mon, 29 Jan 2001, Brian Galbraith wrote:

 Hi folks
 
 When I receive encrypted messages from two friends who use the Becky!
 mailer...all the line breaks are denoted by the symbols ^M.
 When I reply to or make a decrypted copy to a mail folder these 
 symbols disappear.
 Can anyone shed any light on this behaviour.

I'm unaware of what Becky is but it's most probably a windows mailer.
Windows/dos uses a CRLF end-of-line convention while unix settles for LF.
Becky is probably encrypting your mail to a file and inserting it back to
the mailer. . upon reception on your unix mail reader/editor. . CR's appear
as ^M.

Removing them would have to use some filtering through dos2unix/sed/
perl. Ie:

perl -e 's/\015$//'

//chris

-- 
|Christian Bell
|  `finger -l c_bell@
|BSD, C, perl, crypto, security.irs.ece.concordia.ca` 
|Key fingerprint = FD52 A9E2 D9ED BE5E 1FE8  FB70 5B06 81BD BE0F 1621

"science is like sex: sometimes something useful comes out, but that is not the reason 
we are doing it"
 --richard feynman 



Re: [OT] w3m Configuration Problem

2001-01-29 Thread John P. Verel

On 01/29/01, 01:36:10PM +0100, Kai Blin wrote:
 
 There's not much that's (visually) worse than lynx as a web browser/pager.
 :)
 
 Links is nice, too. I'll have to compare theese programs.
 
 Kai
 
I must say I like what I'm seeing with w3m.

For the benefit of the list, with thanks to Gary Johnson, here's a
mailcap entry that allows one to print an html page, viewed with w3m as
a pager in Mutt:

text/html; w3m -T text/html -dump %s; copiousoutput; print= w3m -T text/html -dump %s 
| enscript

With this in one's mailcap, pressing 'p' while in the w3m pager will
pipe a nicely formatted page to enscript.  Thanks, Gary, for the help on
this.
-- 
John P. Verel
Norwalk, CT