🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by David Gerard Sat, 13 Mar 1999 00:00
slrn win32: starting Netscape/IE/Opera properly?
#47285
Author: David Gerard
Date: Sat, 13 Mar 1999 00:00
68 lines
3242 bytes
What is the correct way to start Netscape 3 or 4 from the command line
without starting a second instance? Or, for that matter, Internet
Explorer [*] 3, 4 or 5?

A pointer to the right place to RTFM would be most welcomed :-)



Netscape Gold 3.01 from slrn 0.9.5.4 under Windows 95A: Andy Lord
suggested the following slrn.rc line for starting Netscape properly
from slrn (when you hit 'U') (putting all this on one line):

    set non_Xbrowser "start \"c:\\Program
    Files\\Netscape\\Communicator\\Program\\netscape\" %s &"

- though of course I changed 'Communicator' to 'Navigator' for ver 3.

This, however, started the selected URL but with a space and an
ampersand appended.

So I tried it without the ampersand:

    set non_Xbrowser "start \"c:\\Program
    Files\\Netscape\\Communicator\\Program\\netscape\" %s"

- and it starts the URL okay, but it starts a second instance of
Netscape rather than opening a second window in the current instance,
or even reusing the same window.


With Internet Explorer 3.02 [**] (from slrn 0.9.5.4 under Windows 95A),
as far as I can tell it starts a separate instance for each browser
window anyway (hitting Ctrl-Alt-Del and examining the task list).
The line for this appears to be:

    set non_Xbrowser "start \"c:\\Program Files\\Internet
    Explorer\\iexplore\" %s"

- and on Sunday I'll see how IE 4.01-SP1 does under NT 4.0-SP4.

I know from experience that if one IE 4 window crashes, all the
others (and Windows NT Explorer) do too; I'm not sure whether that
indicates they're all a single instance or is just a symptom of
how deeply into the system IE 4 gets.

I have no plans to touch IE 5 until I absolutely have to.


Opera 3: The following starts Opera 3.21 properly with the page, but
trying to open a second URL does nothing - neither a second instance
nor another window within the first instance. (The help files gave me
no clues on this one.)

    set non_Xbrowser "start \"c:\\Program Files\\Opera\\opera\" %s"

Unfortunately, I deleted my copy of Opera 2, so can't test that.



[*] It's for the sake of the slrn page. Honest.
[**] It's for the sake of testing my pages. Honest.

-- 
http://thingy.apana.org.au/~fun/                   http://xenu.netizen.com.au/
"Your hate is mild and damp and has much of Kraft about it."  (Iceknife)

Re: slrn win32: starting Netscape/IE/Opera properly?
#47278
Author: Peppe
Date: Sat, 13 Mar 1999 00:00
36 lines
1988 bytes
Thus wrote David Gerard <fun@thingy.apana.org.au>

> Netscape Gold 3.01 from slrn 0.9.5.4 under Windows 95A: Andy Lord
> suggested the following slrn.rc line for starting Netscape properly
> from slrn (when you hit 'U') (putting all this on one line):

>     set non_Xbrowser "start \"c:\\Program
>     Files\\Netscape\\Communicator\\Program\\netscape\" %s &"

> This, however, started the selected URL but with a space and an
> ampersand appended.

The ampersand is a unix thing, not relevant under windows.

I'm not sure of netscape options under windows, but you could try

    ...\\netscape\" -remote %s"

This works for me on unix boxes. 

As someone already pointed out, the Xbrowser option is probably the
right one to use. Still, I'm not sure of much when it comes to
windows.

> Opera 3: The following starts Opera 3.21 [...]

Eagerly awaiting the linux port of Opera :-)

Peppe
-- 
Preben Guldberg          __/-\__      "Its not the size of the dog in
c928400@student.dtu.dk    (o o)        the fight, its the size of the
----------------------oOOo (_) oOOo    fight in the dog."
http://www.student.dtu.dk/~c928400/    --Mark Twain

Re: slrn win32: starting Netscape/IE/Opera properly?
#47281
Author: vtailor
Date: Sat, 13 Mar 1999 00:00
76 lines
3554 bytes
Calling the browser from slrn's Win32 version comes under the heading of
arcane practices.  Using
	set non_Xbrowser "explorer %s"
works.  Leave out the path, and leave out the ampersand, which is Unix only.

Calling lynx for Win32 from slrn for Win32 is another story.  You need
a batch file to tell lynx where to find lynx.cfg, and then it doesn't
call all of its helper apps correctly.

