Article View: news.software.readers
Article #161316Re: slrn - replacing ampersand on XP
From: Blinky the Shark
Date: Mon, 24 Jan 2005 03:27
Date: Mon, 24 Jan 2005 03:27
25 lines
2092 bytes
2092 bytes
W. Citoan wrote: > 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\"" How does that work, WRT the ampersand issue? -- Blinky Linux Registered User 297263 Upgrading From IE http://blinkynet.net/comp/upgrade.html Mozilla Firefox http://www.mozilla.org/products/firefox/
Technical Details
Message-ID:
<slrncv8qod.eb7.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.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<slrncv8g3n.1k0.spam@neutron.nukesoft.co.uk> <slrncv8p11.so.wcitoan@wcitoan-via.supernews.com>Show Full Headers
Complete Article Headers
Message-ID: <slrncv8qod.eb7.no.spam@thurston.blinkynet.net> Subject: Re: slrn - replacing ampersand on XP Date: Mon, 24 Jan 2005 03:27:09 +0000 From: Blinky the Shark <no.spam@box.invalid> References: <slrncv8g3n.1k0.spam@neutron.nukesoft.co.uk> <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!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: http://blinkynet.net Lines: 25 X-Trace: individual.net 2SqLo89aIATpgHu/VLU7cAI71RLGfODLaKpGByUJLLw/uG6CWF X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%; )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E User-Agent: slrn/0.9.8.1 (Linux)