๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Ben Beuchler Tue, 01 Feb 2000 00:00
slrn and vi
#57616
Author: Ben Beuchler
Date: Tue, 01 Feb 2000 00:00
18 lines
1028 bytes
I'm using vim as my editor with slrn.  When I attempt to post a message,
slrn asks for the group and subject, which I enter.  However, when the
message opens in vi, I usually only have the "Reply-To:, Followup-To:,
Keywords:, and Summary:" headers.  The Subject and Newsgroup headers seem
to vanish.

Am I screwing something up?  Did I somehow hose the necessary entries in
.slrnrc?

Thanks,
Ben

-- 
"There is no spoon"
	-- The Matrix

Re: slrn and vi
#57662
Author: Gabriel Zachmann
Date: Wed, 02 Feb 2000 00:00
38 lines
2042 bytes
On 1 Feb 2000 21:11:29 GMT, Ben Beuchler <insyte@marvin.squad51.net> wrote:
" 
" I'm using vim as my editor with slrn.  When I attempt to post a message,
" slrn asks for the group and subject, which I enter.  However, when the
" message opens in vi, I usually only have the "Reply-To:, Followup-To:,
" Keywords:, and Summary:" headers.  The Subject and Newsgroup headers seem
" to vanish.
" 

hm, the very same combination works fine for me.

seems to me like vim *thinks* your terminal has 2 lines more than
it actuaully has ....
try
    :!echo $LINES
in vim.
What happens when you type
    1G
in vim [started from slrn]?

HTH,
Gab.

PS:
are you using a current vim version?

-- 
/---------------------------------------------------------------------\
| What if you slept?  And what if, in your sleep, you dreamed?        |
| And what if, in your dream, you went to heaven and there plucked a  |
| strange and beautiful flower?  And what if, when you awoke,         |
| you had the flower in your hand?  Ah, what then?        (Coleridge) |
|                                                                     |
| mailto:zach@igd.fhg.de     __@/'    mailto:Gabriel.Zachmann@gmx.net |
|                     http://www.igd.fhg.de/~zach                     |
\---------------------------------------------------------------------/

Re: slrn and vi
#57755
Author: Rick Pasotto
Date: Sun, 06 Feb 2000 00:00
14 lines
1385 bytes
I'm running debian linux and just upgraded both vim and slrn. Vim
recognizes (ie, displays in color) *some* of the slrnrc keywords but not
others (it knows about 'quotes' but not 'quotes1'). Is this configurable
somewhere or is it compiled in?

-- 
"Those words, 'temperate' & 'moderate', are words either of political
cowardice, or of cunning, or seduction...  A thing moderately good is
not so good as it ought to be.  Moderation in temper is always a
virtue, but moderation in principle is a species of vice."
		-- Thomas Paine "Letter to Addressors"
		   Rick Pasotto email: rickp@vnet.net

Re: slrn and vi
#57787
Author: Renaud Colinet
Date: Mon, 07 Feb 2000 00:00
20 lines
1576 bytes
Le Sun, 06 Feb 2000 17:51:25 GMT, Rick Pasotto a ๏ฟฝcrit:
>I'm running debian linux and just upgraded both vim and slrn. Vim
>recognizes (ie, displays in color) *some* of the slrnrc keywords but not
>others (it knows about 'quotes' but not 'quotes1'). Is this configurable
>somewhere or is it compiled in?
>
You need to update vim's syntax files. The ones you use were built for
former versions of slrn, and don't include all keywords. You have two
options :
- locate slrn.vim in your distribution (somewhere like
  /usr/share/vim-something/syntax/slrn.vim), have a look at it and
insert the missing keywords

- find an updated version from one of the syntax files maintainers (have
  a look at http://www.vim.org)

-- 
Renaud

Re: slrn and vi
#57809
Author: Duncan Watson
Date: Tue, 08 Feb 2000 00:00
19 lines
1609 bytes
On Sun, 06 Feb 2000 17:51:25 GMT, Rick Pasotto <rick@tolive.vnet.net> wrote:
> I'm running debian linux and just upgraded both vim and slrn. Vim
> recognizes (ie, displays in color) *some* of the slrnrc keywords but not
> others (it knows about 'quotes' but not 'quotes1'). Is this configurable
> somewhere or is it compiled in?

You can configure it.  Look at ":help hi" in vim and the file slrnrc.vim in
your /usr/local/share/vim/.../syntax directory.

Best of luck,
/Duncan
-- 
Duncan Watson          |||  Famous Last Words: Just take whatever you want,  
Unix Sysadmin at Large |||               this is a ghost town.               
climer@io.com          |||                                                   
Portland, OR           |||                                                   

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