🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
16 messages
16 total messages Started by Blinky the Shark Wed, 21 Feb 2007 02:06
[slrn] vim Focus
#195800
Author: Blinky the Shark
Date: Wed, 21 Feb 2007 02:06
15 lines
1417 bytes
slrn/vim/KDE

I'm tired of hitting Alt-Esc every time, to get from slrn to vim
whenever I compose a post.  Any way to get my Window focus to the editor
once its window opens?

.slrnrc:

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


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] vim Focus
#195803
Author: Troy Piggins
Date: Wed, 21 Feb 2007 02:47
22 lines
1593 bytes
* Blinky the Shark is quoted & my replies are inline below :
> slrn/vim/KDE
>
> I'm tired of hitting Alt-Esc every time, to get from slrn to vim
> whenever I compose a post.  Any way to get my Window focus to the editor
> once its window opens?
>
> .slrnrc:
>
> set editor_command "gvim -f '+set tw=72' '%s'" 

s/gvim/vim/

That outta do it.

:)

-- 
Troy Piggins             ,-O   (o-    O         All your sigs are belong to us.
http://piggo.com/~troy  O   )  //\     O
RLU#415538               `-O   V_/_  OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
Re: [slrn] vim Focus
#195807
Author: Blinky the Shark
Date: Wed, 21 Feb 2007 03:22
23 lines
1822 bytes
Troy Piggins wrote:
> * Blinky the Shark is quoted & my replies are inline below :
>> slrn/vim/KDE
>>
>> I'm tired of hitting Alt-Esc every time, to get from slrn to vim
>> whenever I compose a post.  Any way to get my Window focus to the editor
>> once its window opens?
>>
>> .slrnrc:
>>
>> set editor_command "gvim -f '+set tw=72' '%s'" 
>
> s/gvim/vim/

Normally, I just try stuff from trusted sources.  This time I have to
ask: how will that move my focus?  (I can see where it will run an
editor version I don't wish to use.)


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] vim Focus
#195808
Author: Troy Piggins
Date: Wed, 21 Feb 2007 03:54
33 lines
2291 bytes
* Blinky the Shark is quoted & my replies are inline below :
> Troy Piggins wrote:
>> * Blinky the Shark is quoted & my replies are inline below :
>>> slrn/vim/KDE
>>>
>>> I'm tired of hitting Alt-Esc every time, to get from slrn to vim
>>> whenever I compose a post.  Any way to get my Window focus to the editor
>>> once its window opens?
>>>
>>> .slrnrc:
>>>
>>> set editor_command "gvim -f '+set tw=72' '%s'" 
>>
>> s/gvim/vim/
>
> Normally, I just try stuff from trusted sources.  This time I have to
> ask: how will that move my focus?  (I can see where it will run an
> editor version I don't wish to use.)

It won't move your focus.  Your focus will never leave slrn's
window.  But slrn will change to vim in that window, you compose
your post, then once you save and quit vim return back to slrn.

My editor_command is "vim '+set ft=mail' '+set tw=65' '+%d' '%s'"

Sorry, I thought that's the way most compose posts and
mails.  Same as mutt.

-- 
Troy Piggins             ,-O   (o-    O         All your sigs are belong to us.
http://piggo.com/~troy  O   )  //\     O
RLU#415538               `-O   V_/_  OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
Re: [slrn] vim Focus
#195812
Author: SINNER
Date: Wed, 21 Feb 2007 05:19
28 lines
2209 bytes
* Blinky the Shark wrote in news.software.readers:
> slrn/vim/KDE

> I'm tired of hitting Alt-Esc every time, to get from slrn to vim
> whenever I compose a post.  Any way to get my Window focus to the editor
> once its window opens?

> .slrnrc:

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

Well, I changed my set editor to above and when I replied to your post,
gvim was the default.

Couple of things to note:
I use gnome (I suppose I can boot KDE and report back)
I still have that macro in vimrc to remove '>' on blank lines which requires
<ENTER> to continue.

I am not sure that either of those things would cause gvim to be brought
into focus, but it is for me.

In attempting to post (and choosing edit) I get same results. slrn comes
into focus for me to answer the prompt, upon hitting e grime is restarted
and is given focus. I will boot KDE and check it out.
-- 
David
Lost: gray and white female cat.  Answers to electric can opener.
Re: [slrn] vim Focus
#195816
Author: Blinky the Shark
Date: Wed, 21 Feb 2007 06:29
40 lines
2638 bytes
Troy Piggins wrote:
> * Blinky the Shark is quoted & my replies are inline below :
>> Troy Piggins wrote:
>>> * Blinky the Shark is quoted & my replies are inline below :
>>>> slrn/vim/KDE
>>>>
>>>> I'm tired of hitting Alt-Esc every time, to get from slrn to vim
>>>> whenever I compose a post.  Any way to get my Window focus to the editor
>>>> once its window opens?
>>>>
>>>> .slrnrc:
>>>>
>>>> set editor_command "gvim -f '+set tw=72' '%s'" 
>>>
>>> s/gvim/vim/
>>
>> Normally, I just try stuff from trusted sources.  This time I have to
>> ask: how will that move my focus?  (I can see where it will run an
>> editor version I don't wish to use.)
>
> It won't move your focus.  Your focus will never leave slrn's
> window.  But slrn will change to vim in that window, you compose
> your post, then once you save and quit vim return back to slrn.

Ah.  Pass.  Did I meniton I prefer gvim?  :)

Also, I like the ability to look back at the article in slrn once in a
while, when I'm in my editor, for something I may have snipped.

> My editor_command is "vim '+set ft=mail' '+set tw=65' '+%d' '%s'"
>
> Sorry, I thought that's the way most compose posts and
> mails.  Same as mutt.

It proabably is, for non-g vim users.

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] vim Focus
#195817
Author: Blinky the Shark
Date: Wed, 21 Feb 2007 06:32
39 lines
2430 bytes
SINNER wrote:
> * Blinky the Shark wrote in news.software.readers:
>> slrn/vim/KDE
>
>> I'm tired of hitting Alt-Esc every time, to get from slrn to vim
>> whenever I compose a post.  Any way to get my Window focus to the editor
>> once its window opens?
>
>> .slrnrc:
>
>> set editor_command "gvim -f '+set tw=72' '%s'" 
>
> Well, I changed my set editor to above and when I replied to your post,
> gvim was the default.
>
> Couple of things to note:
> I use gnome (I suppose I can boot KDE and report back)

Unimportant.  I'm not going to switch editors (Troy's Idea) *or* window
managers over this.  :)

