🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Ayman Haidar Mon, 15 Mar 1999 00:00
Slrn and VI
#47328
Author: Ayman Haidar
Date: Mon, 15 Mar 1999 00:00
23 lines
1285 bytes
Hello:

I use VI to post through Slrn and I have couple of things:

1. how do I make VI wrap text less than 80, every time I try to
post I have to manually insert carriage returns for lines to make
them less than 80 char wide.

2. VI comes out  in black and white when I try to post, how do I make
it colorize stuff like it does in Mutt.

Thanks for your help


-- 
 -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
|		Ayman Haidar					|
|		haidar@usol.com					|
|		just another Linux and VI lover			|
 -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-


Re: Slrn and VI
#47353
Author: Frederick Page
Date: Tue, 16 Mar 1999 00:00
44 lines
2135 bytes
Hi Ayman,

you wrote on 15 Mar 1999 20:30:29 GMT:

>1. how do I make VI wrap text less than 80

Enter ":set tw=72" in vim and see, what happens. Or put the line
into ~/.vimrc

Better yet: configure ~/.slrnrc directly like this:

set editor_command "vim '+set tw=72' +%d '%s'"

So vim has only 72 chars width, when invoked by slrn, but the normal
default when invoked from e.g. the shell.

Another tip (when quoting lines), if someone write longer lines than
e.g. 78, hit ESC (to get into command-mode) then move cursor to
beginning of a text-block, hit v (Visual) then move the cursor to the
end of a text-block (text is inverted = marked) then hit gq

Text is re-formatted, even the correct quote-signs are respected, this
comes in really handy.

>every time I try to post I have to manually insert carriage returns
>for lines to make them less than 80 char wide.

This is a lot of work, but remember the Visual-gq to re-format any
text, this option is most handy. (I just did this on quoting your
text).

>2. VI comes out  in black and white when I try to post, how do I make
>it colorize stuff like it does in Mutt.

Sorry, dunno, but would be interested in an answer to that.

Kind regards     Frederick


-- 
You changed the position of the mouse-cursor.
Please reset Windows to make the changes come into effect.

Re: Slrn and VI
#47364
Author: Frederick Page
Date: Wed, 17 Mar 1999 00:00
31 lines
1896 bytes
Hi Ayman,

you wrote on 17 Mar 1999 13:08:48 GMT:

>Thanks for your response

>I set the testwidth to 72, initially didn't work so I looked deeped in
>the help file and it seems I had 'paste' on by default to paste stuff
>from other programs, and textwidth doesn't work when paste is on. I
>turned paste off and voila...

To reformat any text to the set terminal-width, please keep in mind:

>>Another tip (when quoting lines), if someone write longer lines than
>>e.g. 78, hit ESC (to get into command-mode) then move cursor to
>>beginning of a text-block, hit v (Visual) then move the cursor to the
>>end of a text-block (text is inverted = marked) then hit gq

This is one of the most helpful options regarding newsgroups. Someone
has written longer lines and quoting looks like sh*t? No problem
anymore, the gq even pays respect to > (quote-signs).

Glad I could help.

Frederick

-- 
We used to have "bedroom" sex, now we're having "hall-sex", we pass
each other in the hall and say "fuck you".

Re: Slrn and VI
#47380
Author: Martin Trautmann
Date: Thu, 18 Mar 1999 00:00
27 lines
1733 bytes
On 17 Mar 1999 20:09:22 +0100, Frederick Page wrote:
> Hi Ayman,
> 
> >>Another tip (when quoting lines), if someone write longer lines than
> >>e.g. 78, hit ESC (to get into command-mode) then move cursor to
> >>beginning of a text-block, hit v (Visual) then move the cursor to the
> >>end of a text-block (text is inverted = marked) then hit gq
> 
> This is one of the most helpful options regarding newsgroups. Someone
> has written longer lines and quoting looks like sh*t? No problem
> anymore, the gq even pays respect to > (quote-signs).

- but how about a text that is composed like this, where I (babble mode on
  in order to fill the lines, to add some noise, to blubber, blechred,
  schwall, unfugvonmirgeb) want ot have a proper indention?  Did I miss some
  setup option in order to have this properly formatted by default?

- Just to show you an example. Personally, I frequently don't use visual
  insert, but type gq}


May be a little offtopic, but helpful.

Thanks
Martin

Re: Slrn and VI
#47398
Author: Frederick Page
Date: Fri, 19 Mar 1999 00:00
23 lines
1596 bytes
Hi Martin,

you wrote on 18 Mar 1999 10:16:08 GMT:

>- but how about a text that is composed like this, (...)
>  want to have a proper indention?  Did I miss some
>  setup option in order to have this properly formatted by default?

You caught me on that one :-) the indention is not preserved, but it
never happened to me, that I had to re-format an indented text.

>- Just to show you an example. Personally, I frequently don't use visual
>  insert, but type gq}

Thanks for the tip, hadn't figured the } key yet.

Kind regards    Frederick

-- 
Yo' mama's so fat, that when she steps on the railroad tracks,
the barriers come down.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads