🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
10 messages
10 total messages Started by Frank Hahn Fri, 07 Aug 1998 00:00
Different editor for Slrn (Windows 95 version)
#42601
Author: Frank Hahn
Date: Fri, 07 Aug 1998 00:00
21 lines
1524 bytes
For the life of me, I cannot get the Windows 95 version of Slrn
to use any text editor except for the default dos edit command.
Modifying the .slrnrc file with different parameters for a different
editor doesn't help.

Basically, what happens is when I want to post, I never get the editor
window to come up.  Slrn asks me for the newsgroup, subject, and then
it asks me if I want to post (yes, no, edit, etc.).  This is as far I can
get.  If I go back to the .slrnrc file and comment out the editor command,
I then get the dos edit command as you would expect.

I get the same result using both "jed" and "vim".  I'm guessing it has
something to do with running these programs in the console.  I'm guessing
I haven't got something in windows configured correctly.

Any suggestions?  Thanks.

-- 
Frank Hahn

Re: Different editor for Slrn (Windows 95 version)
#42611
Author: xcitor
Date: Fri, 07 Aug 1998 00:00
24 lines
1573 bytes
On 7 Aug 1998 10:02:18 GMT,
Frank Hahn wrote
from <fhahn@zdnetmail.com>
in message <6qejba$ql6$1@supernews.com>: 

  |For the life of me, I cannot get the Windows 95 version of Slrn
  |to use any text editor except for the default dos edit command.
  |Modifying the .slrnrc file with different parameters for a different
  |editor doesn't help.
  |
  |I get the same result using both "jed" and "vim".  I'm guessing it has
				    ^^^^^^^^^^^^^^
Have jed and vim been ported to Win95? Ugh.

-- 
xcitor@pobox.com
Linux - the choice of a GNU generation.

1024/A883405D 1998/06/16 xcitor <xcitor@pobox.com>
Key fingerprint = E6 30 57 68 E9 3E 4B 79 5E B7 DE EF F8 DF 90 8F
Public Key Block at:
http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0xA883405D

Re: Different editor for Slrn (Windows 95 version)
#42612
Author: Louise Adderholdt
Date: Sat, 08 Aug 1998 00:00
21 lines
1645 bytes
On 7 Aug 1998 10:02:18 GMT, Frank Hahn wrote:
>For the life of me, I cannot get the Windows 95 version of Slrn
>to use any text editor except for the default dos edit command.
>Modifying the .slrnrc file with different parameters for a different
>editor doesn't help.

I've just added a new text editor to slrn this very morning -- I'm using
it right now -- so I might be able to help.

First of all, which editor are you trying to add?  The slrn.rc file looks
to me like it was originally for a UNIX system, so "jed" and "vim" 
(variations of ed and vi?) won't work with Windows. 

For my computer, I have installed an MS-DOS version of Pico (the Pine text
editor) in the slrn home directory.  In slrn.rc, in place of "jed %s -g %d
-tmp" I have "pico %s".  (I don't know if Pico can handle those other
parameters, so I just left them out.) 

I hope this info is of some use.

Re: Different editor for Slrn (Windows 95 version)
#42622
Author: Krzysztof P. Jasiutowicz
Date: Sat, 08 Aug 1998 00:00
23 lines
1572 bytes
On Fri, 7 Aug 1998 20:43:45 -0400, xcitor <xcitor@pobox.com> wrote:
>On 7 Aug 1998 10:02:18 GMT,
>Frank Hahn wrote
>from <fhahn@zdnetmail.com>
>in message <6qejba$ql6$1@supernews.com>: 
>  |For the life of me, I cannot get the Windows 95 version of Slrn
>  |to use any text editor except for the default dos edit command.
>  |Modifying the .slrnrc file with different parameters for a different
>  |editor doesn't help.
>  |
>  |I get the same result using both "jed" and "vim".  I'm guessing it has
>				    ^^^^^^^^^^^^^^
>Have jed and vim been ported to Win95? Ugh.
Don't know about jed but I managed to compile and run with a
reasonable effectiveness VIM 5.0x some time ago.
Regards,
kpj.
-- 
Krzysztof P. Jasiutowicz, M.D  | Czestochowa, Poland ...
kpjas@priv.onet.pl             | Linux 2.0.34 Red Hat 5.1 KDE Beta 4
http://friko.onet.pl/cz/kpjas/ | mutt 0.93i VIM 5.1 slrn 0.9.5.2 ...

Re: Different editor for Slrn (Windows 95 version)
#42627
Author: tailor
Date: Sat, 08 Aug 1998 00:00
20 lines
1554 bytes
On 8 Aug 1998 16:05:07 GMT, Louise Adderholdt
 <weaselwalker@news.twave.net> wrote:
>On 7 Aug 1998 10:02:18 GMT, Frank Hahn wrote:
>>For the life of me, I cannot get the Windows 95 version of Slrn
>>to use any text editor except for the default dos edit command.
>>Modifying the .slrnrc file with different parameters for a different
>>editor doesn't help.
>
>First of all, which editor are you trying to add?  The slrn.rc file looks
>to me like it was originally for a UNIX system, so "jed" and "vim" 
>(variations of ed and vi?) won't work with Windows. 
>
>For my computer, I have installed an MS-DOS version of Pico (the Pine text
>editor) in the slrn home directory.  In slrn.rc, in place of "jed %s -g %d
>-tmp" I have "pico %s".  (I don't know if Pico can handle those other
>parameters, so I just left them out.) 
>
"notepad %s" also works, and quite well, in fact.

