🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #125058

Re: [Slrn 0974] Getting gVim to work as editor?

#125058
From: SINNER
Date: Sat, 17 May 2003 17:19
39 lines
2685 bytes
While strolling through news.software.readers, Sphincter was overheard plotting:
> [Linux] [Slrn 0974] [ gvim6.0] [KDE 3.1]

> Hi folks,

> Being new to both Linux and Slrn, I've the feeling this is a
> horribly simple problem. The problem here is just how do I get
> gvim6.0 to work as the editor for Slrn? I've tried calling several
> editors (plain old vim, Kedit, and Kate et...) and they all work
> just fine. In fact, I'm posting now under Kate. But when I push vim
> into gui mode it fails.

> This line works just fine: (failed with the -g option)

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

> Using a line similar to the above fails?

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

> What I mean here is that I do indeed end up in the vim GUI (toolbars
> and all), editing the message works, saving the message works, but
> when I exit, slrn reports the file as 'not modified'. Therefore, no
> post or reply even though the edited file does exist.

> No doubt I'm missing the obvious right? Any suggestions at all would
> be appreciated.

are you saving the message?

using :qw or ZZ will save the message and close the editor, this should
prompt you to post, edit etc...

do not change the filename, slrn is looking for ~/.article or
~/.followup to change.
-- 
David
Being a mime means never having to say you're sorry.
Technical Details
Message-ID: <n97ip-sa3.ln1@news.gates_of_hell.INVALID>
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!logbridge.uoregon.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!newsfeed2.easynews.com!easynews.com!easynews!news.easynews.com.POSTED!news.gates_of_hell.INVALID!news
References: <ba5p3k$pm8lq$2@ID-190816.news.dfncis.de>

Show Full Headers
Complete Article Headers
Message-ID: <n97ip-sa3.ln1@news.gates_of_hell.INVALID>
Subject: Re: [Slrn 0974] Getting gVim to work as editor?
Date: Sat, 17 May 2003 17:19:29 GMT
From: SINNER <99nesorjd@gates_of_hell.INVALID>
References: <ba5p3k$pm8lq$2@ID-190816.news.dfncis.de>
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!logbridge.uoregon.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!newsfeed2.easynews.com!easynews.com!easynews!news.easynews.com.POSTED!news.gates_of_hell.INVALID!news
Newsgroups: news.software.readers
Organization: HELL.org.
Reply-To: djrosen99@yahoo.REMOVE.com
X-Face: j3Hseu?@9(oM8Qht'.|x"P;#6O^DS:`<EeQl\nPhWL0gK@q#/HId~hImj@>>`+Y#mKi}E!] Pcnn^4"Rv90]koG~uYPgP|oP&Sb0!7:zYHz/dx8,X_6dk5p.H4)/t&NnlW>4YI+?wCV{m4sZpxTEl: ,E,i|B|Bi]1>Yn/Qqul6t77U?xaHDM~?8)'H59F!XPKbF2LOkeVf4=J%!<`T(3jy$7\%eZH.NLv(hr E)4F5*r`n50Xwk81N*gJE\\}uh9n7v\Cb9-nHaoL|ZNDI
User-Agent: slrn/0.9.7.4pl2 (Linux)
Lines: 38
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.