🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
29 messages
29 total messages Started by Lars Stokholm Sat, 17 Apr 2004 18:17
[slrn] Xbrowser in Windows XP, what's wrong?
#146552
Author: Lars Stokholm
Date: Sat, 17 Apr 2004 18:17
10 lines
1421 bytes
Slrn will not have me using an Xbrowser instead of a non_Xbrowser.
If I define only an Xbrowser, I get this error when launching URLs:
"No Web Browser has been defined". I guess it's because the $DISPLAY
environment variable is unset (am I wrong?). How do I get slrn to
use the defined Xbrowser?

Actually I'm asking because of this: when I launch URLs, slrn is
suspended until I close the browser window - I think it's very
annoying. Is this avoided by using the Xbrowser instead of the
non_Xbrowser? If not, is there anything else I can do about it?
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146554
Author: pkd
Date: Sat, 17 Apr 2004 18:33
15 lines
1746 bytes
On Sat, 17 Apr 2004, Lars Stokholm wrote:
> 
> Actually I'm asking because of this: when I launch URLs, slrn is
> suspended until I close the browser window - I think it's very
> annoying. Is this avoided by using the Xbrowser instead of the
> non_Xbrowser? 

don't think so...

> If not, is there anything else I can do about it?

try using a batch file which in turn calls your browser.

-- 
pat metheny, dave holland, roy haynes - question and answer/all the things you are 
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146563
Author: Lars Stokholm
Date: Sat, 17 Apr 2004 18:53
5 lines
1110 bytes
pkd wrote:

> try using a batch file which in turn calls your browser.

Clever. :) Thanks.
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146566
Author: Blinky the Shark
Date: Sat, 17 Apr 2004 22:56
29 lines
2343 bytes
Lars Stokholm wrote:

> Slrn will not have me using an Xbrowser instead of a non_Xbrowser.
> If I define only an Xbrowser, I get this error when launching URLs:
> "No Web Browser has been defined". I guess it's because the $DISPLAY
> environment variable is unset (am I wrong?). How do I get slrn to
> use the defined Xbrowser?

I don't know much about this stuff, and I don't know what an Xbrowser is.

That said, all I have are:

BROWSER=kfmclient openProfile webbrowsing
DISPLAY=:0.0

> Actually I'm asking because of this: when I launch URLs, slrn is
> suspended until I close the browser window - I think it's very
> annoying. Is this avoided by using the Xbrowser instead of the
> non_Xbrowser? If not, is there anything else I can do about it?

Does Xbrowser mean graphical browser, rather than text browser?  Slrn
opens Opera, here.  If Xbrowser doesn't mean graphical browser, ignore
whole post, as it's undoubtedly worthless.  :) 

-- 
Blinky                                              Linux RU 4892F
Nigerian Scam From Space                http://snipurl.com/iss419
The Ugliest Cars (mildly adult)         http://snipurl.com/ugliest 
New Windows - Don't Wait For Longhorn!  http://snipurl.com/newwin 
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146570
Author: W. Citoan
Date: Sun, 18 Apr 2004 00:10
25 lines
1903 bytes
On Sat, 17 Apr 2004 20:17:51 +0200, Lars Stokholm wrote:
>  Slrn will not have me using an Xbrowser instead of a non_Xbrowser.
>  If I define only an Xbrowser, I get this error when launching URLs:
>  "No Web Browser has been defined". I guess it's because the $DISPLAY
>  environment variable is unset (am I wrong?). How do I get slrn to use
>  the defined Xbrowser?

I had the same problem.  Your guess seems logical, but I haven't seen an
"official" explanation.

>  Actually I'm asking because of this: when I launch URLs, slrn is
>  suspended until I close the browser window - I think it's very
>  annoying. Is this avoided by using the Xbrowser instead of the
>  non_Xbrowser? If not, is there anything else I can do about it?

I defined it as follows:

   set non_Xbrowser "start %s"

That causes the default browser to be used (FireFox for me) and slrn is
not suspended.  All works fine.  YMMV.

- W. Citoan
-- 
What signature?
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146572
Author: W. Citoan
Date: Sun, 18 Apr 2004 00:27
13 lines
1330 bytes
On 17 Apr 2004 22:56:43 GMT, Blinky the Shark wrote:
>  
>  I don't know much about this stuff, and I don't know what an Xbrowser
>  is.