Re: Different editor for Slrn (Windows 95 version)
#42631
Author: Frank Hahn
Date: Sun, 09 Aug 1998 00:00
35 lines
2202 bytes
On 8 Aug 1998 16:05:07 GMT, Louise Adderholdt <weaselwalker@news.twave.net>
 wrote:
>On 7 Aug 1998 10:02:18 GMT, Frank Hahn wrote:
>>For the life of me, I cannot get the Windows 95 version of Slrn
>>to use any text editor except for the default dos edit command.
>>Modifying the .slrnrc file with different parameters for a different
>>editor doesn't help.

>First of all, which editor are you trying to add?  The slrn.rc file looks
>to me like it was originally for a UNIX system, so "jed" and "vim" 
>(variations of ed and vi?) won't work with Windows. 

Slrn works on many operating systems.  At work I use it on Solaris.  There
are also versions of "jed" and "vim" that have been ported to Windows 95/NT
and many others.

>For my computer, I have installed an MS-DOS version of Pico (the Pine text
>editor) in the slrn home directory.  In slrn.rc, in place of "jed %s -g %d
>-tmp" I have "pico %s".  (I don't know if Pico can handle those other
>parameters, so I just left them out.) 

I may also try "Pico".  I'm not sure I have ever seen or tried it.  Please
see my response to another poster.  Basically, what I found out is that if
the path to the program is in your path, it will work.  If you try and
give the complete path to the program, the number (2) and direction (backwards)
of the slashes is important.

>I hope this info is of some use.

Thanks for the help.

-- 
Frank Hahn

Re: Different editor for Slrn (Windows 95 version)
#42643
Author: Joerg Uecker
Date: Sun, 09 Aug 1998 00:00
13 lines
957 bytes
Frank Hahn <fhahn@zdnetmail.com> wrote:

> For the life of me, I cannot get the Windows 95 version of Slrn
> to use any text editor except for the default dos edit command.

"When in doubt, use brute force." -- Ken Thompson

What about renaming jed or vim to edit?

-- 
J�rg Uecker <ju@pirx.ruhr.de>

Re: Different editor for Slrn (Windows 95 version)
#42646
Author: Frank Hahn
Date: Sun, 09 Aug 1998 00:00
34 lines
2120 bytes
On 9 Aug 1998 02:13:13 GMT, Mike Ching <mtching@flash.net> wrote:
>On 7 Aug 1998 10:02:18 GMT, Frank Hahn <fhahn@zdnetmail.com> wrote:
>>For the life of me, I cannot get the Windows 95 version of Slrn
>>to use any text editor except for the default dos edit command.
>>Modifying the .slrnrc file with different parameters for a different

{Much of my previous post snipped.}

>I use the Win95 version of jed with the following in slrn.rc:
>
>set editor_command "c:\\jed\\bin\\jed386 %s -g %d -tmp"

Thanks for the hint.  Previously, I was supplying the complete path to
the editor program.  This won't work if you use either a single forward
slash or a single backward slash.  In one instance, you get a file not found,
in the other, the editor doesn't run.  The key seems to be in using two
backward slashes when giving the complete path to the executable file.

After seeing the above, I decided to go back and add the directories to the
editor binaries to my path statement in my autoexec.bat file.  I had not done
this previously.  After doing this, I could then use the statement as shown
in the slrn.rc file:

set editor_command "jed %s -g %d -tmp"

I'm not sure what the above tells me.  This may be a peculiarity to UNIX
programs ported to other systems.  I'm not sure.

Again, thanks.

-- 
Frank Hahn

Re: Different editor for Slrn (Windows 95 version)
#42649
Author: Mike Ching
Date: Sun, 09 Aug 1998 00:00
26 lines
1657 bytes
On 7 Aug 1998 10:02:18 GMT, Frank Hahn <fhahn@zdnetmail.com> wrote:
>For the life of me, I cannot get the Windows 95 version of Slrn
>to use any text editor except for the default dos edit command.
>Modifying the .slrnrc file with different parameters for a different
>editor doesn't help.
>
>Basically, what happens is when I want to post, I never get the editor
>window to come up.  Slrn asks me for the newsgroup, subject, and then
>it asks me if I want to post (yes, no, edit, etc.).  This is as far I can
>get.  If I go back to the .slrnrc file and comment out the editor command,
>I then get the dos edit command as you would expect.
>
>I get the same result using both "jed" and "vim".  I'm guessing it has
>something to do with running these programs in the console.  I'm guessing
>I haven't got something in windows configured correctly.
>
>Any suggestions?  Thanks.
>
>-- 
>Frank Hahn

I use the Win95 version of jed with the following in slrn.rc:

set editor_command "c:\\jed\\bin\\jed386 %s -g %d -tmp"

Re: Different editor for Slrn (Windows 95 version)
#42657
Author: Frank Hahn
Date: Mon, 10 Aug 1998 00:00
24 lines
1615 bytes
In article <exeesv.ti@pirx.ruhr.de>,
	ju@pirx.ruhr.de (Joerg Uecker) writes:
> Frank Hahn <fhahn@zdnetmail.com> wrote:
> 
>> For the life of me, I cannot get the Windows 95 version of Slrn
>> to use any text editor except for the default dos edit command.
> 
> What about renaming jed or vim to edit?

I had not thought about this.  The regular DOS edit command would
probably have to be renamed or the path statement reorganized so
the other files were found first.

The key seems to be the correct number and direction of the slashes
in the path to the program if you do not add the path to the editor
to your PATH statement in the AUTOEXEC.BAT file.

There was a reply from a previous poster which helped me out.

-- 
Frank Hahn


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