🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
14 messages
14 total messages Started by Michael Uplawski Sun, 20 Apr 2014 14:29
[slrn-pre 1.0.2-14] 2 buffers per posting in vi
#257284
Author: Michael Uplawski
Date: Sun, 20 Apr 2014 14:29
27 lines
2247 bytes
Good afternoon,

having used the slrn newsreader intensely some years ago, I have only
recently returned to usenet. This is a pre-release version, but I
observed with the same with the “current” stable release from the Debian
repository: having finished writing my posting, I have to close *two*
files in the configured editor, in my case Vim or GVim respectively,
meaning, that I have to issue the command :wq twice. 

Here is a screen-shot of the editor with the current buffers:
http://www.petit-fichier.fr/2014/04/20/sc-slrn/
or only the image:
http://www.petit-fichier.fr/2014/04/20/sc-slrn/sc-slrn.png

I do not remember if it has always been like that; in the past I had
often used jed instead of vi.

Can there be a reason for this double-buffer or have I made a mistake?
Nothing's urgent.

Cheerio,

Michael

-- 
GnuPG/OpenPGP  4096R/3216CF02 2013-11-15 [expires: 2015-11-15]
sub   4096R/2751C550 2013-11-15 [expires: 2015-11-15]
Re: [slrn-pre 1.0.2-14] 2 buffers per posting in vi
#257283
Author: Mike Yetto
Date: Sun, 20 Apr 2014 14:54
37 lines
3020 bytes
Be it known Michael Uplawski <michael.uplawski@uplawski.eu> has declared...
> Good afternoon,

> having used the slrn newsreader intensely some years ago, I have only
> recently returned to usenet. This is a pre-release version, but I
> observed with the same with the “current” stable release from the Debian
> repository: having finished writing my posting, I have to close *two*
> files in the configured editor, in my case Vim or GVim respectively,
> meaning, that I have to issue the command :wq twice. 

I've been using slrn and (g)vim for several years and have never
seen this happen.

> Here is a screen-shot of the editor with the current buffers:
> http://www.petit-fichier.fr/2014/04/20/sc-slrn/
> or only the image:
> http://www.petit-fichier.fr/2014/04/20/sc-slrn/sc-slrn.png

> I do not remember if it has always been like that; in the past I had
> often used jed instead of vi.

> Can there be a reason for this double-buffer or have I made a mistake?
> Nothing's urgent.

Let us see what you are using in .slrnrc to invoke your editor.
It might be a case of wandering quotes.

>From my .slrnrc
#v+
set post_editor_command "fortune $HOME/news/fortunes > ~/news/.signature; gvim -f +%d '+set tw=65' '%s' 2>>$HOME/.xsession-errors"
#v-

Mike "or a wayward '+'" Yetto
-- 
"Do not meddle in the affairs of wizards, for they are subtle and
quick to anger."
 - Gildor
Re: [slrn-pre 1.0.2-14] 2 buffers per posting in vi
#257285
Author: Mike Yetto
Date: Sun, 20 Apr 2014 15:08
40 lines
3252 bytes
Be it known Mike Yetto <unet.lighthouse@xoxy.net> has declared...
> Be it known Michael Uplawski <michael.uplawski@uplawski.eu> has declared...
>> Good afternoon,

>> having used the slrn newsreader intensely some years ago, I have only
>> recently returned to usenet. This is a pre-release version, but I
>> observed with the same with the “current” stable release from the Debian
>> repository: having finished writing my posting, I have to close *two*
>> files in the configured editor, in my case Vim or GVim respectively,
>> meaning, that I have to issue the command :wq twice. 

> I've been using slrn and (g)vim for several years and have never
> seen this happen.

>> Here is a screen-shot of the editor with the current buffers:
>> http://www.petit-fichier.fr/2014/04/20/sc-slrn/
>> or only the image:
>> http://www.petit-fichier.fr/2014/04/20/sc-slrn/sc-slrn.png

>> I do not remember if it has always been like that; in the past I had
>> often used jed instead of vi.

>> Can there be a reason for this double-buffer or have I made a mistake?
>> Nothing's urgent.

> Let us see what you are using in .slrnrc to invoke your editor.
> It might be a case of wandering quotes.

