🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by David Goh Thu, 06 Nov 1997 00:00
Re: Slrn: Asynchronous Web Browsers
#36919
Author: David Goh
Date: Thu, 06 Nov 1997 00:00
40 lines
1842 bytes
In news.software.readers, on 5 Nov 1997 15:28:51 GMT
Mark K. Gardner <mkgardne@cs.uiuc.edu> wrote:
>[Configuration: slrn v0.9.4.3 on x86/Linux, sparc/Solaris]
>Here are the relevant lines from my .slrnrc (both causing the undesirable
>behaviour).
>set Xbrowser "rxvt -e lynx %s &"
>%set Xbrowser "netscape %s &"
>
>What should I be doing instead?

Mm... Try:

set Xbrowser "nohup rxvt -e lynx %s &"
%set Xbrowser "nohup netscape %s &"

I'm not certain that will work, so test it first... I suspect that rxvt
and netscape are receiving SIGHUP when slrn exits, and both probably
hang up.  nohup should cause SIGHUP to get ignored... But that may not
entirely be the case.

Or else, if you the 'toolwait' program exists on your system and you
want the browser to become completely disconnected, you could do:

set Xbrowser "toolwait rxvt -e lynx %s"
%set Xbrowser "toolwait netscape %s"

That should work, because the toolwait program should disconnect
the subprogram entirely from slrn.

Later,

   David

-- 
Unico   Computer   Systems   Pty   Ltd
David Goh            Software Engineer
david@unico.com.au      (03) 9866 5688

Re: Slrn: Asynchronous Web Browsers
#36950
Author: David M. Cook
Date: Sat, 08 Nov 1997 00:00
31 lines
1273 bytes
On 6 Nov 1997 02:00:44 GMT, David Goh <david@unico.com.au> wrote:

>set Xbrowser "nohup rxvt -e lynx %s &"
>%set Xbrowser "nohup netscape %s &"

[...]

>set Xbrowser "toolwait rxvt -e lynx %s"
>%set Xbrowser "toolwait netscape %s"

nohup works for me, but xtoolwait does not.  Here's the script I use to
start netscape;

-------------8<---------------
#!/bin/sh

if killall -0 netscape 2> /dev/null; 
then
  exec nohup netscape -remote "openURL($1)" > /dev/null
else
  exec nohup netscape $1 > /dev/null & 
fi  

------------8<----------------

Not sure if the exec is necessary (and perhaps redundant with the &).  

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