🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #146619

Re: [slrn] Xbrowser in Windows XP, what's wrong?

#146619
From: 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?
Technical Details
Message-ID: <slrnc84uio.2u4.wcitoan@wcitoan-via.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.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <slrnc82t6f.14g.lars@stokholm.dyndns.dk> <slrnc83dhb.bur.no.spam@thurston.blinkynet.net> <slrnc83irj.2ec.wcitoan@wcitoan-via.supernews.com> <slrnc83pi0.bur.no.spam@thurston.blinkynet.net> <slrnc8403d.74.lars@stokholm.dyndns.dk> <slrnc847kb.qdr.no.spam@thurston.blinkynet.net> <slrnc84eh6.1s4.lars@stokholm.dyndns.dk>

Show Full Headers
Complete Article Headers
Message-ID: <slrnc84uio.2u4.wcitoan@wcitoan-via.supernews.com>
Subject: Re: [slrn] Xbrowser in Windows XP, what's wrong?
Date: Sun, 18 Apr 2004 12:53:55 -0000
From: "W. Citoan" <wcitoan@NOSPAM-yahoo.com>
References: <slrnc82t6f.14g.lars@stokholm.dyndns.dk> <slrnc83dhb.bur.no.spam@thurston.blinkynet.net> <slrnc83irj.2ec.wcitoan@wcitoan-via.supernews.com> <slrnc83pi0.bur.no.spam@thurston.blinkynet.net> <slrnc8403d.74.lars@stokholm.dyndns.dk> <slrnc847kb.qdr.no.spam@thurston.blinkynet.net> <slrnc84eh6.1s4.lars@stokholm.dyndns.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.readers
Organization: Posted via Supernews, http://www.supernews.com
User-Agent: slrn/0.9.7.4 (Win32)
X-Complaints-To: abuse@supernews.com
Lines: 49