🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Morten Ranheim Mon, 15 Jun 1998 00:00
SLRN and X editor
#41541
Author: Morten Ranheim
Date: Mon, 15 Jun 1998 00:00
18 lines
1120 bytes
I have recently started to make KDE my desktop of choice. But so far I
haven't seen any newsreader with the power and easiness of slrn. The
thing I wan't to do is that whenever I'm in KDE and read/post
articles, I wan't to use i.e. gvim as my editor. And when I'm in the
standard terminal I wan't to use vim. So far I've configured slrn to
use colors which I find very nice. But vim wan't "translate" to
standard term colors when I'm in a xterm window. That's why I to
configure slrn and gvim/vim so the colors will show either I'm in term
or xterm.

How can I do this?

-- 
Morten Ranheim
moranhei@online.no

Re: SLRN and X editor
#41563
Author: David Goh
Date: Wed, 17 Jun 1998 00:00
37 lines
2077 bytes
In news.software.readers, on 16 Jun 1998 16:25:11 GMT
Morten Ranheim <moranhei@online.no> wrote:
>In article <6m5t0h$l2d$1@sun27.hrz.tu-darmstadt.de>, Gabriel Zachmann wrote:
>>did you try "vim -f -g" [gui vim w/o fork] ?
>>i assume you live under linux? :)
>My system is configured with two kinds of slrn. One which uses a
>.vimrc and one who is just a copy of .vimrc, which I've called
>.gvimrc. Who can I make slrn two use "vim -f -g" ??

Straight from the default slrn.rc....:

% Command used to invoke editor.  In the following example, %s represents
% the file name and %d represents the starting line number
%set editor_command "jed %s -g %d -tmp"
 
% Editor command for editing posts, mail, and score files.  Note the use of
% single quotes around %s.  This is only necessary if you use filenames
% with spaces in them.
%set mail_editor_command "jed '%s' -g %d -tmp"
%set post_editor_command "jed '%s' -g %d -tmp"
%set score_editor_command "jed '%s' -g %d -tmp"


You should only need to set the first one, unless you want to do different
things for the other three.

Later,

   david

-- 
| david@unico.com.au (David Goh, Unico Computer Systems, +61-3-9866-5688)
The mome rath isn't born that could outgrabe me.
                -- Nicol Williamson

Re: SLRN and X editor
#41564
Author: Morten Ranheim
Date: Wed, 17 Jun 1998 00:00
49 lines
2185 bytes
It worked! Thanks for the help:)

Pretty stupid of me not thinking of "vim -f -g" in the first place :)


Morten Ranheim
moranhei@online.no

In article <6m7bgu$imo@padre.unico.com.au>, David Goh wrote:
>In news.software.readers, on 16 Jun 1998 16:25:11 GMT
>Morten Ranheim <moranhei@online.no> wrote:
>>In article <6m5t0h$l2d$1@sun27.hrz.tu-darmstadt.de>, Gabriel Zachmann wrote:
>>>did you try "vim -f -g" [gui vim w/o fork] ?
>>>i assume you live under linux? :)
>>My system is configured with two kinds of slrn. One which uses a
>>.vimrc and one who is just a copy of .vimrc, which I've called
>>.gvimrc. Who can I make slrn two use "vim -f -g" ??
>
>Straight from the default slrn.rc....:
>
>% Command used to invoke editor.  In the following example, %s represents
>% the file name and %d represents the starting line number
>%set editor_command "jed %s -g %d -tmp"
> 
>% Editor command for editing posts, mail, and score files.  Note the use of
>% single quotes around %s.  This is only necessary if you use filenames
>% with spaces in them.
>%set mail_editor_command "jed '%s' -g %d -tmp"
>%set post_editor_command "jed '%s' -g %d -tmp"
>%set score_editor_command "jed '%s' -g %d -tmp"
>
>
>You should only need to set the first one, unless you want to do different
>things for the other three.
>
>Later,
>
>   david
>
>-- 
>| david@unico.com.au (David Goh, Unico Computer Systems, +61-3-9866-5688)
>The mome rath isn't born that could outgrabe me.
>                -- Nicol Williamson


-- 

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