Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[slrn] Correct syntax for Firefox + Windows slrn?

2 views
Skip to first unread message

andrew

unread,
Dec 19, 2009, 1:49:16 AM12/19/09
to
Hi,

I am trying to call Firefox from a URL within the Windows slrn with
variations of the following syntax:

#v+
set Xbrowser "C:/Program\ Files/Mozilla\ Firefox/firefox.exe %s &"
#v-

with pretty consistent failure to launch Firefox at all. Can anybody
point me in the right direction with this one? Running under Windows
7.

Andrew

--
Do you think that's air you're breathing?

Robert Grimm

unread,
Dec 19, 2009, 2:37:52 AM12/19/09
to
andrew <and...@skamandros.invalid> wrote:
> I am trying to call Firefox from a URL within the Windows slrn with
> variations of the following syntax:

> set Xbrowser "C:/Program\ Files/Mozilla\ Firefox/firefox.exe %s &"

Slrn will not use Xbrowser on Windows, will it? It is used only, if
getenv ("DISPLAY") != NULL.
Though, I don't have a Windows to test.

Rob
--
Schlechte Argumente bek�mpft man am besten,
indem man ihre Darlegung nicht st�rt.
--Sir Alec Guinness

W. Citoan

unread,
Dec 19, 2009, 9:04:49 AM12/19/09
to
andrew wrote:
> Hi,
>
> I am trying to call Firefox from a URL within the Windows slrn with
> variations of the following syntax:
>
> #v+
> set Xbrowser "C:/Program\ Files/Mozilla\ Firefox/firefox.exe %s &"
> #v-
>
> with pretty consistent failure to launch Firefox at all. Can anybody
> point me in the right direction with this one? Running under Windows
> 7.

The following works under XP & Vista. I don't have a Windows 7 system
to test, but assume it still has the "start" command...

#v+
set non_Xbrowser "start \"\" \"C:/Program\ Files/Mozilla\ Firefox/firefox.exe\" \"%s\""
#v-

Adjust if your Firefox is installed in a different path.

- W. Citoan
--
Claiming that your operating system is the best in the world because more
people use it is like saying McDonalds makes the best food in the world.
-- Anonymous

Troy Piggins

unread,
Dec 19, 2009, 2:05:02 PM12/19/09
to
* andrew wrote :

> Hi,
>
> I am trying to call Firefox from a URL within the Windows slrn with
> variations of the following syntax:
>
> #v+
> set Xbrowser "C:/Program\ Files/Mozilla\ Firefox/firefox.exe %s &"
> #v-
>
> with pretty consistent failure to launch Firefox at all. Can anybody
> point me in the right direction with this one? Running under Windows
> 7.
>
> Andrew

As Citoan suggested, you will probably have to escape all those
forward and back slashes. I've had similar cases where I had to
escape them, then escape the escape slashes to get the patterns
to work - not with slrn, but with mutt.

I haven't tried this on Windows, so would have to try Citoan's
suggestion on using "start" at the beginning and getting rid of
"&" at end (does send to bg even work on Win?).

--
Troy Piggins

andrew

unread,
Dec 19, 2009, 4:51:39 PM12/19/09
to
On 2009-12-19, W. Citoan <wci...@NOSPAM-yahoo.com> wrote:

> The following works under XP & Vista. I don't have a Windows 7 system
> to test, but assume it still has the "start" command...
>
> #v+
> set non_Xbrowser "start \"\" \"C:/Program\ Files/Mozilla\ Firefox/firefox.exe\" \"%s\""
> #v-

The 'start' command still exists but that syntax fails on my Windows 7
system. I must be missing something very obvius I suspect, the path to
irefox is the same....

andrew

unread,
Dec 19, 2009, 4:51:40 PM12/19/09
to
On 2009-12-19, Troy Piggins <usene...@piggo.com> wrote:

> I haven't tried this on Windows, so would have to try Citoan's
> suggestion on using "start" at the beginning and getting rid of
> "&" at end (does send to bg even work on Win?).

I am not sure, I feel like I am feeling my way around in the dark with
slrn and windows :).

andrew

