Article View: news.software.readers
Article #161314Re: slrn - replacing ampersand on XP
From: W. Citoan
Date: Mon, 24 Jan 2005 02:57
Date: Mon, 24 Jan 2005 02:57
23 lines
1920 bytes
1920 bytes
Marcus Houlden wrote: > Bit of a fiddly one. I'm using slrn 0.9.7.0 on WinXP. If I press "U" in > article mode to load a URL from the command line all works well provided the > URL contains no ampersand characters (&). However, if a URL *does* contain > ampersands, it doesn't work. The command interpreter on XP (CMD.EXE) treats > ampersands as command separators and I have to escape them with ^ to tell it > otherwise. The lines I have covering URLs in my slrn.rc are as follows: > > set non_Xbrowser "start %s" > set Xbrowser "start %s" > > While I can enter the ^s manually, it can be easy to miss one & if it's a > long URL. I'm guessing what I need is an S-Lang macro to replace all the & > characters with ^& ones but my S-Lang isn't up to much. set non_Xbrowser "start \"title\" \"%s\"" - W. Citoan -- ...the bravest are surely those who have the clearest vision of what is before them, glory and danger alike, and yet notwithstanding go out to meet it. -- Thucydides
Technical Details
Message-ID:
<slrncv8p11.so.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.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-02!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<slrncv8g3n.1k0.spam@neutron.nukesoft.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <slrncv8p11.so.wcitoan@wcitoan-via.supernews.com> Subject: Re: slrn - replacing ampersand on XP Date: Mon, 24 Jan 2005 02:57:47 -0000 From: "W. Citoan" <wcitoan@NOSPAM-yahoo.com> References: <slrncv8g3n.1k0.spam@neutron.nukesoft.co.uk> 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.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-02!sn-xit-01!sn-post-02!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: 23