Article View: news.software.readers
Article #34702Re: Fancy urls patch for slrn 0.9.4.1
From: Lloyd Zusman
Date: Sun, 29 Jun 1997 00:00
Date: Sun, 29 Jun 1997 00:00
42 lines
1812 bytes
1812 bytes
On 29 Jun 1997 11:20:37 GMT, David M. Cook <dmcook@cts.com> wrote:
> On 27 Jun 97 13:38:56 GMT, root <vischne@ibm.net-nospam> wrote:
>
> >What happens when slrn is running in an rxvt window, you press `capital-u'
> >to start a URL, the called-up web browser gets to a web site and calls an
> >external vieweer? Really messes up the slrn/rxvt screen, and pushing `ctrl-
> >u' or `q' doesn't clean things up.
>
> What command are you using to invoke the browser? I use a little script
> to invoke netscape:
>
> #!/bin/sh
>
> if killall -0 netscape 2> /dev/null;
> then
> netscape -remote "openURL($1)"
> else
> netscape $1 &
> fi
>
> This does not leave junk in the slrn window.
>
> Dave Cook
The following variation also works:
#!/bin/sh
# This assumes that netscape is in your path. Otherwise, use the
# full pathname for netscape.
[ $# -gt 0 ] && {
netscape -remote "openUrl($1)" || netscape "$1"
} 1>/dev/null 2>&1 &
--
Lloyd Zusman
ljz@asfast.com
Technical Details
Message-ID:
<slrn5rcu16.j1.asfast@ljz.asfast.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn5plqku.774.davis@aluche.mit.edu> <slrn5pq4bu.km4.olly@noxious.muscat.co.uk> <slrn5r2kqb.cau.olly@noxious.muscat.co.uk> <33b3c270.0@news2.ibm.net> <slrn5rch58.db3.dmcook@mozart.cts.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn5rcu16.j1.asfast@ljz.asfast.net> Subject: Re: Fancy urls patch for slrn 0.9.4.1 Date: Sun, 29 Jun 1997 00:00:00 +0000 From: asfast@asfast.com (Lloyd Zusman) References: <slrn5plqku.774.davis@aluche.mit.edu> <slrn5pq4bu.km4.olly@noxious.muscat.co.uk> <slrn5r2kqb.cau.olly@noxious.muscat.co.uk> <33b3c270.0@news2.ibm.net> <slrn5rch58.db3.dmcook@mozart.cts.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 253429794 X-Newsgroup: news.software.readers Organization: As Fast Reply-To: ljz@asfast.com (Lloyd Zusman) Newsgroups: news.software.readers