Thread View: news.software.readers
12 messages
12 total messages
Started by andrew
Sun, 31 Aug 2008 23:12
[slrn] Windows and gvim syntax
Author: andrew
Date: Sun, 31 Aug 2008 23:12
Date: Sun, 31 Aug 2008 23:12
18 lines
1520 bytes
1520 bytes
Hi, I have managed to kick-start a copy of slrn under windows and the remaining problem I have is gvim syntax. At the moment the following works well enough: set editor_command "C:/vim/vim72/gvim +%d %s" but no combination of syntax will allow me to set a line-width here. I emphasise that I am aware of the syntax that works with Linux and I use that syntax there but on Windows this syntax does not work. A final alternative, that I am not keen on, is to set a global line width in _vimrc. Andrew -- Do you think that's air you're breathing?
Re: [slrn] Windows and gvim syntax
Author: Mike Yetto
Date: Sun, 31 Aug 2008 23:39
Date: Sun, 31 Aug 2008 23:39
25 lines
2479 bytes
2479 bytes
Bada bing andrew <andrew@ithaca.invalid> bada bang:
> Hi,
>
> I have managed to kick-start a copy of slrn under windows and the
> remaining problem I have is gvim syntax. At the moment the following
> works well enough:
>
> set editor_command "C:/vim/vim72/gvim +%d %s"
>
> but no combination of syntax will allow me to set a line-width here.
> I emphasise that I am aware of the syntax that works with Linux and
> I use that syntax there but on Windows this syntax does not work.
>
> A final alternative, that I am not keen on, is to set a global line
> width in _vimrc.
>
I haven't used gvim under Windows for quite some time, but you
should remember that Windows likes to see a back-slash ('\') in
file names and a slash ('/') for command line options.
Mike "take advice with grains of salt as needed" Yetto
--
Pluralitas non est ponenda sine necessitas.
- William of Ockham
Re: [slrn] Windows and gvim syntax
Author: Peter J Ross
Date: Mon, 01 Sep 2008 02:56
Date: Mon, 01 Sep 2008 02:56
35 lines
2484 bytes
2484 bytes
In news.software.readers on 31 Aug 2008 23:12:11 GMT, andrew
<andrew@ithaca.invalid> wrote:
> Hi,
>
> I have managed to kick-start a copy of slrn under windows and the
> remaining problem I have is gvim syntax. At the moment the following
> works well enough:
>
> set editor_command "C:/vim/vim72/gvim +%d %s"
>
> but no combination of syntax will allow me to set a line-width here.
> I emphasise that I am aware of the syntax that works with Linux and
> I use that syntax there but on Windows this syntax does not work.
Have you tried either of these?
set editor_command "C:/vim/vim72/gvim +'set tw=70' +%d %s"
set editor_command "C:/vim/vim72/gvim +\"set tw=70\" +%d %s"
> A final alternative, that I am not keen on, is to set a global line
> width in _vimrc.
It doesn't have to be global. E.g., in Linux I use this in .vimrc:
autocmd VimEnter .{article,letter,followup} set tw=70
The names of the temporary files are probably different in Windows.
--
PJR :-)
slrn newsreader (v0.9.9): http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: [slrn] Windows and gvim syntax
Author: andrew
Date: Mon, 01 Sep 2008 08:45
Date: Mon, 01 Sep 2008 08:45
27 lines
2051 bytes
2051 bytes
On 2008-09-01, Peter J Ross <pjr@example.invalid> wrote: > In news.software.readers on 31 Aug 2008 23:12:11 GMT, andrew ><andrew@ithaca.invalid> wrote: >> I have managed to kick-start a copy of slrn under windows and the >> remaining problem I have is gvim syntax. At the moment the >> following works well enough: >> >> set editor_command "C:/vim/vim72/gvim +%d %s" >> >> but no combination of syntax will allow me to set a line-width [...] > Have you tried either of these? > > set editor_command "C:/vim/vim72/gvim +'set tw=70' +%d %s" set > editor_command "C:/vim/vim72/gvim +\"set tw=70\" +%d %s" Thanks yet again PJR the second example works perfectly :-). Actually ordinary console vim works well on windows as well but the console itself is so limited as to make the whole thing a little painful. I have not used gvim before and it looks pretty good. Andrew -- Do you think that's air you're breathing?
Re: [slrn] Windows and gvim syntax
Author: andrew
Date: Tue, 02 Sep 2008 06:49
Date: Tue, 02 Sep 2008 06:49
19 lines
1780 bytes
1780 bytes
On 2008-09-01, andrew <andrew@ithaca.invalid> wrote: > On 2008-09-01, Peter J Ross <pjr@example.invalid> wrote: >> Have you tried either of these? >> >> set editor_command "C:/vim/vim72/gvim +'set tw=70' +%d %s" set >> editor_command "C:/vim/vim72/gvim +\"set tw=70\" +%d %s" > > Thanks yet again PJR the second example works perfectly :-). Actually > ordinary console vim works well on windows as well but the console > itself is so limited as to make the whole thing a little painful. I > have not used gvim before and it looks pretty good. Now I just have to break in Hamster :-). Andrew -- Do you think that's air you're breathing?
Re: [slrn] Windows and gvim syntax
Author: Blinky the Shark
Date: Tue, 02 Sep 2008 08:40
Date: Tue, 02 Sep 2008 08:40
26 lines
2319 bytes
2319 bytes
andrew wrote: > On 2008-09-01, andrew <andrew@ithaca.invalid> wrote: >> On 2008-09-01, Peter J Ross <pjr@example.invalid> wrote: > >>> Have you tried either of these? >>> >>> set editor_command "C:/vim/vim72/gvim +'set tw=70' +%d %s" set >>> editor_command "C:/vim/vim72/gvim +\"set tw=70\" +%d %s" >> >> Thanks yet again PJR the second example works perfectly :-). Actually >> ordinary console vim works well on windows as well but the console >> itself is so limited as to make the whole thing a little painful. I >> have not used gvim before and it looks pretty good. > > Now I just have to break in Hamster :-). Don't shrink from being tough; show it who's boss. :) -- Blinky Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org Need a new news feed? http://blinkynet.net/comp/newfeed.html
Re: [slrn] Windows and gvim syntax
Author: andrew
Date: Tue, 02 Sep 2008 09:15
Date: Tue, 02 Sep 2008 09:15
24 lines
2158 bytes
2158 bytes
On 2008-09-02, Blinky the Shark <no.spam@box.invalid> wrote: > andrew wrote: >> Now I just have to break in Hamster :-). > > Don't shrink from being tough; show it who's boss. :) Well to tell the truth I seem to have a pretty functional setup with Hamster now. Because I am not really a mad keen windows user I have set Hamster to pick up news.software.readers and an offline test group only and this did not take long to sort out. It took some bigger downloads to set the windows svn slrn though, TortoiseSVN was a big one, the full MinGW tools took some downloading and then vim for windows. And a bit of bandwidth to slrn-users crying like a girl because I got a little stuck for a while :-). Can I say though that slrn under windows runs beautifully? cmd.exe sux but all in all newsreading with slrn under Windows XP runs well. Full credit to JED. Andrew -- Do you think that's air you're breathing?
Re: [slrn] Windows and gvim syntax
Author: Thomas Wiegner
Date: Tue, 02 Sep 2008 16:10
Date: Tue, 02 Sep 2008 16:10
17 lines
1659 bytes
1659 bytes
On Tue, 02 Sep 2008, andrew <andrew@ithaca.invalid> wrote: > Now I just have to break in Hamster :-). Have you already broken successfully into hamster to reply by Email? The question came recently up in a german newsgroups and nobody really knew the answer, so it was suggested to use msmtp or sendsmtp instead. But if there is a direct way via hamster, I'd like to know if anybody knows how to do it. Cheers, Thomas -- [X] Nail here for new Monitor
Re: [slrn] Windows and gvim syntax
Author: Blinky the Shark
Date: Tue, 02 Sep 2008 17:19
Date: Tue, 02 Sep 2008 17:19
25 lines
2438 bytes
2438 bytes
andrew wrote: > On 2008-09-02, Blinky the Shark <no.spam@box.invalid> wrote: >> andrew wrote: > >>> Now I just have to break in Hamster :-). >> >> Don't shrink from being tough; show it who's boss. :) > > Well to tell the truth I seem to have a pretty functional setup with > Hamster now. Because I am not really a mad keen windows user I have > set Hamster to pick up news.software.readers and an offline test group > only and this did not take long to sort out. All I use it for is for four groups on the mozilla servers, so I can do them with Thunderbird, for credibility's sake. And that's only when I'm not home and am using my XP laptop. -- Blinky Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org Need a new news feed? http://blinkynet.net/comp/newfeed.html
Re: [slrn] Windows and gvim syntax
Author: andrew
Date: Tue, 02 Sep 2008 23:15
Date: Tue, 02 Sep 2008 23:15
28 lines
2359 bytes
2359 bytes
On 2008-09-02, Thomas Wiegner <wiegner@gmx.de> wrote: > On Tue, 02 Sep 2008, andrew <andrew@ithaca.invalid> wrote: > >> Now I just have to break in Hamster :-). > > Have you already broken successfully into hamster to reply by Email? I will admit that I have not set up slrn / Hamster for reply by email in any for yet. > The question came recently up in a german newsgroups and nobody > really knew the answer, so it was suggested to use msmtp or sendsmtp > instead. But if there is a direct way via hamster, I'd like to know > if anybody knows how to do it. I will look upon it as a challenge :-). Actually there seems to be a small wave of interest in running slrn under windows so your packages will perhaps be getting some interest? I was thinking of writing up compiling from source under windows but it was a substantially less smooth path than under linux and perhaps _very_ counter-intuitive to most windows users. Plus I noted that Makefile.g32 is missing an install section so manual installation was required. Andrew -- Do you think that's air you're breathing?
Re: [slrn] Windows and gvim syntax
Author: andrew
Date: Wed, 03 Sep 2008 07:42
Date: Wed, 03 Sep 2008 07:42
24 lines
2291 bytes
2291 bytes
On 2008-09-02, Thomas Wiegner <wiegner@gmx.de> wrote: > Have you already broken successfully into hamster to reply by Email? > > The question came recently up in a german newsgroups and nobody > really knew the answer, so it was suggested to use msmtp or sendsmtp > instead. But if there is a direct way via hamster, I'd like to know > if anybody knows how to do it. This is old and I do not read the language: http://www.geocities.com/tsca.geo/slang/frwd-ham.txt but it made me look at the way Hamster works and I have a suspicion that it simply sends an appropriately formatted document that sits in Mail.out (this macro seems to be doing something in _News.out_). I can look at this when SWMBO is off the Windows computer. Could a macro pick up an article, run it through the default editor, format it appropriately and drop it in C:\Hamster\Mail.out? Andrew -- Do you think that's air your breathing now?
Re: [slrn] Windows and gvim syntax
Author: andrew
Date: Sat, 06 Sep 2008 03:41
Date: Sat, 06 Sep 2008 03:41
29 lines
2235 bytes
2235 bytes
On 2008-09-02, Thomas Wiegner <wiegner@gmx.de> wrote: > On Tue, 02 Sep 2008, andrew <andrew@ithaca.invalid> wrote: > >> Now I just have to break in Hamster :-). > > Have you already broken successfully into hamster to reply by Email? > > The question came recently up in a german newsgroups and nobody > really knew the answer, so it was suggested to use msmtp or sendsmtp > instead. But if there is a direct way via hamster, I'd like to know > if anybody knows how to do it. Just for the record: as you already know JED presented me with a solution which was to use 'fake sendmail' which I hope you note is created by an Australian: http://glob.com.au/sendmail/ After editing sendmail.ini to point to 'localhost' it is called from slrn.rc: set sendmail_command "C:/path_to/sendmail.exe -t <" and the email message then obligingly pops up in the Mail.Out folder of Hamster. The syntax of the slrn.rc line also suggested by JED. Andrew -- Do you think that's air you're breathing?
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