Article View: news.software.readers
Article #145170Re: [slrn] open URL into mozilla firefox?
From: Max
Date: Wed, 24 Mar 2004 09:13
Date: Wed, 24 Mar 2004 09:13
56 lines
2824 bytes
2824 bytes
On 03-23-2004, in news.software.readers, Larry Gagnon <lagagnon@fakeuniserve.com> wrote: > On Tue, 23 Mar 2004 18:09:32 -0000, Larry Gagnon ><lagagnon@fakeuniserve.com> wrote: >> I wish to be able to open a clicked URL from slrn into mozilla >> firefox. I have put the following line in my .slrnrc, but it >> does not work: >> >> set Xbrowser "firebird -remote 'openURL(%s, new-tab)'" >> >> Any ideas what I am doing wrong would be greatly appreciated. >> >> Larry Gagnon >> > Hello everyone - thanks for all your replies. By the way if you > have "set mouse 1" enabled you can actually click on a link in > slrn, and then hit return to launch the URL into your browser. I've used slrn in a number of environments, called from most sources, and have never noticed slrn mouse functions to work as you state above. Mouse handling under Slrn stinks. IMHO, why does slrn need to make use of the mouse so badly (See sources for mc). Mouse handling under Midnight Commander is almost perfect. Why not slrn?. Both are non-gui intended apps right? > I figured out a sort of fix to the above, it works of firefox is > already open and running, but will not work for some reason, if > firefox is not loaded. Any ideas there? This is what I do: Note that under linux there usually isn't the one *best* way to do any *one* thing. $MSGates types fear this... I put the following into a script "callmoz.sh": (Mind the line wrap) and call it via the Xbrowser variable under slrn-> (You can do better). ## ps x |grep -q '[m]ozilla' && mozilla -remote "openURL($1,new-tab)" \ || mozilla $1 & ## Can handle whether or not the browser is active. If it is, shuttle the web pages to it as new tabs. If not, start it up and do the same. You'll have to mod *it* based on your situation. Works in other places beside slrn. HTHs Max -- This is Linux country my good man, on a quiet night you can hear the sound of Windows rebooting.
Technical Details
Message-ID:
<slrnc62l2k.20t.argos2112@nowhere.invalid>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!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!host-216-76-230-43.jan.bellsouth.NET!not-for-mailReferences:
<1060vasiu5arje1@corp.supernews.com> <1061ep1gtv9dv89@corp.supernews.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnc62l2k.20t.argos2112@nowhere.invalid> Subject: Re: [slrn] open URL into mozilla firefox? Date: Wed, 24 Mar 2004 09:13:57 +0000 From: Max <argos2112@bellsouth.net> References: <1060vasiu5arje1@corp.supernews.com> <1061ep1gtv9dv89@corp.supernews.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!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!host-216-76-230-43.jan.bellsouth.NET!not-for-mail Newsgroups: news.software.readers Lines: 55 NNTP-Posting-Host: host-216-76-230-43.jan.bellsouth.net (216.76.230.43) X-Trace: news.uni-berlin.de 1080119637 78448351 I 216.76.230.43 ([214296]) User-Agent: slrn/0.9.8.0 (Linux)