> From my .slrnrc
> #v+
> set post_editor_command "fortune $HOME/news/fortunes > ~/news/.signature; gvim -f +%d '+set tw=65' '%s' 2>>$HOME/.xsession-errors"
> #v-

If I change the +%d in the post_editor_command to just %d I will
find a second buffer in gvim for a file with the name '11'. 

Mike "look familiar?" Yetto
-- 
"The way to see by faith is to shut the eye of reason."
 - Benjamin Franklin
[resolved] was: [slrn-pre 1.0.2-14] 2 buffers per posting in vi
#257291
Author: Michael Uplawski
Date: Sun, 20 Apr 2014 16:00
26 lines
2234 bytes
That's it. Problem solved.

On Sun, 20 Apr 2014 11:08:17 -0400,
Mike Yetto <unet.lighthouse@xoxy.net> wrote:
>> Be it known Michael Uplawski <michael.uplawski@uplawski.eu> has declared...

>>> Can there be a reason for this double-buffer or have I made a mistake?
>>> Nothing's urgent.

> If I change the +%d in the post_editor_command to just %d I will
> find a second buffer in gvim for a file with the name '11'. 

I would not have been able to identify the origin of that file-name.
The man-page to vim explains it eventually. The
example-configuration that I have chosen for slrn, may have been too
old. 

> Mike "look familiar?" Yetto

Thank you.

Michael

-- 
GnuPG/OpenPGP  4096R/3216CF02 2013-11-15 [expires: 2015-11-15]
sub   4096R/2751C550 2013-11-15 [expires: 2015-11-15]
Re: [slrn-pre 1.0.2-14] 2 buffers per posting in vi
#257289
Author: Whiskers
Date: Sun, 20 Apr 2014 16:11
50 lines
3570 bytes
On 2014-04-20, Mike Yetto <unet.lighthouse@xoxy.net> wrote:
> Be it known Mike Yetto <unet.lighthouse@xoxy.net> has declared...
>> Be it known Michael Uplawski <michael.uplawski@uplawski.eu> has
>> declared...
>>> Good afternoon,
>
>>> having used the slrn newsreader intensely some years ago, I have
>>> only recently returned to usenet. This is a pre-release version, but
>>> I observed with the same with the “current” stable release from the
>>> Debian repository: having finished writing my posting, I have to
>>> close *two* files in the configured editor, in my case Vim or GVim
>>> respectively, meaning, that I have to issue the command :wq twice. 
>
>> I've been using slrn and (g)vim for several years and have never seen
>> this happen.
>
>>> Here is a screen-shot of the editor with the current buffers:
>>> http://www.petit-fichier.fr/2014/04/20/sc-slrn/ or only the image:
>>> http://www.petit-fichier.fr/2014/04/20/sc-slrn/sc-slrn.png
>
>>> I do not remember if it has always been like that; in the past I had
>>> often used jed instead of vi.
>
>>> Can there be a reason for this double-buffer or have I made a
>>> mistake?  Nothing's urgent.
>
>> Let us see what you are using in .slrnrc to invoke your editor.  It
>> might be a case of wandering quotes.
>
>> From my .slrnrc 
>> #v+ 
>> set post_editor_command "fortune $HOME/news/fortunes > ~/news/.signature; gvim -f +%d '+set tw=65' '%s' 2>>$HOME/.xsession-errors" 
>> #v-
>
> If I change the +%d in the post_editor_command to just %d I will find
> a second buffer in gvim for a file with the name '11'. 
>
> Mike "look familiar?" Yetto

Could be a case of using the parameters for a Jed command, transposed
into a vim command; from my .slrnrc:

 ~]$ grep post_editor_command .slrnrc
 %set post_editor_command "jed --mail-mode '%s' -g %d -tmp "
 set post_editor_command "vim -c 'set filetype=mail' +8 %s"

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn-pre 1.0.2-14] 2 buffers per posting in vi
#257290
Author: Michael Uplawski
Date: Sun, 20 Apr 2014 20:25
26 lines
2120 bytes
Good evening again,

On Sun, 20 Apr 2014 17:11:04 +0100,
Whiskers <catwheezel@operamail.com> wrote:
>>>> Can there be a reason for this double-buffer or have I made a
>>>> mistake?  Nothing's urgent.