> I still have that macro in vimrc to remove '>' on blank lines which requires
><ENTER> to continue.

My macro, you mean?

> I am not sure that either of those things would cause gvim to be brought
> into focus, but it is for me.
>
> In attempting to post (and choosing edit) I get same results. slrn comes
> into focus for me to answer the prompt, upon hitting e grime is restarted
> and is given focus. I will boot KDE and check it out.

I'm a little short on e grime, today.  Just had a shower yesterday.  ;)

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] vim Focus
#195826
Author: SINNER
Date: Wed, 21 Feb 2007 12:59
48 lines
2853 bytes
* Blinky the Shark wrote in news.software.readers:
> SINNER wrote:
>> * Blinky the Shark wrote in news.software.readers:
>>> slrn/vim/KDE

>>> I'm tired of hitting Alt-Esc every time, to get from slrn to vim
>>> whenever I compose a post.  Any way to get my Window focus to the editor
>>> once its window opens?

>>> .slrnrc:

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

>> Well, I changed my set editor to above and when I replied to your post,
>> gvim was the default.

>> Couple of things to note:
>> I use gnome (I suppose I can boot KDE and report back)

> Unimportant.  I'm not going to switch editors (Troy's Idea) *or* window
> managers over this.  :)

While true, I felt it worth mentioning for the test.

>> I still have that macro in vimrc to remove '>' on blank lines which requires
>><ENTER> to continue.

> My macro, you mean?

Correct.

>> I am not sure that either of those things would cause gvim to be brought
>> into focus, but it is for me.

>> In attempting to post (and choosing edit) I get same results. slrn comes
>> into focus for me to answer the prompt, upon hitting e grime is restarted
>> and is given focus. I will boot KDE and check it out.

> I'm a little short on e grime, today.  Just had a shower yesterday.  ;)

Damn, that was a weird one :) I meant gvim. Sharks shower? In What?


-- 
David
ROMEO:		Courage, man; the hurt cannot be much.
MERCUTIO:	No, 'tis not so deep as a well, nor so wide
			as a church-door; but 'tis enough, 'twill serve.
