Re: Formatting an email for this list using vi

2004-01-27 Thread Ruben de Groot
On Mon, Nov 17, 2003 at 07:34:54AM -0600, Gary typed:
 Hi Frederick,
 
 --On Monday, November 17, 2003 09:58:00 AM +1100 Frederick Bowes 
 [EMAIL PROTECTED] wrote:
 
 I have just started learning to use vi, and remember someone posting
 something a while ago about how to re-format an email reply to have proper
 60 character width or something like that, does anyone remember how that
 is done?
 
 Well, I use VIM instead of VI, it is an enhanced version
 
 For automatic settings, set up a .vimrc file in your home dir.
 
 Add in:
 
 :set tw=74 (to set your text width)
 
Or in FreeBSD's stock vi incarnation (nvi), you put the line

set wraplen=72

in $HOME/.exrc

Ruben

 Or you can add this in manually on the VI command line after starting it.
 
 
 Now to refomat an email, while preserving the  on previous quoted text, 
 type in ESC gqip
 
 -- 
 Gary
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Formatting an email for this list using vi

2004-01-27 Thread Michael D Hughes
 I use par to format/reformat my emails.

 = Copied from message sent on Tue Jan 27 06:26:32 2004
by Ruben de Groot Subject:Re: Formatting an email for this list using vi.
 
 On Mon, Nov 17, 2003 at 07:34:54AM -0600, Gary typed:
  Hi Frederick,
  
  --On Monday, November 17, 2003 09:58:00 AM +1100 Frederick Bowes 
  [EMAIL PROTECTED] wrote:
  
  I have just started learning to use vi, and remember someone posting
  something a while ago about how to re-format an email reply to have proper
  60 character width or something like that, does anyone remember how that
  is done?
  
  Well, I use VIM instead of VI, it is an enhanced version
  
  For automatic settings, set up a .vimrc file in your home dir.
  
  Add in:
  
  :set tw=74 (to set your text width)
  
 Or in FreeBSD's stock vi incarnation (nvi), you put the line
 
 set wraplen=72
 
 in $HOME/.exrc
 
 Ruben
 
  Or you can add this in manually on the VI command line after starting it.
  
  
  Now to refomat an email, while preserving the  on previous quoted text, 
  type in ESC gqip
  
  -- 
  Gary
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 


-- 
Michael D HughesLoghome living is the best!
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Formatting an email for this list using vi

2004-01-27 Thread Michael D Hughes
 I use par to formatted/reformatted my emails.

 = Copied from message sent on Tue Jan 27 06:26:32 2004
by Ruben de Groot Subject:Re: Formatting an email for this list using vi.
 
 On Mon, Nov 17, 2003 at 07:34:54AM -0600, Gary typed:
  Hi Frederick,
  
  --On Monday, November 17, 2003 09:58:00 AM +1100 Frederick Bowes 
  [EMAIL PROTECTED] wrote:
  
  I have just started learning to use vi, and remember someone posting
  something a while ago about how to re-format an email reply to have proper
  60 character width or something like that, does anyone remember how that
  is done?
  
  Well, I use VIM instead of VI, it is an enhanced version
  
  For automatic settings, set up a .vimrc file in your home dir.
  
  Add in:
  
  :set tw=74 (to set your text width)
  
 Or in FreeBSD's stock vi incarnation (nvi), you put the line
 
 set wraplen=72
 
 in $HOME/.exrc
 
 Ruben
 
  Or you can add this in manually on the VI command line after starting it.
  
  
  Now to refomat an email, while preserving the  on previous quoted text, 
  type in ESC gqip
  
  -- 
  Gary
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 


-- 
Michael D HughesLoghome living is the best!
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Formatting an email for this list using vi

2004-01-27 Thread Gary
Hi Michael,

--On Tuesday, January 27, 2004 06:52:55 AM -0600 Michael D Hughes 
[EMAIL PROTECTED] wrote:

 I use par to format/reformat my emails.

= Copied from message sent on Tue Jan 27 06:26:32 2004
by Ruben de Groot Subject:Re: Formatting an email for this list using
vi.
On Mon, Nov 17, 2003 at 07:34:54AM -0600, Gary typed:
 Hi Frederick,

 --On Monday, November 17, 2003 09:58:00 AM +1100 Frederick Bowes
 [EMAIL PROTECTED] wrote:
Guys, I don't know what's going on here... Yesterday, I received an email 
that I sent to the group on 11/17/03. See above... This was shown on the 
list at that time, and several other comments were made. For some reason, 
the freebsd server decided to send it again yesterday. It also sent me a 
subscription acknowledgment that I sent at the same date, to another 
FreeBSD list. Someone needs to oil the list server ..

--
Gary
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Formatting an email for this list using vi

2004-01-26 Thread Gary
Hi Frederick,

--On Monday, November 17, 2003 09:58:00 AM +1100 Frederick Bowes 
[EMAIL PROTECTED] wrote:

I have just started learning to use vi, and remember someone posting
something a while ago about how to re-format an email reply to have proper
60 character width or something like that, does anyone remember how that
is done?
Well, I use VIM instead of VI, it is an enhanced version

For automatic settings, set up a .vimrc file in your home dir.

Add in:

:set tw=74 (to set your text width)

Or you can add this in manually on the VI command line after starting it.

Now to refomat an email, while preserving the  on previous quoted text, 
type in ESC gqip

--
Gary
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Formatting an email for this list using vi

2003-11-17 Thread Sven Pfeifer
Hi,

Frederick Bowes [EMAIL PROTECTED] wrote:
 Hi,
 
 I have just started learning to use vi, and remember someone posting
 something a while ago about how to re-format an email reply to have proper
 60 character width or something like that, does anyone remember how that
 is done?

I do something like this with the following command:

vi -c 'set tw=68 et' file_you_like_to_edit

It´s integrated into my .muttrc, so i can use vi as editor in mutt
and all lines have 68 charactes in maximum.

 Thanks,
 Fred

HTH

Sven

-- 
Why you can't find your system administrators:
  There's more caffeine than blood in his veins, and he was last seen
  hopping down the hall pretending he was a pogo stick.
--[rand. sig. #12]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Formatting an email for this list using vi

2003-11-17 Thread mike bueide
On Mon, Nov 17, 2003 at 09:58:00AM +1100, Frederick Bowes wrote:
 Hi,
 
 I have just started learning to use vi, and remember someone posting
 something a while ago about how to re-format an email reply to have proper
 60 character width or something like that, does anyone remember how that
 is done?
When you're in the editor:

:set wm=20

will give 60 character wrap.  (ie 80-20 = 60) (Note, I've
done this here in this message and this is the wrap I'm
getting.



-- 
mbueide (at) charter (dot) net .
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Formatting an email for this list using vi

2003-11-17 Thread Julien Gabel
 I have just started learning to use vi, and remember someone posting
 something a while ago about how to re-format an email reply to have
 proper 60 character width or something like that, does anyone remember
 how that is done?

 When you're in the editor:

 :set wm=20

 will give 60 character wrap.  (ie 80-20 = 60) (Note, I've
 done this here in this message and this is the wrap I'm
 getting.

Don't forget to set the columns option to 80 in order to this
tip to work. This option is set to 161 by default on my fresh
5.1-RELEASE installation.
--
-jg.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Formatting an email for this list using vi

2003-11-17 Thread Ruben de Groot
On Mon, Nov 17, 2003 at 04:44:09PM +0100, Julien Gabel typed:
  I have just started learning to use vi, and remember someone posting
  something a while ago about how to re-format an email reply to have
  proper 60 character width or something like that, does anyone remember
  how that is done?
 
  When you're in the editor:
 
  :set wm=20
 
  will give 60 character wrap.  (ie 80-20 = 60) (Note, I've
  done this here in this message and this is the wrap I'm
  getting.
 
 Don't forget to set the columns option to 80 in order to this
 tip to work. This option is set to 161 by default on my fresh
 5.1-RELEASE installation.

I use :set wraplen=72. Works regardless of column width.

Ruben

 --
 -jg.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Formatting an email for this list using vi

2003-11-17 Thread Julien Gabel
 I have just started learning to use vi, and remember someone posting
 something a while ago about how to re-format an email reply to have
 proper 60 character width or something like that, does anyone
 remember how that is done?

 When you're in the editor:

 :set wm=20

 will give 60 character wrap.  (ie 80-20 = 60) (Note, I've
 done this here in this message and this is the wrap I'm
 getting.

 Don't forget to set the columns option to 80 in order to this
 tip to work. This option is set to 161 by default on my fresh
 5.1-RELEASE installation.

Just to correct myself : the columns option is based on the size
of the window when the editor is launched. It not very efficient
to do that this way.

 I use :set wraplen=72. Works regardless of column width.

Yes, this is a better solution :)
--
-jg.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]