> Could be a case of using the parameters for a Jed command, transposed
> into a vim command; from my .slrnrc:

;-) even without installing jed to test the possibility, I am quite
convinced, that you hit that nail on the head. Ah, the old days, when I
wasn't young, either.

>  ~]$ grep post_editor_command .slrnrc
>  %set post_editor_command "jed --mail-mode '%s' -g %d -tmp "
>  set post_editor_command "vim -c 'set filetype=mail' +8 %s"

Cheerio,

Michael


-- 
GnuPG/OpenPGP  4096R/3216CF02 2013-11-15 [expires: 2015-11-15]
sub   4096R/2751C550 2013-11-15 [expires: 2015-11-15]
Re: [slrn-pre 1.0.2-14] 2 buffers per posting in vi
#257292
Author: Lewis
Date: Mon, 21 Apr 2014 04:31
19 lines
2339 bytes
In message <slrnll7meo.dhq.michael.uplawski@drusus.uplawski.eu> 
  Michael Uplawski <michael.uplawski@uplawski.eu> wrote:
> Good afternoon,

> having used the slrn newsreader intensely some years ago, I have only
> recently returned to usenet. This is a pre-release version, but I
> observed with the same with the “current” stable release from the Debian
> repository: having finished writing my posting, I have to close *two*
> files in the configured editor, in my case Vim or GVim respectively,
> meaning, that I have to issue the command :wq twice. 

I suspect there is something mucked in your editor command. What is it?

set post_editor_command "vim -c 'set filetype=mail' +%d %s"


-- 
She hated everything that predestined people, that fooled them, that
made them slightly less than human. --Witches Abroad
Re: [slrn-pre 1.0.2-14] 2 buffers per posting in vi
#257295
Author: Michael Uplawski
Date: Mon, 21 Apr 2014 07:44
30 lines
2423 bytes
On Sun, 20 Apr 2014 22:25:06 +0200,
Michael Uplawski <michael.uplawski@uplawski.eu> wrote:
> Good evening again,
>
> On Sun, 20 Apr 2014 17:11:04 +0100,
> Whiskers <catwheezel@operamail.com> wrote:
>>>>> Can there be a reason for this double-buffer or have I made a
>>>>> mistake?  Nothing's urgent.
>
>> Could be a case of using the parameters for a Jed command, transposed
>> into a vim command; from my .slrnrc:
>
> ;-) even without installing jed to test the possibility, I am quite
> convinced, that you hit that nail on the head. Ah, the old days, when I
> wasn't young, either.
>
>>  ~]$ grep post_editor_command .slrnrc
>>  %set post_editor_command "jed --mail-mode '%s' -g %d -tmp "
>>  set post_editor_command "vim -c 'set filetype=mail' +8 %s"
>
> Cheerio,
>
> Michael
>
>


-- 
GnuPG/OpenPGP  4096R/3216CF02 2013-11-15 [expires: 2015-11-15]
sub   4096R/2751C550 2013-11-15 [expires: 2015-11-15]
Re: [slrn-pre 1.0.2-14] 2 buffers per posting in vi
#257296
Author: Michael Uplawski
Date: Mon, 21 Apr 2014 07:44
23 lines
2232 bytes
On Mon, 21 Apr 2014 04:31:19 +0000 (UTC),
Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
> In message <slrnll7meo.dhq.michael.uplawski@drusus.uplawski.eu> 
>   Michael Uplawski <michael.uplawski@uplawski.eu> wrote:
>> Good afternoon,
>
>> having used the slrn newsreader intensely some years ago, I have only
>> recently returned to usenet. This is a pre-release version, but I
>> observed with the same with the “current” stable release from the Debian
>> repository: having finished writing my posting, I have to close *two*
>> files in the configured editor, in my case Vim or GVim respectively,
>> meaning, that I have to issue the command :wq twice. 
>
> I suspect there is something mucked in your editor command. What is it?
>
> set post_editor_command "vim -c 'set filetype=mail' +%d %s"
>
>


-- 
GnuPG/OpenPGP  4096R/3216CF02 2013-11-15 [expires: 2015-11-15]
sub   4096R/2751C550 2013-11-15 [expires: 2015-11-15]
Re: [slrn-pre 1.0.2-14] 2 buffers per posting in vi
#257294
Author: Michael Uplawski
Date: Mon, 21 Apr 2014 07:51
22 lines
2049 bytes
Good morning,

