Thread View: news.software.readers
4 messages
4 total messages
Started by jeff davis
Sun, 20 Sep 1998 00:00
SLRN + Xbrowser
Author: jeff davis
Date: Sun, 20 Sep 1998 00:00
Date: Sun, 20 Sep 1998 00:00
19 lines
1065 bytes
1065 bytes
from the slrn manual: % WWW browser to use. The 'U' key in article mode searches the % current article % for a URL and then calls X browser if slrn appears to be run in X % windows % and non_Xbrowser otherwise. set Xbrowser "netscape %s &" set non_Xbrowser "lynx %s" this works okay, BUT if Netscape is already running it tries to launch a new instance of Netscape ... anyway to prevent that and just have the already open netscape browser follow the URL? Thanks, -- jeff
Re: SLRN + Xbrowser
Author: Heikki Kantola
Date: Sun, 20 Sep 1998 00:00
Date: Sun, 20 Sep 1998 00:00
41 lines
2151 bytes
2151 bytes
jeff davis <jeff@photuris.jehosophat.com> informed news.software.readers with the following: >from the slrn manual: > > % WWW browser to use. The 'U' key in article mode searches the > % current article > % for a URL and then calls X browser if slrn appears to be run in X > % windows > % and non_Xbrowser otherwise. > set Xbrowser "netscape %s &" > set non_Xbrowser "lynx %s" > >this works okay, BUT if Netscape is already running it tries to launch a new >instance of Netscape ... anyway to prevent that and just have the already open >netscape browser follow the URL? The nearly complete slrn.rc-file which comes in slrn distribution has following commented out: %set Xbrowser "netscape -remote 'openURL(%s)' &" And if one would want to further improve that, you could try following shell script, which starts new netscape if one isn't running yet: #!/bin/sh if netscape -remote "openURL($1,new-window)" then true else netscape $1 & fi Of course if one doesn't prefer new windows, you can loose the "new- window" part... Also be noted that new netscape processes started by slrn will be terminated when you quit slrn. -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: SLRN + Xbrowser
Author: Per Steinar Iversen
Date: Sun, 20 Sep 1998 00:00
Date: Sun, 20 Sep 1998 00:00
41 lines
2224 bytes
2224 bytes
On 20 Sep 1998 09:49:09 GMT, Heikki Kantola <hezu@iki.fi> wrote: >jeff davis <jeff@photuris.jehosophat.com> informed >news.software.readers with the following: >>from the slrn manual: >> >> % WWW browser to use. The 'U' key in article mode searches the >> % current article >> % for a URL and then calls X browser if slrn appears to be run in X >> % windows >> % and non_Xbrowser otherwise. >> set Xbrowser "netscape %s &" >> set non_Xbrowser "lynx %s" >> >>this works okay, BUT if Netscape is already running it tries to launch a new >>instance of Netscape ... anyway to prevent that and just have the already open >>netscape browser follow the URL? > >The nearly complete slrn.rc-file which comes in slrn distribution has >following commented out: > %set Xbrowser "netscape -remote 'openURL(%s)' &" > >And if one would want to further improve that, you could try following >shell script, which starts new netscape if one isn't running yet: > #!/bin/sh > if netscape -remote "openURL($1,new-window)" > then true > else netscape $1 & > fi > >Of course if one doesn't prefer new windows, you can loose the "new- >window" part... > >Also be noted that new netscape processes started by slrn will be >terminated when you quit slrn. This seems to have been broken with Netscape 4.5b2 under Linux at least, it worked OK with 4.5b1. Sigh! -psi
Re: SLRN + Xbrowser
Author: David M. Cook
Date: Tue, 22 Sep 1998 00:00
Date: Tue, 22 Sep 1998 00:00
21 lines
1229 bytes
1229 bytes
On 20 Sep 1998 11:04:52 GMT, Per Steinar Iversen <PerSteinar.Iversen@adm.hioslo.no> wrote: >This seems to have been broken with Netscape 4.5b2 under Linux at >least, it worked OK with 4.5b1. Sigh! Works fine with my copy of 4.5b2 (glibc2 version). I call the following script: #!/bin/sh if /sbin/pidof netscape > /dev/null; then exec netscape -remote "openURL($1)" > /dev/null else exec nohup netscape $1 > /dev/null & fi Dave Cook
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