🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
12 messages
12 total messages Started by Chris P. Bacon Fri, 01 May 2009 01:08
slrn on windows
#232966
Author: Chris P. Bacon
Date: Fri, 01 May 2009 01:08
19 lines
1912 bytes
Hey, all set on Windows now, but for some reason, my .slrnrc won't
recognize  vim as my editor even though I have the full path
in my .slrnrc

set editor_command "C:\Program Files (x86)\Vim\vim71\vim.exe -c %d '%s'"

but it's not working.  I get nothing ... would have thought I would
see vim ?  Any ideas?

Second question... I run slrn from the command line, but I only
get a small windows and it won't be resized.  



-- 
*************************************************
* CPB - Support the UIP http://improve-usenet.org  
* RLU 451587
*************************************************
Re: slrn on windows
#232968
Author: Rom
Date: Fri, 01 May 2009 02:01
23 lines
1619 bytes
On Fri, 1 May 2009 01:08:26 +0000 (UTC), Chris P. Bacon wrote:

> Hey, all set on Windows now, but for some reason, my .slrnrc won't
> recognize  vim as my editor even though I have the full path
> in my .slrnrc
> 
> set editor_command "C:\Program Files (x86)\Vim\vim71\vim.exe -c %d '%s'"
                                      ^
It's the space in the path.

> but it's not working.  I get nothing ... would have thought I would
> see vim ?  Any ideas?

Installing to, say, C:\Vim works.
I don't know how to get it to work otherwise.

> Second question... I run slrn from the command line, but I only
> get a small windows and it won't be resized.

Is cmd.exe small when opened from the dir slrn is installed to?

-- 
Rom
Re: slrn on windows
#232969
Author: Rom
Date: Fri, 01 May 2009 02:21
25 lines
1674 bytes
On Fri, 1 May 2009 12:01:51 +1000, Rom wrote:

> On Fri, 1 May 2009 01:08:26 +0000 (UTC), Chris P. Bacon wrote:
> 
>> Hey, all set on Windows now, but for some reason, my .slrnrc won't
>> recognize  vim as my editor even though I have the full path
>> in my .slrnrc
>> 
>> set editor_command "C:\Program Files (x86)\Vim\vim71\vim.exe -c %d '%s'"
                                 ^     ^
> It's the space in the path.

Spaces.

>> but it's not working.  I get nothing ... would have thought I would
>> see vim ?  Any ideas?
> 
> Installing to, say, C:\Vim works.
> I don't know how to get it to work otherwise.

One thing I didn't try (when I recently tried slrn) is the short name
PROGRA~2 instead of Program Files (x86)

-- 
Rom
Re: slrn on windows
#232971
Author: James H
Date: Fri, 01 May 2009 02:30
26 lines
2252 bytes
On 2009-05-01, Rom <-@-.invalid> wrote:
> On Fri, 1 May 2009 01:08:26 +0000 (UTC), Chris P. Bacon wrote:
>
>> Hey, all set on Windows now, but for some reason, my .slrnrc won't
>> recognize  vim as my editor even though I have the full path
>> in my .slrnrc
>> 
>> set editor_command "C:\Program Files (x86)\Vim\vim71\vim.exe -c %d '%s'"
>                                       ^
> It's the space in the path.
>
>> but it's not working.  I get nothing ... would have thought I would
>> see vim ?  Any ideas?
>
> Installing to, say, C:\Vim works.
> I don't know how to get it to work otherwise.
>

You can either add vim to your path or create a batch file in slrn's directory
to reference vim.

>> Second question... I run slrn from the command line, but I only
>> get a small windows and it won't be resized.
>
> Is cmd.exe small when opened from the dir slrn is installed to?
>
slrn on windows
#232972
Author: _
Date: Fri, 01 May 2009 02:52
9 lines
1380 bytes
Chris•P.•Bacon showed:
set editor_command "C:\Program Files (x86)\Vim\vim71\vim.exe -c %d '%s'"

Guessing, I'd say you need to switch to 
forward slashes and and black-slashed quotes, like this:
  "\"C:/Program Files (x86)/Vim/vim71/vim.exe\" -c %d '%s'"