unread,
Dec 19, 2009, 11:05:08 PM12/19/09
to
On 2009-12-19, andrew <and...@skamandros.invalid> wrote:
> On 2009-12-19, W. Citoan <wci...@NOSPAM-yahoo.com> wrote:

>> #v+
>> set non_Xbrowser "start \"\" \"C:/Program\ Files/Mozilla\ Firefox/firefox.exe\" \"%s\""
>> #v-
>
> The 'start' command still exists but that syntax fails on my Windows 7
> system. I must be missing something very obvius I suspect, the path to
> irefox is the same....

As usual it was something idiotic that I was doing and of course this
syntax now works perfectly on Windows 7. I thank you very much for
suggesting this and putting yet another piece of the puzzle together
for slrn under windows for me :).

I note in passing that courtesy of the improved console under Windows
7 + easier access to the Consolas font Ancient Greek support is pretty
much perfect:

ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν...

Not a small thing for a humble student of the language :).

andrew

unread,
Dec 19, 2009, 11:13:07 PM12/19/09
to
On 2009-12-20, andrew <and...@skamandros.invalid> wrote:

> I note in passing that courtesy of the improved console under Windows
> 7 + easier access to the Consolas font Ancient Greek support is pretty
> much perfect:
>
> ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
> πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν...
>
> Not a small thing for a humble student of the language :).

http://www.andrews-corner.org/samples/windows_slrn_greek.png

And for the barbarians:

Speak to me, Muse, of the man of many wiles, he who suffered
many things, after he sacked the holy city of Troy...

Mike Yetto

unread,
Dec 20, 2009, 1:02:50 PM12/20/09
to
Bada bing andrew <and...@skamandros.invalid> bada bang:

> On 2009-12-19, Troy Piggins <usene...@piggo.com> wrote:
>
>> I haven't tried this on Windows, so would have to try Citoan's
>> suggestion on using "start" at the beginning and getting rid of
>> "&" at end (does send to bg even work on Win?).
>
> I am not sure, I feel like I am feeling my way around in the dark with
> slrn and windows :).
>

Try to avoid cutting your hand on an octothorpe.

Mike "all those sharp little points" Yetto
--
In theory, theory and practice are the same.
In practice they are not.

Peter J Ross

unread,
Dec 24, 2009, 12:32:49 PM12/24/09
to
In news.software.readers on 19 Dec 2009 21:51:40 GMT, andrew
<and...@skamandros.invalid> wrote:

> On 2009-12-19, Troy Piggins <usene...@piggo.com> wrote:
>
>> I haven't tried this on Windows, so would have to try Citoan's
>> suggestion on using "start" at the beginning and getting rid of
>> "&" at end (does send to bg even work on Win?).
>
> I am not sure, I feel like I am feeling my way around in the dark with
> slrn and windows :).
>
> Andrew

The next step, for 2010, is to get slrn running on mobile devices. :-)


--
PJR :-)
slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator

Peter J Ross

unread,
Dec 24, 2009, 12:28:59 PM12/24/09
to
In news.software.readers on 20 Dec 2009 04:13:07 GMT, andrew
<and...@skamandros.invalid> wrote:

http://pjr.lasnobberia.net/tmp/odyssey.mp3

You can do the next few lines, if you like.

Christmas is a time for giving, and what better gift could there be
than some of the best poetry ever written?

andrew

unread,
Dec 24, 2009, 6:08:26 PM12/24/09
to
On 2009-12-24, Peter J Ross <p...@example.invalid> wrote:

> http://pjr.lasnobberia.net/tmp/odyssey.mp3
>
> You can do the next few lines, if you like.

I am not sure if you are ready for Homer spoken with a broad
Australian accent :).

Peter J Ross

unread,
Dec 24, 2009, 6:33:27 PM12/24/09
to
In news.software.readers on 24 Dec 2009 23:08:26 GMT, andrew
<and...@skamandros.invalid> wrote:

> On 2009-12-24, Peter J Ross <p...@example.invalid> wrote:
>
>> http://pjr.lasnobberia.net/tmp/odyssey.mp3
>>
>> You can do the next few lines, if you like.
>
> I am not sure if you are ready for Homer spoken with a broad
> Australian accent :).

Go on, mate. I dare you!

0 new messages