Re: [slrn] vim Focus
#195827
Author: SINNER
Date: Wed, 21 Feb 2007 12:59
39 lines
2743 bytes
* Blinky the Shark wrote in news.software.readers:
> Troy Piggins wrote:
>> * Blinky the Shark is quoted & my replies are inline below :
>>> Troy Piggins wrote:
>>>> * Blinky the Shark is quoted & my replies are inline below :
>>>>> slrn/vim/KDE

>>>>> I'm tired of hitting Alt-Esc every time, to get from slrn to vim
>>>>> whenever I compose a post.  Any way to get my Window focus to the editor
>>>>> once its window opens?

>>>>> .slrnrc:

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

>>>> s/gvim/vim/

>>> Normally, I just try stuff from trusted sources.  This time I have to
>>> ask: how will that move my focus?  (I can see where it will run an
>>> editor version I don't wish to use.)

>> It won't move your focus.  Your focus will never leave slrn's
>> window.  But slrn will change to vim in that window, you compose
>> your post, then once you save and quit vim return back to slrn.

> Ah.  Pass.  Did I meniton I prefer gvim?  :)

> Also, I like the ability to look back at the article in slrn once in a
> while, when I'm in my editor, for something I may have snipped.

I cant do that with your set editor line, my terminal puts slrn in the
background and even if I switch to the window it shows slrn's startup, no
slrn though.

-- 
David
L'etat c'est moi.
	[I am the state.]
		-- Louis XIV
Re: [slrn] vim Focus
#195829
Author: Blinky the Shark
Date: Wed, 21 Feb 2007 15:39
53 lines
2936 bytes
SINNER wrote:
> * Blinky the Shark wrote in news.software.readers:
>> SINNER wrote:
>>> * Blinky the Shark wrote in news.software.readers:
>>>> slrn/vim/KDE
>
>>>> I'm tired of hitting Alt-Esc every time, to get from slrn to vim
>>>> whenever I compose a post.  Any way to get my Window focus to the editor
>>>> once its window opens?
>
>>>> .slrnrc:
>
>>>> set editor_command "gvim -f '+set tw=72' '%s'" 
>
>>> Well, I changed my set editor to above and when I replied to your post,
>>> gvim was the default.
>
>>> Couple of things to note:
>>> I use gnome (I suppose I can boot KDE and report back)
>
>> Unimportant.  I'm not going to switch editors (Troy's Idea) *or* window
>> managers over this.  :)
>
> While true, I felt it worth mentioning for the test.
>
>>> I still have that macro in vimrc to remove '>' on blank lines which requires
>>><ENTER> to continue.
>
>> My macro, you mean?
>
> Correct.

Y'know, I stopped using it a while back.  I read something in an RFC about
leaving them in.  I still like the idea.

>>> I am not sure that either of those things would cause gvim to be brought
>>> into focus, but it is for me.
>
>>> In attempting to post (and choosing edit) I get same results. slrn comes
>>> into focus for me to answer the prompt, upon hitting e grime is restarted
>>> and is given focus. I will boot KDE and check it out.
>
>> I'm a little short on e grime, today.  Just had a shower yesterday.  ;)
>
> Damn, that was a weird one :) I meant gvim. Sharks shower? In What?

In my case, usually Malibu.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] vim Focus
#195828
Author: Blinky the Shark
Date: Wed, 21 Feb 2007 15:41
17 lines
1894 bytes
SINNER wrote:
> * Blinky the Shark wrote in news.software.readers:

>> Also, I like the ability to look back at the article in slrn once in a
>> while, when I'm in my editor, for something I may have snipped.
>
> I cant do that with your set editor line, my terminal puts slrn in the
> background and even if I switch to the window it shows slrn's startup, no
> slrn though.

I'll be darned.  I'm surprised that that's different from terminal
to terminal.

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] vim Focus
#195833
Author: SINNER
Date: Thu, 22 Feb 2007 00:19
29 lines
2261 bytes
* Blinky the Shark wrote in news.software.readers:
> SINNER wrote:

[...]

>>> I still have that macro in vimrc to remove '>' on blank lines which requires
>>> <ENTER> to continue.

>>> My macro, you mean?

>> Correct.

> Y'know, I stopped using it a while back.  I read something in an RFC about
> leaving them in.  I still like the idea.