He's talking about the Xbrowser and non_Xbrowser configuration variables
for slrn.  Xbrowser defines the command to be used to start a graphical
web browser and non_Xbrowser defines the command to start a text web
browser.

- W. Citoan
-- 
What signature?
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146580
Author: Blinky the Shark
Date: Sun, 18 Apr 2004 02:21
26 lines
1943 bytes
W. Citoan wrote:
> On 17 Apr 2004 22:56:43 GMT, Blinky the Shark wrote:

>>  I don't know much about this stuff, and I don't know what an Xbrowser
>>  is.

> He's talking about the Xbrowser and non_Xbrowser configuration variables
> for slrn.  Xbrowser defines the command to be used to start a graphical
> web browser and non_Xbrowser defines the command to start a text web
> browser.

D'oh.  I thought he was talking about an environment variable.  My bad.

I have

set Xbrowser "opera '%s' &"

So what the heck is this environment variable actually doing?

DISPLAY=:0.0

-- 
Blinky                                              Linux RU 4892F
Nigerian Scam From Space                http://snipurl.com/iss419
The Ugliest Cars (mildly adult)         http://snipurl.com/ugliest 
New Windows - Don't Wait For Longhorn!  http://snipurl.com/newwin 
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146584
Author: Lars Stokholm
Date: Sun, 18 Apr 2004 04:03
40 lines
2406 bytes
W. Citoan wrote:

> set non_Xbrowser "start %s"

Try this out:

  http://www.google.dk/search?hl=da&ie=UTF-8&oe=UTF-8&q=test&meta=

Does it work with this URL? Here, launching it results in this text
in slrn's window (I get to see it by suspending slrn, when I compose
an article for example):

  'ie' is not recognized as an internal or external command,
  operable program or batch file.
  'oe' is not recognized as an internal or external command,
  operable program or batch file.
  'q' is not recognized as an internal or external command,
  operable program or batch file.
  'meta' is not recognized as an internal or external command,
  operable program or batch file.

...and the browser (in this case IE :-O) gets only part of the URL:

  http://www.google.dk/search?hl=da

Of course I get the same result from executing this command in the
command prompt:

  start http://www.google.dk/search?hl=da&ie=UTF-8&oe=UTF-8&q=test&meta=

> ... slrn is not suspended.

That's right, I would prefer this over the batchfile-workaround, if
it also handled URLs like the above. This /does/ handle that URL:

  "batchfile \"%s\""

...the escaped quotation is needed. Trying this quotation out,
together with 'start' (that is "start \"%s\"") opens a command
prompt with the URL as the title - not exactly what I want. ;)
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146585
Author: Lars Stokholm
Date: Sun, 18 Apr 2004 04:13
20 lines
1802 bytes
Blinky the Shark wrote:

> I thought he was talking about an environment variable.

Actually I'm talking about both. :) Does the $DISPLAY variable need
to be set, in order to get slrn to choose the Xbrowser instead of
the non_Xbrowser, when launching URLs? Right now slrn doesn't see
the Xbrowser as an alternative (why?).

> set Xbrowser "opera '%s' &"

That alone would result in "No Web Browser has been defined" here.

> So what the heck is this environment variable actually doing?

Something magical, so that slrn will use your Xbrowser, maybe? :)

> DISPLAY=:0.0

Where exactly do you have this line?
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146586
Author: Lars Stokholm
Date: Sun, 18 Apr 2004 04:27
13 lines
1338 bytes
Lars Stokholm wrote:

> "batchfile \"%s\""

This seems to do the magic too:

  "start iexplore \"%s\""

...but I'd still prefer not targeting a specific browser in slrn's
configuration file - so should I one day fall in love with Mozilla,
I wouldn't have to mess with it again.

So why doesn't "start %s" work for me?
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146591
Author: Blinky the Shark
Date: Sun, 18 Apr 2004 06:22
37 lines
2488 bytes
Lars Stokholm wrote:

> Blinky the Shark wrote:

>> I thought he was talking about an environment variable.

> Actually I'm talking about both. :) Does the $DISPLAY variable need
> to be set, in order to get slrn to choose the Xbrowser instead of
> the non_Xbrowser, when launching URLs? Right now slrn doesn't see
> the Xbrowser as an alternative (why?).

I don't know -- does 0.0 count as a setting?

