Thread View: news.software.readers
12 messages
12 total messages
Started by Rara Avis
Sun, 29 Jun 2003 05:52
[srln/Windows] How do I make vim work as the newsreader´s editor?
Author: Rara Avis
Date: Sun, 29 Jun 2003 05:52
Date: Sun, 29 Jun 2003 05:52
23 lines
1832 bytes
1832 bytes
I have been playing with srln in my Win 2K machine, and have actually come to like the program quite a lot. My newsreader and mail client combo of choice is Turnpike, and my favourite stand-alone is Xnews, but I like the lightness and no-frill feel of the powerful console-based slrn. (As you can see, I--always the curious user--am also testing Dialog.) Since I recently learned Vim, it occurred to me that It would be quite nice to use it as slrn�s editor. That way I would get to practice my new skills while dealing with my newsgroup correspondence. It was easy to make the newsreader invoke Vim whenever an editor is needed, but I was surprised to see it pop up with no headers or quoted texts. The editor appears totally blank. What could I be doing wrong? Thanks in advance -- Rara Avis
Re: [srln/Windows] How do I make vim work as the newsreader´s editor?
Author: Blinky the Shark
Date: Sun, 29 Jun 2003 06:26
Date: Sun, 29 Jun 2003 06:26
23 lines
2205 bytes
2205 bytes
Rara Avis wrote: > I have been playing with srln in my Win 2K machine, and have actually come > to like the program quite a lot. My newsreader and mail client combo of > choice is Turnpike, and my favourite stand-alone is Xnews, but I like the > lightness and no-frill feel of the powerful console-based slrn. (As you can > see, I--always the curious user--am also testing Dialog.) > Since I recently learned Vim, it occurred to me that It would be quite nice > to use it as slrn�s editor. That way I would get to practice my new skills > while dealing with my newsgroup correspondence. As a gvim user with slrn myself, I think you'll like it. If you *don't* get a solution, it's proably because there probably are relatively few Windozers using that combination. I hope you *do* -- just offering a preexplanation if responses aren't forthcoming. -- Blinky Linux RU 297263 Spam: The Boulder Pledge http://snurl.com/boulder All In The Family http://snurl.com/familything
Re: [srln/Windows] How do I make vim work as the newsreader´s editor?
Author: Jens Wahnes
Date: Sun, 29 Jun 2003 09:40
Date: Sun, 29 Jun 2003 09:40
18 lines
1648 bytes
1648 bytes
Rara Avis wrote:
> It was easy to make the newsreader invoke Vim whenever an editor is needed,
> but I was surprised to see it pop up with no headers or quoted texts. The
> editor appears totally blank.
> What could I be doing wrong?
What is the exact command you're using as editor_command (or
post_editor_command)? Does it use the "%s" escape sequence?
Jens
--
"What is robbing a bank compared with founding a bank?"
- Bertolt Brecht
Re: [srln/Windows] How do I make vim work as the newsreader´s editor?
Author: Rara Avis
Date: Sun, 29 Jun 2003 13:11
Date: Sun, 29 Jun 2003 13:11
17 lines
1663 bytes
1663 bytes
On 29 Jun 2003 09:40:02 GMT, Jens Wahnes wrote: > What is the exact command you're using as editor_command (or > post_editor_command)? Does it use the "%s" escape sequence? The command is "vim +d %s". I got it somewhere online... I should comment --in response to Blinky's comment, the first in the thread-- that even though I have it installed in my computer, I am not using gvim in combination with slrn; I am instead using plain vim. I wanted the experience to be as un-gui as possible. Again, thanks for your time and attention. -- Rara Avis
Re: [srln/Windows] How do I make vim work as the newsreader´s editor?
Author: SINNER
Date: Sun, 29 Jun 2003 13:59
Date: Sun, 29 Jun 2003 13:59
37 lines
2778 bytes
2778 bytes
While strolling through news.software.readers, Rara Avis was overheard plotting: > On 29 Jun 2003 09:40:02 GMT, Jens Wahnes wrote: >> What is the exact command you're using as editor_command (or >> post_editor_command)? Does it use the "%s" escape sequence? > The command is "vim +d %s". I got it somewhere online... > I should comment --in response to Blinky's comment, the first in the > thread-- that even though I have it installed in my computer, I am not > using gvim in combination with slrn; I am instead using plain vim. I wanted > the experience to be as un-gui as possible. > Again, thanks for your time and attention. Your missing the '-f' switch. man vim -f Foreground. For the GUI version, Vim will not fork and detach from the shell it was started in. On the Amiga, Vim is not restarted to open a new window. This option should be used when Vim is executed by a program that will wait for the edit session to finish (e.g. mail). On the Amiga the ":sh" and ":!" commands will not work. I am not using windows but the same one should work, her is mine: set editor_command "vim -f '+set tw=72' +%d '%s'" -- David Lisa: Dad, I think that's pretty spurious. Homer: Well, thank you, honey. -- Homer Simpson Homer Vs. Lisa And The 8th Commandment
Re: [srln/Windows] How do I make vim work as the newsreader´s editor?
Author: Rara Avis
Date: Sun, 29 Jun 2003 15:19
Date: Sun, 29 Jun 2003 15:19
22 lines
1932 bytes
1932 bytes
On Sun, 29 Jun 2003 13:59:21 GMT, SINNER wrote: > I am not using windows but the same one should work, her is mine: > set editor_command "vim -f '+set tw=72' +%d '%s'" I did as you suggested, SINNER, to no avail. Vim still appears totally blank. Beyond that point, why would Vim tell me, every time I try to close it in frustration (after slrn invokes it and it appears blank) that there is one more file to edit when I am just doing a simple follow-up? I have then to quit Vim an extra time Actually, when I set editor_command according to your suggestion above, it told me there were 3 more files to edit. To my surprise I did not have to quit three times. Just once again, as above. Thanks, as always, -- Rara Avis
Re: [srln/Windows] How do I make vim work as the newsreader´s editor?
Author: Jens Wahnes
Date: Sun, 29 Jun 2003 15:27
Date: Sun, 29 Jun 2003 15:27
30 lines
2445 bytes
2445 bytes
Rara Avis wrote:
> On 29 Jun 2003 09:40:02 GMT, Jens Wahnes wrote:
>> What is the exact command you're using as editor_command (or
>> post_editor_command)? Does it use the "%s" escape sequence?
> The command is "vim +d %s". I got it somewhere online...
If that's the exact command you've got, then you're missing a per cent
sign in front of the 'd'. That line should read "vim +%d %s".
> I should comment --in response to Blinky's comment, the first in the
> thread-- that even though I have it installed in my computer, I am not
> using gvim in combination with slrn; I am instead using plain vim. I wanted
> the experience to be as un-gui as possible.
Should you start using gvim at some point, you'll need to put "set
editor_uses_mime_charset 1" into your slrn.rc. With "plain vim", this
ought not to be set, AFAIK, but should you experience problems with
special characters (e.g., �, �, ...) not showing up correctly, you may
want to try that setting, too.
Jens
--
"What is robbing a bank compared with founding a bank?"
- Bertolt Brecht
Re: [srln/Windows] How do I make vim work as the newsreader´s editor?
Author: Rara Avis
Date: Sun, 29 Jun 2003 17:19
Date: Sun, 29 Jun 2003 17:19
25 lines
2224 bytes
2224 bytes
On 29 Jun 2003 06:26:20 GMT, Blinky the Shark wrote: > As a gvim user with slrn myself, I think you'll like it. I am sure I will. Right now, though, it is kind of frustrating. > If you *don't* get a solution, it's proably because there probably are > relatively few Windozers using that combination. I hope you *do* -- > just offering a preexplanation if responses aren't forthcoming. Well, a few have been forthcoming. But you are right, none of them seem to be from native Windozers with slrn AND Vim. I have a double boot machine, with Linux installed in the other drive. Overthere, though, I am a total novice. I am still struggling with the OS at large (file system is a bit confusing still) and have not been able to make slrn come to life. Not clear about what I must do to configure the equivalent to my .bat file in windows, specifying server and the rest. All of this is just for fun, mind you. I am qute capable with GUI programs from either Windows OR Linux, thankthagods! -- Rara Avis
Re: [srln/Windows] How do I make vim work as the newsreader´s editor?
Author: Blinky the Shark
Date: Sun, 29 Jun 2003 21:46
Date: Sun, 29 Jun 2003 21:46
20 lines
1985 bytes
1985 bytes
Rara Avis wrote: > On 29 Jun 2003 09:40:02 GMT, Jens Wahnes wrote: >> What is the exact command you're using as editor_command (or >> post_editor_command)? Does it use the "%s" escape sequence? > The command is "vim +d %s". I got it somewhere online... > I should comment --in response to Blinky's comment, the first in the > thread-- that even though I have it installed in my computer, I am not > using gvim in combination with slrn; I am instead using plain vim. I wanted > the experience to be as un-gui as possible. As for me, I saw that. I mentioned gvim there, for the sake of making that distinction. -- Blinky Linux RU 297263 Spam: The Boulder Pledge http://snurl.com/boulder All In The Family http://snurl.com/familything
Re: [srln/Windows] How do I make vim work as the newsreader´s editor?
Author: Blinky the Shark
Date: Sun, 29 Jun 2003 21:52
Date: Sun, 29 Jun 2003 21:52
20 lines
1900 bytes
1900 bytes
Rara Avis wrote: > On 29 Jun 2003 06:26:20 GMT, Blinky the Shark wrote: > I have a double boot machine, with Linux installed in the other drive. > Overthere, though, I am a total novice. I am still struggling with the OS > at large (file syst locate .slrnrc You'll find a .slrnrc file that is a template, which has a ton of settings (and explanations for them in comment form) take that file, go through it line by line, changing/adding settings as needed. Save it in your $HOME directory, and leave the sample where you found it, as a clean-start resource if you need it. -- Blinky Linux RU 297263 Spam: The Boulder Pledge http://snurl.com/boulder All In The Family http://snurl.com/familything
Re: [srln/Windows] How do I make vim work as the newsreader´s editor?
Author: Xavier Nodet
Date: Mon, 30 Jun 2003 10:25
Date: Mon, 30 Jun 2003 10:25
19 lines
2215 bytes
2215 bytes
In article <1c9p0cblhhs71$.v7rfor2eiz2z$.dlg@40tude.net>, Rara Avis wrote: > On Sun, 29 Jun 2003 13:59:21 GMT, SINNER wrote: > >> set editor_command "vim -f '+set tw=72' +%d '%s'" > > Actually, when I set editor_command according to your suggestion above, it > told me there were 3 more files to edit. You did not install slrn in a Path with some spaces in it, did you? If you did, please try to use another path (with no spaces). If this works, you could then try to revert to your first path, and fiddle with putting some around filenames your your editor command. Please also remove all spaces in all paths in your .slrnrc, so that we can forget this hypothethis if it still does not work... -- Xavier Nodet "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759.
Re: [srln/Windows] How do I make vim work as the newsreader´s editor?
Author: Bill Marcum
Date: Sun, 06 Jul 2003 15:02
Date: Sun, 06 Jul 2003 15:02
28 lines
2267 bytes
2267 bytes
On Sun, 29 Jun 2003 01:52:22 -0400, Rara Avis <raravis@tutopia.com> wrote: > > > I have been playing with srln in my Win 2K machine, and have actually come > to like the program quite a lot. My newsreader and mail client combo of > choice is Turnpike, and my favourite stand-alone is Xnews, but I like the > lightness and no-frill feel of the powerful console-based slrn. (As you can > see, I--always the curious user--am also testing Dialog.) > > Since I recently learned Vim, it occurred to me that It would be quite nice > to use it as slrn�s editor. That way I would get to practice my new skills > while dealing with my newsgroup correspondence. > > It was easy to make the newsreader invoke Vim whenever an editor is needed, > but I was surprised to see it pop up with no headers or quoted texts. The > editor appears totally blank. > > What could I be doing wrong? > Do you have %s in the "set editor_command" line? That tells slrn where to put the filename. -- It is often the case that the man who can't tell a lie thinks he is the best judge of one. -- Mark Twain, "Pudd'nhead Wilson's Calendar"
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