To change the size of the DOS console, change its default settings.
I could be wrong.
Re: slrn on windows
#232973
Author: Rom
Date: Fri, 01 May 2009 03:22
30 lines
2092 bytes
On Thu, 30 Apr 2009 21:30:29 -0500, James H wrote:

> On 2009-05-01, Rom <-@-.invalid> wrote:
>> On Fri, 1 May 2009 01:08:26 +0000 (UTC), Chris P. Bacon wrote:
>>
>>> Hey, all set on Windows now, but for some reason, my .slrnrc won't
>>> recognize  vim as my editor even though I have the full path
>>> in my .slrnrc
>>> 
>>> set editor_command "C:\Program Files (x86)\Vim\vim71\vim.exe -c %d '%s'"
>>                                       ^
>> It's the space in the path.
>>
>>> but it's not working.  I get nothing ... would have thought I would
>>> see vim ?  Any ideas?
>>
>> Installing to, say, C:\Vim works.
>> I don't know how to get it to work otherwise.
> 
> You can either add vim to your path

I was using the latest 64-bit version of Vim and tried adding Vim to
the path but didn't work.

> or create a batch file in slrn's directory to reference vim.

Can you post an example batch file?

-- 
Rom
Re: slrn on windows
#232974
Author: Tom B.
Date: Fri, 01 May 2009 04:16
25 lines
1679 bytes
Chris P. Bacon <cpb@snugglebutt.INVALID> wrote ...

> 
> Hey, all set on Windows now, but for some reason, my .slrnrc won't
> recognize  vim as my editor even though I have the full path
> in my .slrnrc
> 
> set editor_command "C:\Program Files (x86)\Vim\vim71\vim.exe -c %d '%s'"
> 
> but it's not working.  I get nothing ... would have thought I would
> see vim ?  Any ideas?
> 
Your quotes look wrong. I think the last double quote should only 
enclose the actual path and end after .exe, ie ....exe"

"C:\Program Files (x86)\Vim\vim71\vim.exe" -c %d '%s'

I dont know how the single quotes will work on %s - try it with and 
without

-- 
Tom B.      * * * Gravity Web Pages  * * *
http://mpgravity.sourceforge.net/
http://gravity.tbates.org/
http://lightning.prohosting.com/~tbates/gravity/
Re: slrn on windows
#232977
Author: andrew
Date: Fri, 01 May 2009 08:39
30 lines
2076 bytes
On 2009-05-01, Chris P. Bacon <cpb@snugglebutt.INVALID> wrote:

> Hey, all set on Windows now, but for some reason, my .slrnrc won't
> recognize  vim as my editor even though I have the full path
> in my .slrnrc
>
> set editor_command "C:\Program Files (x86)\Vim\vim71\vim.exe -c %d '%s'"

I will admit that in a moment of weakness I decided to use gvim rather
than vim :-). To eliminate any problems with spaces in the path I also
installed to C:/vim rather than the default (single backslashes are
not supported BTW which is where your problem lies). My gvim line:

set editor_command "C:/vim/vim72/gvim +%d %s"

> Second question... I run slrn from the command line, but I only
> get a small windows and it won't be resized.  

The default terminal takes a little tweaking :-). Have a look at the
properties of the terminal shortcut where you will see settings for
window height and width as well as font size. And to save you some
grief and experimentation try using DejaVu Sans Mono for the terminal
font...

All the best,

Andrew

-- 
Do you think that's air you're breathing?
Re: slrn on windows
#232984
Author: JimH
Date: Fri, 01 May 2009 10:57
17 lines
1609 bytes
Rom <-@-.invalid> wrote in news:1vjue1s127h9j.rx5c1jlha3ob$.dlg@40tude.net:

> On Fri, 1 May 2009 01:08:26 +0000 (UTC), Chris P. Bacon wrote:
> 
>> Hey, all set on Windows now, but for some reason, my .slrnrc won't
>> recognize  vim as my editor even though I have the full path
>> in my .slrnrc
>> 
>> set editor_command "C:\Program Files (x86)\Vim\vim71\vim.exe -c %d '%s'"
>                                       ^
> It's the space in the path.
> 

