🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Bill Nottingham Thu, 09 May 1996 00:00
slrn: URL-goto problem
#21476
Author: Bill Nottingham
Date: Thu, 09 May 1996 00:00
13 lines
903 bytes
Is there a way to not have the browser that's started by
the URL-goto killed when slrn exits?

Bill
-- 
This post is a work of fiction.  Any resemblance between the views
and characters expressed in this post to the likeness, opinions or
views of any person, living, dead, undead, or employee of the IBM
Corporation or any of its subsidiaries, is purely conincidental.


Re: slrn: URL-goto problem
#21461
Author: Felix von Leitner
Date: Thu, 09 May 1996 00:00
40 lines
1628 bytes
-----BEGIN PGP SIGNED MESSAGE-----

On 9 May 1996 20:18:46 GMT, Bill Nottingham <notting@raleigh.ibm.com> wrote:
> Is there a way to not have the browser that's started by
> the URL-goto killed when slrn exits?

Yes.  Set Xbrowser to a shell script that starts the browser in the
background.

BTW: My Xbrowser is set to Netscape, which is this shell script:

#!/usr/contrib/bin/zsh
if [[ ${1:-/dev/mouse} = /dev/mouse ]]; then
  param="about:"
else
  param=$1
fi
netscape -remote openurl\($param,new-window\)
if [[ $? != 0 ]]; then
  netscape $param &
fi

This has the nice effect that if Netscape is already running, a new
window is opened, not a whole new Netscape is started.

Felix

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBMZJglB/Da1Yoy+f1AQGfawP+OC826pq6jzfLKAFFBXuLowNqEpe2Oupl
/xQqO/4T1qklI5irv0e/ya1hecTw05HqYoXxvv7NHUKgTNdF3BOooSPge2W4f4XT
DjMU9zZLG3moUjrUz/HU6AIKHqDlvilVKZbMIbMZ8YjaCBx+u8Z+jMv+2I6njf9B
VcCBLCmx42k=
=x2Lg
-----END PGP SIGNATURE-----


Re: slrn: URL-goto problem
#21477
Author: David Mears
Date: Thu, 09 May 1996 00:00
17 lines
1060 bytes
Bill Nottingham (notting@raleigh.ibm.com) wrote:

> Is there a way to not have the browser that's started by
> the URL-goto killed when slrn exits?

How about if you configure it so instead of running the browser directly,
it runs a shell script which runs the browser in the background?  If you
have netscape for your browser, you can use the -remote option to connect
to an existing netscpae browser.

David B. Mears
Hewlett-Packard
Cupertino CA
mears@cup.hp.com

Re: slrn: URL-goto problem
#21534
Author: Bill Nottingham
Date: Sat, 11 May 1996 00:00
33 lines
1660 bytes
Felix von Leitner said:
>On 9 May 1996 20:18:46 GMT, Bill Nottingham <notting@raleigh.ibm.com> wrote:
>> Is there a way to not have the browser that's started by
>> the URL-goto killed when slrn exits?
>
>Yes.  Set Xbrowser to a shell script that starts the browser in the
>background.
<script snipped>

The problem is, I'm already doing that. :)

My script is:

#!/bin/sh
netscape -remote "openURL($1,new-window)" 2>/dev/null || netscape $1 &

If it just opens a new window, it won't kill netscape when slrn
exits; however, if it has to start a new process it will kill it
upon exit.

Would it be killing it because exiting slrn also exits the shell
and rxvt that slrn runs under?

Bill, a little confused on his process management...
-- 
This post is a work of fiction.  Any resemblance between the views
and characters expressed in this post to the likeness, opinions or
views of any person, living, dead, undead, or employee of the IBM
Corporation or any of its subsidiaries, is purely conincidental.


Re: slrn: URL-goto problem
#21588
Author: John E. Davis
Date: Sun, 12 May 1996 00:00
17 lines
1259 bytes
On 11 May 1996 16:13:28 GMT, Bill Nottingham <notting@raleigh.ibm.com>
wrote:
 : Would it be killing it because exiting slrn also exits the shell
 : and rxvt that slrn runs under?

It is possible that the shell sends all its children and SIGHUP signal and
that netscape catches this and exits.  You might try running netscape under
the `nohup' command, e.g., `nohup netscape %s &'.

-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


Re: slrn: URL-goto problem
#21689
Author: Bill Nottingham
Date: Wed, 15 May 1996 00:00
27 lines
1636 bytes
John E. Davis said:
>On 11 May 1996 16:13:28 GMT, Bill Nottingham <notting@raleigh.ibm.com>
>wrote:
> : Would it be killing it because exiting slrn also exits the shell
> : and rxvt that slrn runs under?
>
>It is possible that the shell sends all its children and SIGHUP signal and
>that netscape catches this and exits.  You might try running netscape under
>the `nohup' command, e.g., `nohup netscape %s &'.

Didn't work. As it stands now, if the shell starts slrn automatically,
it fails (NS is killed). If I start slrn in the shell, it works.
Maybe my computer's just instinctively rejecting the point-and-drool
interface.

Bill
-- 
This post is a work of fiction.  Any resemblance between the views
and characters expressed in this post to the likeness, opinions or
views of any person, living, dead, undead, or employee of the IBM
Corporation or any of its subsidiaries, is purely conincidental.




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