On Mon, 21 Apr 2014 04:31:19 +0000 (UTC),
Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:

> I suspect there is something mucked in your editor command. What is it?
>
> set post_editor_command "vim -c 'set filetype=mail' +%d %s"

You are right. See my answers to Mike and Whiskers in this very thread:
<slrnll8b92.mf3.michael.uplawski@drusus.uplawski.eu> and
<slrnll7roi.f4v.michael.uplawski@drusus.uplawski.eu>.

As %d is a gift from slrn, I “overlooked” (say: ignored) the
vim-specific '+' in the above configuration.

Cheerio,

Michael
-- 
GnuPG/OpenPGP  4096R/3216CF02 2013-11-15 [expires: 2015-11-15]
sub   4096R/2751C550 2013-11-15 [expires: 2015-11-15]
Re: [slrn-pre 1.0.2-14] 2 buffers per posting in vi
#257298
Author: Michael Uplawski
Date: Mon, 21 Apr 2014 08:14
25 lines
2175 bytes
Supersede for readability

Good morning,

On Mon, 21 Apr 2014 04:31:19 +0000 (UTC),
Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:

> I suspect there is something mucked in your editor command. What is it?
>
> set post_editor_command "vim -c 'set filetype=mail' +%d %s"

You are right. See my answers to Mike and Whiskers in this very thread:
<slrnll8b92.mf3.michael.uplawski@drusus.uplawski.eu> 
and
<slrnll7roi.f4v.michael.uplawski@drusus.uplawski.eu>.

As %d is a gift from slrn, I “overlooked” (say: ignored) the
vim-specific '+' in the above configuration.

Cheerio,

Michael
-- 
GnuPG/OpenPGP  4096R/3216CF02 2013-11-15 [expires: 2015-11-15]
sub   4096R/2751C550 2013-11-15 [expires: 2015-11-15]
Re: [slrn-pre 1.0.2-14] 2 buffers per posting in vi
#257306
Author: notbob
Date: Mon, 21 Apr 2014 15:43
6 lines
1155 bytes
On 2014-04-20, Michael Uplawski <michael.uplawski@uplawski.eu> wrote:

> files in the configured editor, in my case Vim or GVim respectively,
> meaning, that I have to issue the command :wq twice. 

"vi is the root of evil!" --nb
Re: [slrn-pre 1.0.2-14] 2 buffers per posting in vi
#257300
Author: Michael Uplawski
Date: Mon, 21 Apr 2014 16:28
17 lines
1723 bytes
Bon soirée.

On 21 Apr 2014 15:43:33 GMT,
notbob <notbob@nothome.com> wrote:
> On 2014-04-20, Michael Uplawski <michael.uplawski@uplawski.eu> wrote:
>
>> files in the configured editor, in my case Vim or GVim respectively,
>> meaning, that I have to issue the command :wq twice. 
>
> "vi is the root of evil!" --nb

“Heard the same about horseradish but I still love it” --MU


-- 
GnuPG/OpenPGP  4096R/3216CF02 2013-11-15 [expires: 2015-11-15]
sub   4096R/2751C550 2013-11-15 [expires: 2015-11-15]
Re: [slrn-pre 1.0.2-14] 2 buffers per posting in vi
#257303
Author: Shmuel Metz
Date: Tue, 22 Apr 2014 01:43
28 lines
2683 bytes
In <slrnllahq4.3vb.michael.uplawski@drusus.uplawski.eu>, on 04/21/2014
   at 06:28 PM, Michael Uplawski <michael.uplawski@uplawski.eu> said:

>On 21 Apr 2014 15:43:33 GMT,
>notbob <notbob@nothome.com> wrote:
>> On 2014-04-20, Michael Uplawski <michael.uplawski@uplawski.eu> wrote:
>>
>>> files in the configured editor, in my case Vim or GVim respectively,
>>> meaning, that I have to issue the command :wq twice. 
>>
>> "vi is the root of evil!" --nb

vi may be the editor from Hell but it has the advantage of always
being there.

> Heard the same about horseradish but I still love it  --MU

What lunatic criticized horseradish? It's one of the essential
nutrients, along with coffee and garlic.

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
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