On 13 Mar 1999 02:24:09 GMT, David Gerard <fun@thingy.apana.org.au> wrote:
>
>What is the correct way to start Netscape 3 or 4 from the command line
>without starting a second instance? Or, for that matter, Internet
>Explorer [*] 3, 4 or 5?
>
>A pointer to the right place to RTFM would be most welcomed :-)
>
>Netscape Gold 3.01 from slrn 0.9.5.4 under Windows 95A: Andy Lord
>suggested the following slrn.rc line for starting Netscape properly
>from slrn (when you hit 'U') (putting all this on one line):
>
>    set non_Xbrowser "start \"c:\\Program
>    Files\\Netscape\\Communicator\\Program\\netscape\" %s &"
>
>- though of course I changed 'Communicator' to 'Navigator' for ver 3.
>
>This, however, started the selected URL but with a space and an
>ampersand appended.
>
>So I tried it without the ampersand:
>
>    set non_Xbrowser "start \"c:\\Program
>    Files\\Netscape\\Communicator\\Program\\netscape\" %s"
>
>- and it starts the URL okay, but it starts a second instance of
>Netscape rather than opening a second window in the current instance,
>or even reusing the same window.
>
>
>With Internet Explorer 3.02 [**] (from slrn 0.9.5.4 under Windows 95A),
>as far as I can tell it starts a separate instance for each browser
>window anyway (hitting Ctrl-Alt-Del and examining the task list).
>The line for this appears to be:
>
>    set non_Xbrowser "start \"c:\\Program Files\\Internet
>    Explorer\\iexplore\" %s"
>
>- and on Sunday I'll see how IE 4.01-SP1 does under NT 4.0-SP4.
>
>I know from experience that if one IE 4 window crashes, all the
>others (and Windows NT Explorer) do too; I'm not sure whether that
>indicates they're all a single instance or is just a symptom of
>how deeply into the system IE 4 gets.
>
>I have no plans to touch IE 5 until I absolutely have to.
>
>
>Opera 3: The following starts Opera 3.21 properly with the page, but
>trying to open a second URL does nothing - neither a second instance
>nor another window within the first instance. (The help files gave me
>no clues on this one.)
>
>    set non_Xbrowser "start \"c:\\Program Files\\Opera\\opera\" %s"
>
>Unfortunately, I deleted my copy of Opera 2, so can't test that.
>
>
>
>[*] It's for the sake of the slrn page. Honest.
>[**] It's for the sake of testing my pages. Honest.
>
>-- 
>http://thingy.apana.org.au/~fun/                   http://xenu.netizen.com.au/
>"Your hate is mild and damp and has much of Kraft about it."  (Iceknife)

Re: slrn win32: starting Netscape/IE/Opera properly?
#47298
Author: David Gerard
Date: Sun, 14 Mar 1999 00:00
43 lines
2443 bytes
On 13 Mar 1999 13:33:21 GMT, vtailor@gte.net <vtailor@gte.net> wrote:

:Calling the browser from slrn's Win32 version comes under the heading of
:arcane practices.


Getting sensible (e.g. ported Unix) applications doing what you want
under Win32 comes under the heading of arcane practices. Not that this
makes such practices any less worthwhile or of deep and lasting value
to humanity, of course.


:  Using
:	set non_Xbrowser "explorer %s"
:works.  Leave out the path, and leave out the ampersand, which is Unix only.


I worked out the above today. IE4 makes everything *so* much simpler,
and it only has to take over your entire friggin' system to do it.


:Calling lynx for Win32 from slrn for Win32 is another story.  You need
:a batch file to tell lynx where to find lynx.cfg, and then it doesn't
:call all of its helper apps correctly.


Yes. I never did get lynx for Win32 to talk to me, and I'd *really*
like it to. I suspect someone needs to write a page like my slrn one
for lynx32.

If anyone has lynx for Win32 running, could they please tell how they
did it? Email me or web it or I will or SOMETHING dammit. Please.
Today I interfaced IE4 to slrn and I feel dirty.



-- 
http://thingy.apana.org.au/~fun/               http://xenu.netizen.com.au/
"The appropriate course of action is to keep repeating yourself, in 'robot'
mode. My record so far is seven iterations of 'Certainly! What was your
username?'"  (Paul Raj Khangure)

Re: slrn win32: starting Netscape/IE/Opera properly?
#47342
Author: Sylvan Butler
Date: Mon, 15 Mar 1999 00:00
57 lines
2262 bytes
On 14 Mar 1999 09:40:50 GMT, David Gerard <fun@thingy.apana.org.au> wrote:
>Yes. I never did get lynx for Win32 to talk to me, and I'd *really*
>like it to. I suspect someone needs to write a page like my slrn one
>for lynx32.

Having trouble with lynx "standalone" or only when calling from slrn?

Standalone it seems fairly trivial...  The only problem I have had with
Lynx alone, is that it won't use a proxy server.  I use two batch files:

lynx.bat
========
@ECHO OFF
if "%lynx_cfg%"=="" call unixvar

set args=
:argloop
set args=%args% %1
shift
if not "%1"=="" goto argloop

:lynxOK
lynxX %args%
goto done

:done


UnixVar.bat
===========
rem @echo off
rem set up environment variables for unix ported apps
rem MUST support being called multiple times (ie don't just add to path)

rem for VIM
set VIM=x:/vim

rem for Lynx (and VIM)
if "%username%"=="" set username=nobody
set HOME=d:/home/%username%
: make sure that the home dir actually exists
if exist "%HOME%" goto homeok
if not exist d:\home md d:\home
if not exist "%HOME%" md "%HOME%"
:homeok

rem for Lynx
set user=%username%
set lynx_cfg=x:/win32/lynx.cfg
-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
 "Don't Tread On Me!"

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