As you may have noticed in another thread, I'm brand new to slrn - and I run 
Windows. But I've done my share of DOS programming. I'm glad to see that SOME 
of my experience might be useful - the space in the filename was the first 
thing to cross my mind.
Re: slrn on windows
#232990
Author: TomB
Date: Fri, 01 May 2009 16:33
14 lines
1782 bytes
On 2009-05-01, andrew was urged to write the following:
> On 2009-05-01, Chris P. Bacon <cpb@snugglebutt.INVALID> wrote:
>> Second question... I run slrn from the command line, but I only
>> get a small windows and it won't be resized.  
>
> The default terminal takes a little tweaking :-).

When I'm on Windows I use the 'Terminator' terminal. It's a huge
improvement over cmd.exe.

-- 
Een vrouw in haren blote, dat is een monument.
Maar ne vent in zijne pure is en bleft nen blote vent.
	~ Katastroof
Re: slrn on windows
#233065
Author: Chris P. Bacon
Date: Mon, 04 May 2009 21:11
29 lines
2634 bytes
On 2009-05-01, andrew <andrew@skamandros.invalid> wrote:
> On 2009-05-01, Chris P. Bacon <cpb@snugglebutt.INVALID> wrote:
>
>> Hey, all set on Windows now, but for some reason, my .slrnrc won't
>> recognize  vim as my editor even though I have the full path
>> in my .slrnrc
>>
>> set editor_command "C:\Program Files (x86)\Vim\vim71\vim.exe -c %d '%s'"
>
> I will admit that in a moment of weakness I decided to use gvim rather
> than vim :-). To eliminate any problems with spaces in the path I also
> installed to C:/vim rather than the default (single backslashes are
> not supported BTW which is where your problem lies). My gvim line:
>
> set editor_command "C:/vim/vim72/gvim +%d %s"
>
>> Second question... I run slrn from the command line, but I only
>> get a small windows and it won't be resized.  
>
> The default terminal takes a little tweaking :-). Have a look at the
> properties of the terminal shortcut where you will see settings for
> window height and width as well as font size. And to save you some
> grief and experimentation try using DejaVu Sans Mono for the terminal
> font...
>
> All the best,
>
> Andrew
>
Re: slrn on windows
#233067
Author: Chris P. Bacon
Date: Mon, 04 May 2009 21:16
39 lines
2975 bytes
On 2009-05-04, Chris P. Bacon <cpb@snugglebutt.INVALID> wrote:
> On 2009-05-01, andrew <andrew@skamandros.invalid> wrote:
>> On 2009-05-01, Chris P. Bacon <cpb@snugglebutt.INVALID> wrote:
>>
>>> Hey, all set on Windows now, but for some reason, my .slrnrc won't
>>> recognize  vim as my editor even though I have the full path
>>> in my .slrnrc
>>>
>>> set editor_command "C:\Program Files (x86)\Vim\vim71\vim.exe -c %d '%s'"
>>
>> I will admit that in a moment of weakness I decided to use gvim rather
>> than vim :-). To eliminate any problems with spaces in the path I also
>> installed to C:/vim rather than the default (single backslashes are
>> not supported BTW which is where your problem lies). My gvim line:
>>
>> set editor_command "C:/vim/vim72/gvim +%d %s"
>>
>>> Second question... I run slrn from the command line, but I only
>>> get a small windows and it won't be resized.  
>>
>> The default terminal takes a little tweaking :-). Have a look at the
>> properties of the terminal shortcut where you will see settings for
>> window height and width as well as font size. And to save you some
>> grief and experimentation try using DejaVu Sans Mono for the terminal
>> font...
>>
>> All the best,
>>
>> Andrew
>>

Hmmm.... I thought I typed somethere... guess not... sorry folks.
Back into security by obscurity for me

-- 
*************************************************
* CPB - Support the UIP http://improve-usenet.org  
* RLU 451587
*************************************************
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