Yup, I remember the conversation. It stemmed from a bug in tbird of
adding blank lines at every blank line and with each post from
consecutive tbird users would have huge gaps with no text. IIRC you
mentioned a heated discussion in a mozilla group and were pointed to
said RFC.

I like it, so I keep it there and stay away from mozilla groups.

[...]
-- 
David
Q:	Why is Christmas just like a day at the office?
A:	You do all of the work and the fat guy in the suit
	gets all the credit.
Re: [slrn] vim Focus
#195834
Author: SINNER
Date: Thu, 22 Feb 2007 00:19
19 lines
2134 bytes
* Blinky the Shark wrote in news.software.readers:
> SINNER wrote:
>> * Blinky the Shark wrote in news.software.readers:

>>> Also, I like the ability to look back at the article in slrn once in a
>>> while, when I'm in my editor, for something I may have snipped.

>> I cant do that with your set editor line, my terminal puts slrn in the
>> background and even if I switch to the window it shows slrn's startup, no
>> slrn though.

> I'll be darned.  I'm surprised that that's different from terminal
> to terminal.

What terminal are you using?
-- 
David
Sailing is fun, but scrubbing the decks is aardvark.
		-- Heard on Noahs' ark
Re: [slrn] vim Focus
#195836
Author: Blinky the Shark
Date: Thu, 22 Feb 2007 00:53
26 lines
2185 bytes
SINNER wrote:
> * Blinky the Shark wrote in news.software.readers:
>> SINNER wrote:
>>> * Blinky the Shark wrote in news.software.readers:
>
>>>> Also, I like the ability to look back at the article in slrn once in a
>>>> while, when I'm in my editor, for something I may have snipped.
>
>>> I cant do that with your set editor line, my terminal puts slrn in the
>>> background and even if I switch to the window it shows slrn's startup, no
>>> slrn though.
>
>> I'll be darned.  I'm surprised that that's different from terminal
>> to terminal.
>
> What terminal are you using?

rxvt

Which I'll be keeping, along with gvim, for this...   ;)


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] vim Focus
#195837
Author: Blinky the Shark
Date: Thu, 22 Feb 2007 00:54
35 lines
2367 bytes
SINNER wrote:
> * Blinky the Shark wrote in news.software.readers:
>> SINNER wrote:
>
> [...]
>
>>>> I still have that macro in vimrc to remove '>' on blank lines which requires
>>>> <ENTER> to continue.
>
>>>> My macro, you mean?
>
>>> Correct.
>
>> Y'know, I stopped using it a while back.  I read something in an RFC about
>> leaving them in.  I still like the idea.
>
> Yup, I remember the conversation. It stemmed from a bug in tbird of
> adding blank lines at every blank line and with each post from
> consecutive tbird users would have huge gaps with no text. IIRC you
> mentioned a heated discussion in a mozilla group and were pointed to
> said RFC.

Excellent memory!  I'm stunned.  Hey, where did I park my car?

> I like it, so I keep it there and stay away from mozilla groups.
>
> [...]

Well, don't lose it, just in case I reconsider.  :)


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] vim Focus
#195838
Author: SINNER
Date: Thu, 22 Feb 2007 01:09
41 lines
2668 bytes
* Blinky the Shark wrote in news.software.readers:
> SINNER wrote:
>> * Blinky the Shark wrote in news.software.readers:
>>> SINNER wrote:

>> [...]

>>>>> I still have that macro in vimrc to remove '>' on blank lines which requires
>>>>> <ENTER> to continue.

>>>>> My macro, you mean?

>>>> Correct.

>>> Y'know, I stopped using it a while back.  I read something in an RFC about
>>> leaving them in.  I still like the idea.

>> Yup, I remember the conversation. It stemmed from a bug in tbird of
>> adding blank lines at every blank line and with each post from
>> consecutive tbird users would have huge gaps with no text. IIRC you
>> mentioned a heated discussion in a mozilla group and were pointed to
>> said RFC.

> Excellent memory!  I'm stunned.  Hey, where did I park my car?

LOL! I wasn't sure if I was totally on, thanks for the confirmation.
Check the garage.

>> I like it, so I keep it there and stay away from mozilla groups.

>> [...]

> Well, don't lose it, just in case I reconsider.  :)

I had to retrieve it from google because I DID lose it. It is safe now
:)

-- 
David
Mum's the word.
		-- Miguel de Cervantes
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