All I know is that slrn passes URLs to Opera, because I've set it so.

>> set Xbrowser "opera '%s' &"

> That alone would result in "No Web Browser has been defined" here.

Then I guess 0.0 does count as a setting.

>> So what the heck is this environment variable actually doing?

> Something magical, so that slrn will use your Xbrowser, maybe? :)

>> DISPLAY=:0.0

> Where exactly do you have this line?

Beats me.  It shows up when I do an env.  I dunno where any of it
comes from.   :)

-- 
Blinky                                              Linux RU 4892F
Nigerian Scam From Space                http://snipurl.com/iss419
The Ugliest Cars (mildly adult)         http://snipurl.com/ugliest 
New Windows - Don't Wait For Longhorn!  http://snipurl.com/newwin 
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146598
Author: Lars Stokholm
Date: Sun, 18 Apr 2004 08:19
27 lines
2351 bytes
Blinky the Shark wrote:

>>> DISPLAY=:0.0

>> Where exactly do you have this line?

> Beats me. It shows up when I do an env.

How do you "do an env"? :) The only thing I can think of is a 'set'
command from the command prompt. But that would give me '=0.0' and
not '=:0.0', so I guess I'm missing something here.

> I dunno where any of it comes from. :)

I think I might know. If I set DISPLAY as an environment variable
in Windows (from Control Panel -> System -> Advanced), slrn will use
the Xbrowser. I don't know why setting it to zero will do. Zero seems
like a 'false' number to me. ;)

I noticed this: slrn will also be suspended when using the Xbrowser,
only now one will get to keep the current view of the interface. When
using the non_Xbrowser, one will instead be sent back to the startup
screen (you know the one where you have "Reading startup file ..."
and so on). Wierd behavior in the case with Xbrowser, and not the one
I was looking for anyway, so I think I will stay with "start iexplore
\"%s\"" and use the non_Xbrowser (to kill the need for a DISPLAY
environment variable). But still I'd like it if "start %s" worked.
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146605
Author: Jernej
Date: Sun, 18 Apr 2004 09:59
13 lines
2011 bytes
on 18 Apr 2004 06:22:03 GMT, Blinky the Shark wrote:

> Beats me.  It shows up when I do an env.  I dunno where any of it
> comes from.   :)

DISPLAY should be set when you want to run X programs - it tells
applications what X server to contact for graphical output.

-- 
begin  .sig
<   Jernej Simon+AQ0-i+AQ0-   >+Jco-<   jernej simoncic at guest arnes si   >
< http://deepthought.ena.si/ >< http://www2.arnes.si/~sopjsimo/ >
end
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146618
Author: W. Citoan
Date: Sun, 18 Apr 2004 12:41
17 lines
1775 bytes
On Sun, 18 Apr 2004 11:59:55 +0200, Jernej =?utf-7?Q?Simon+AQ0-i+AQ0-?=
wrote:
>  on 18 Apr 2004 06:22:03 GMT, Blinky the Shark wrote:
>  
> > Beats me.  It shows up when I do an env.  I dunno where any of it
> > comes from.   :)
>  
>  DISPLAY should be set when you want to run X programs - it tells
>  applications what X server to contact for graphical output.

I think folks aren't paying attention to the subject line! :-)  Lars is
running on Windows XP.  While your descriptions are correct, they are
for Linux and not Windows.

- W. Citoan
-- 
What signature?
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146619
Author: W. Citoan
Date: Sun, 18 Apr 2004 12:53
49 lines
3391 bytes
On Sun, 18 Apr 2004 10:19:50 +0200, Lars Stokholm wrote:
>  Blinky the Shark wrote:
>  
> >>> DISPLAY=:0.0
>  
> >> Where exactly do you have this line?
>  
> > Beats me. It shows up when I do an env.
>  
>  How do you "do an env"? :) The only thing I can think of is a 'set'
>  command from the command prompt. But that would give me '=0.0' and
>  not '=:0.0', so I guess I'm missing something here.

env is a shell command that would be used on Linux (or cygwin on top of
Windows).  I think some folks missed the subject line of your post...
  
> > I dunno where any of it comes from. :)
>  
>  I think I might know. If I set DISPLAY as an environment variable in
>  Windows (from Control Panel -> System -> Advanced), slrn will use the
>  Xbrowser. I don't know why setting it to zero will do. Zero seems
>  like a 'false' number to me. ;)

