Article View: news.software.readers
Article #161313slrn - replacing ampersand on XP
From: Marcus Houlden
Date: Mon, 24 Jan 2005 00:25
Date: Mon, 24 Jan 2005 00:25
18 lines
1801 bytes
1801 bytes
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. mh. -- Reply-to address *is* valid. "From" address is a blackhole.
Technical Details
Message-ID:
<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.ams.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrncv8g3n.1k0.spam@neutron.nukesoft.co.uk> Subject: slrn - replacing ampersand on XP Date: Mon, 24 Jan 2005 00:25:27 +0000 From: Marcus Houlden <spam@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.ams.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: NukeSoft Lines: 18 Reply-To: mh-spam@nukesoft.co.uk X-Trace: individual.net IchbeRGxxEz84Nvx3pEs+QayJPwSQPAi0RdE8Lfbdt374obDxL X-ICQ-UIN: 29654055 X-Website: http://www.nukesoft.co.uk/personal/ X-PGP: Keys available from http://www.nukesoft.co.uk/personal/contact.htm User-Agent: slrn/0.9.7.4 (Win32)