🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #117319

Re: [slrn] Using an external editor

#117319
From: Blinky the Shark
Date: Sat, 04 Jan 2003 20:18
52 lines
2947 bytes
SINNER wrote:
> While strolling through news.software.readers, and discussing Re: [slrn] Using an external editor with wannes it was determined that:
>> SINNER <99nesorjd@ibtta.gov> schreef:
>>> I am going to get killed for this but.
>>> 
>>> I just can use vi, OK, OK I can but I dont wanna. With all the key
>>> bindings I need to know for slrn I just cant fill my head with more for
>>> simple copy paste move functions among others. Not to mention I would
>>> like a spell check, so.
>> 
>> You can use any editor you like (even oowriter or something like thet :)
>> )
> 
> I know, I saw it in the slrn doc, what I really need to know is what
> variable to pass to the editor as a filename
> 
>> 
>>> This way when I choose to post/follow up or whatever it starts up the
>>> editor with the file loaded? 
>>> 
>>> one more, is there a way to make the cursor start at the bottom of the
>>> post when the editor opens?
>> 
>> No offence, but heve you actually tried to configure something in your
>> .slrnrc? :-)
>>
> 
> Yes, well not yet, but I intend to, see above :)
> 
>> I use Vim (Vi Improved that is) and my .slrnrc says something like this:
>> 
>> set editor_command "vim +%d -u ~/.vimrc-slrn %s"
>> 
>> Which means: open vim at rule number %d (which is at the beginning of
>> the bdoy, so you can start cutting), with .vimrc-slrn as configfile
>> (where are some 'special' keybindings concerning spellchecking and
>> stuff)
>> 
> OK, I see now, atleast I hope I do. Looks like %s is the file? I havent
> tried the %d i will try your command and see if I like it, thanks. Again
> while going over your post, I was able to find it clearly in the
> manual... I will just shut up now, thanks for being patient :)

I don't have the special rc he does, so mine's more generic.  Might want
to just try it as is:

set editor_command "gvim -f  '+set tw=72' +%d '%s'"

-- 
Blinky
Microsoft Linux - http://snurl.com/MSLinux
Technical Details
Message-ID: <slrnb1egce.2l3.no.spam@dora.blinkynet.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews2
References: <senje-k0m.ln1@news.gates_of_hell.com> <slrnb1ec7c.km2.spam@wannes.cjb.net.invalid> <qrpje-15m.ln1@news.gates_of_hell.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnb1egce.2l3.no.spam@dora.blinkynet.net>
Subject: Re: [slrn] Using an external editor
Date: Sat, 04 Jan 2003 20:18:22 +0000
From: Blinky the Shark <no.spam@box.invalid>
References: <senje-k0m.ln1@news.gates_of_hell.com> <slrnb1ec7c.km2.spam@wannes.cjb.net.invalid> <qrpje-15m.ln1@news.gates_of_hell.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews2
Newsgroups: news.software.readers
Organization: http://web.newsguy.com/dogfish
Lines: 51
NNTP-Posting-Host: p-155.newsdawg.com
X-Face: "_{Qe=@t<xdpA\~AFZvKyH^US#`&,/~#9T=}T45xVc+f"*Ollr1CeJ_KrgjR+jMH&/C.dQ:t1Pb9v(+f=7o0A6/nb62g|L?Z9~.V52oH3y9ul-=p]=Qsa{$&1d`ck'
User-Agent: slrn/0.9.7.4 (Linux)