Since Windows doesn't use the DISPLAY environment variable, setting it
shouldn't have any ill effects.  In Linux, it tells which display to use
for graphical applications.  Therefore, slrn checks it to see if you a
X11 running and then will use Xbrowser.  If you don't have DISPLAY set,
then you must be running at the console and it uses non_Xbrowser for a
text bases browser.

By having both, you can use the same setup file for both when your
sitting at the computer and if you're remote logged in.

>  I noticed this: slrn will also be suspended when using the Xbrowser,
>  only now one will get to keep the current view of the interface. When
>  using the non_Xbrowser, one will instead be sent back to the startup
>  screen (you know the one where you have "Reading startup file ..."
>  and so on). Wierd behavior in the case with Xbrowser, and not the one
>  I was looking for anyway, so I think I will stay with "start iexplore
>  \"%s\"" and use the non_Xbrowser (to kill the need for a DISPLAY
>  environment variable). But still I'd like it if "start %s" worked.

With Xbrowser, it just starts a command in the background.  For the
non_Xbrowser, it needs to go back to the console to let the console
based browser run.  That's why you see the different behavior.

- W. Citoan
-- 
What signature?
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146620
Author: Lars Stokholm
Date: Sun, 18 Apr 2004 12:59
7 lines
1538 bytes
W. Citoan wrote:

> I think folks aren't paying attention to the subject line! :-)
> Lars is running on Windows XP.

My fault. I shouldn't have left that kind of information out of the
body. I normally don't pay much attention to the subject either. :)
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146621
Author: Lars Stokholm
Date: Sun, 18 Apr 2004 13:07
13 lines
1810 bytes
W. Citoan wrote:

> env is a shell command that would be used on Linux

Ahh, I could have sworn that Blinky's header said Windows. I guess
I looked at the wrong one.

> With Xbrowser, it just starts a command in the background.  For the
> non_Xbrowser, it needs to go back to the console to let the console
> based browser run.  That's why you see the different behavior.

But still I see no reason for suspending slrn, when using a browser
that doesn't have to run in the same console.
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146622
Author: W. Citoan
Date: Sun, 18 Apr 2004 13:16
33 lines
2115 bytes
On Sun, 18 Apr 2004 06:27:16 +0200, Lars Stokholm wrote:
>  Lars Stokholm wrote:
>  
> > "batchfile \"%s\""
>  
>  This seems to do the magic too:
>  
>    "start iexplore \"%s\""
>  
>  ...but I'd still prefer not targeting a specific browser in slrn's
>  configuration file - so should I one day fall in love with Mozilla, I
>  wouldn't have to mess with it again.
>  
>  So why doesn't "start %s" work for me?

Okay, I think I figured it out.  I hadn't run across any links with "&"
in them so I didn't see that problem until your previous post.

Without quotes around %s, the URL gets broken up at a "&".  But if you
simply put quotes around the %s by itself, start interprets it as a
title.  You need to give it a dummy title.

   set non_Xbrowser "start \"title\" \"%s\""

I modified my slrn.rc to use the above and everything appears to be
working correct.  The browser correctly shows the full URL, slrn isn't
suspended, and the dummy title is ignored.

Hope that helps you as well...

- W. Citoan
-- 
What signature?
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146629
Author: Lars Stokholm
Date: Sun, 18 Apr 2004 13:32
5 lines
1180 bytes
W. Citoan wrote:

> Hope that helps you as well...

It did, thank you very much. :)
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146623
Author: W. Citoan
Date: Sun, 18 Apr 2004 13:33
18 lines
1925 bytes
On Sun, 18 Apr 2004 15:07:29 +0200, Lars Stokholm wrote:
>  W. Citoan wrote:
>  
> > With Xbrowser, it just starts a command in the background.  For the
> > non_Xbrowser, it needs to go back to the console to let the console
> > based browser run.  That's why you see the different behavior.
>  
>  But still I see no reason for suspending slrn, when using a browser
>  that doesn't have to run in the same console.

slrn leaves it up to you to decide if you want it to be suspended or
not.  It could always start a separate process for the browser, but
instead it lets you decide.  This is consistent with the Linux model
overall.

- W. Citoan
-- 
What signature?
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146624
Author: Lars Stokholm
Date: Sun, 18 Apr 2004 13:34
8 lines
1599 bytes
W. Citoan wrote:

