🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #161354

Re: slrn - replacing ampersand on XP

#161354
From: W. Citoan
Date: Tue, 25 Jan 2005 12:19
35 lines
2220 bytes
Blinky the Shark wrote:
>  W. Citoan wrote:
>  
> > Blinky the Shark wrote:
>  
> >>  W. Citoan wrote:
>  
> >> > set non_Xbrowser "start \"title\" \"%s\""
>  
> >>  How does that work, WRT the ampersand issue?
>  
> > Perfectly...
>  
>  Thanks for explaining it.

Eh?  I thought you were asking "how" in the sense of "does that actually
fix the problem the OP was describing."

The quotes around %s cause start to pass the whole URL to the browser
and not break it up at an ampersand.  However, start will apparently
interpret the first quotes it sees as text for the window title bar so
you have to supply a title field first.  The actually value there
doesn't matter as it's not used.  I use "title" simply as a reminder why
that's there.  The quotes are escaped (\") so that slrn will not think
they are the end of the non_Xbrowser command and will instead pass them
on to the start command.  For more than that, see:

   help start

in a command window.

- W. Citoan
-- 
We don't know one millionth of one percent about anything.
-- Thomas A. Edison
Technical Details
Message-ID: <slrncvcea0.3g8.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.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-03!sn-xit-11!sn-xit-08!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <slrncv8g3n.1k0.spam@neutron.nukesoft.co.uk> <slrncv8p11.so.wcitoan@wcitoan-via.supernews.com> <slrncv8qod.eb7.no.spam@thurston.blinkynet.net> <slrncvarjb.3fk.wcitoan@wcitoan-via.supernews.com> <slrncvbh8h.9ad.no.spam@thurston.blinkynet.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrncvcea0.3g8.wcitoan@wcitoan-via.supernews.com>
Subject: Re: slrn - replacing ampersand on XP
Date: Tue, 25 Jan 2005 12:19:14 -0000
From: "W. Citoan" <wcitoan@NOSPAM-yahoo.com>
References: <slrncv8g3n.1k0.spam@neutron.nukesoft.co.uk> <slrncv8p11.so.wcitoan@wcitoan-via.supernews.com> <slrncv8qod.eb7.no.spam@thurston.blinkynet.net> <slrncvarjb.3fk.wcitoan@wcitoan-via.supernews.com> <slrncvbh8h.9ad.no.spam@thurston.blinkynet.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.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-03!sn-xit-11!sn-xit-08!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: 35