> slrn leaves it up to you to decide if you want it to be suspended or
> not.  It could always start a separate process for the browser, but
> instead it lets you decide.  This is consistent with the Linux model
> overall.

Fair enough. Thanks.
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146628
Author: Blinky the Shark
Date: Sun, 18 Apr 2004 16:16
33 lines
2299 bytes
Lars Stokholm wrote:

> Blinky the Shark wrote:

>>>> DISPLAY=:0.0

>>> Where exactly do you have this line?

>> Beats me. It shows up when I do an env.

> How do you "do an env"? :) The only thing I can think of is a 'set'

Same way I do any command.  I enter it and press [enter].

[blinky@thurston blinky]$ env | grep DISPLAY
DISPLAY=:0.0

> command from the command prompt. But that would give me '=0.0' and
> not '=:0.0', so I guess I'm missing something here.

>> I dunno where any of it comes from. :)

> I think I might know. If I set DISPLAY as an environment variable
> in Windows (from Control Panel -> System -> Advanced), slrn will use

Oh.  Windows.  I lost track of what the Subject header says.  Sorry
about that.  Never mind.  :)

-- 
Blinky                                              Linux RU 4892F
Nigerian Scam From Space                http://snipurl.com/iss419
The Ugliest Cars (mildly adult)         http://snipurl.com/ugliest 
New Windows - Don't Wait For Longhorn!  http://snipurl.com/newwin 
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146631
Author: Blinky the Shark
Date: Sun, 18 Apr 2004 16:17
24 lines
2284 bytes
W. Citoan wrote:
> On Sun, 18 Apr 2004 10:19:50 +0200, Lars Stokholm wrote:
>>  Blinky the Shark wrote:

>> >>> DISPLAY=:0.0

>> >> Where exactly do you have this line?

>> > Beats me. It shows up when I do an env.

>>  How do you "do an env"? :) The only thing I can think of is a 'set'
>>  command from the command prompt. But that would give me '=0.0' and
>>  not '=:0.0', so I guess I'm missing something here.

> env is a shell command that would be used on Linux (or cygwin on top of
> Windows).  I think some folks missed the subject line of your post...

Roll call.  Who forgot that this is Winspeak?  <raising hand>   :)

-- 
Blinky                                              Linux RU 4892F
Nigerian Scam From Space                http://snipurl.com/iss419
The Ugliest Cars (mildly adult)         http://snipurl.com/ugliest 
New Windows - Don't Wait For Longhorn!  http://snipurl.com/newwin 
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146633
Author: Blinky the Shark
Date: Sun, 18 Apr 2004 16:18
16 lines
1955 bytes
Jernej =?utf-7?Q?Simon+AQ0-i+AQ0-?= wrote:
> on 18 Apr 2004 06:22:03 GMT, Blinky the Shark wrote:

>> Beats me.  It shows up when I do an env.  I dunno where any of it
>> comes from.   :)

> DISPLAY should be set when you want to run X programs - it tells
> applications what X server to contact for graphical output.

I still don't know what's setting it.  :)

-- 
Blinky                                              Linux RU 4892F
Nigerian Scam From Space                http://snipurl.com/iss419
The Ugliest Cars (mildly adult)         http://snipurl.com/ugliest 
New Windows - Don't Wait For Longhorn!  http://snipurl.com/newwin 
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146650
Author: DC
Date: Sun, 18 Apr 2004 20:44
27 lines
2553 bytes
Blinky the Shark wrote:
> W. Citoan wrote:
>> On Sun, 18 Apr 2004 10:19:50 +0200, Lars Stokholm wrote:
>>>  Blinky the Shark wrote:

>>> >>> DISPLAY=:0.0

>>> >> Where exactly do you have this line?

>>> > Beats me. It shows up when I do an env.

>>>  How do you "do an env"? :) The only thing I can think of is a 'set'
>>>  command from the command prompt. But that would give me '=0.0' and
>>>  not '=:0.0', so I guess I'm missing something here.

>> env is a shell command that would be used on Linux (or cygwin on top of
>> Windows).  I think some folks missed the subject line of your post...

> Roll call.  Who forgot that this is Winspeak?  <raising hand>   :)


<points at Blinky and laughs mischievously>  };O)

-- 
DC           Linux RU #1000111011000111001

Free your mind, and your OS will follow...
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146657
Author: Blinky the Shark
Date: Sun, 18 Apr 2004 22:22
30 lines
2495 bytes
DC wrote:
> Blinky the Shark wrote:
>> W. Citoan wrote:
>>> On Sun, 18 Apr 2004 10:19:50 +0200, Lars Stokholm wrote:
>>>>  Blinky the Shark wrote:

>>>> >>> DISPLAY=:0.0

>>>> >> Where exactly do you have this line?

>>>> > Beats me. It shows up when I do an env.

>>>>  How do you "do an env"? :) The only thing I can think of is a 'set'
>>>>  command from the command prompt. But that would give me '=0.0' and
>>>>  not '=:0.0', so I guess I'm missing something here.

>>> env is a shell command that would be used on Linux (or cygwin on top of
>>> Windows).  I think some folks missed the subject line of your post...

>> Roll call.  Who forgot that this is Winspeak?  <raising hand>   :)

><points at Blinky and laughs mischievously>  };O)

FOOLED YOU!  Sharks don't have hands.  Bwahahahah.  :)

-- 
Blinky                                              Linux RU 4892F
Nigerian Scam From Space                http://snipurl.com/iss419
The Ugliest Cars (mildly adult)         http://snipurl.com/ugliest 
New Windows - Don't Wait For Longhorn!  http://snipurl.com/newwin 
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146663
Author: DC
Date: Mon, 19 Apr 2004 00:04
32 lines
2774 bytes
Blinky the Shark wrote:
> DC wrote:
>> Blinky the Shark wrote:
>>> W. Citoan wrote:
>>>> On Sun, 18 Apr 2004 10:19:50 +0200, Lars Stokholm wrote:
>>>>>  Blinky the Shark wrote:

>>>>> >>> DISPLAY=:0.0

>>>>> >> Where exactly do you have this line?

>>>>> > Beats me. It shows up when I do an env.

>>>>>  How do you "do an env"? :) The only thing I can think of is a 'set'
>>>>>  command from the command prompt. But that would give me '=0.0' and
>>>>>  not '=:0.0', so I guess I'm missing something here.

>>>> env is a shell command that would be used on Linux (or cygwin on top of
>>>> Windows).  I think some folks missed the subject line of your post...

>>> Roll call.  Who forgot that this is Winspeak?  <raising hand>   :)

>><points at Blinky and laughs mischievously>  };O)

> FOOLED YOU!  Sharks don't have hands.  Bwahahahah.  :)

I've been had.  }:O(

-- 
DC           Linux RU #1000111011000111001

Free your mind, and your OS will follow...
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146725
Author: Keith
Date: Mon, 19 Apr 2004 23:35
27 lines
2047 bytes
On Sat, 17 Apr 2004 20:17:51 +0200, 
Lars Stokholm <stokholm@despammed.com> wrote:
> Slrn will not have me using an Xbrowser instead of a non_Xbrowser.
> If I define only an Xbrowser, I get this error when launching URLs:
> "No Web Browser has been defined". I guess it's because the $DISPLAY
> environment variable is unset (am I wrong?). How do I get slrn to
> use the defined Xbrowser?

 Just use non_Xbrowser.

>
> Actually I'm asking because of this: when I launch URLs, slrn is
> suspended until I close the browser window - I think it's very
> annoying. Is this avoided by using the Xbrowser instead of the
> non_Xbrowser? If not, is there anything else I can do about it?

set non_Xbrowser "start '%s'"

will always call up your default browser



-- 
Best Regards,  Keith
NW Oregon Radio http://kilowatt-radio.org/
Pax melior est quam iustissimum bellum.
Replace spam.395429c4 with wvi dot com & del _
Re: [slrn] Xbrowser in Windows XP, what's wrong?
#146739
Author: W. Citoan
Date: Tue, 20 Apr 2004 02:05
17 lines
1359 bytes
On Mon, 19 Apr 2004 23:35:01 -0000, Keith wrote:
>  
>  set non_Xbrowser "start '%s'"
>  
>  will always call up your default browser

Not here.  The '' marks cause Windows XP to execute the URL as a
command.  If you leave off the '', it won't work on any URL that
contains a "&".

The following actually works:

  set non_Xbrowser "start \"title\" \"%s\""

- W. Citoan
-- 
What signature?
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