Well using " (quotes) around it does not work, I had already tried that. gnome-moz-remote also has the problems with the commas as it passes it to netscape to handle in the same way. But the %2c looked like a promising idea so I wrote a perl wrapper and it works fine. #!/usr/bin/perl ($_ = $ARGV[0]) =~ s/,/%2c/g; `/usr/bin/netscape -remote 'openURL($_)'`; Now I just do "/usr/local/bin/netscape-remote _URL_" in Pine. See, nearly everything can be fixed with a little perl! Rodos On Tue, 16 May 2000, chesty wrote: > > I have my helper app set as > > > > /usr/bin/netscape -remote 'openURL(_URL_)' > > > > which works fine. > > Problem is that if the URL has a comma in it, like > > > > http://www.pcworld.com/pcwtoday/article/0,1510,16704,00.html > > > > it raises an error because the openURL has an optional second argument > > which is sperated by a comma. Netscapet gets confused because of the > > commas in the URL. I have tried a number of ways to escape it but can't. > > I know what to escape the commas with, %2c , but I don't know how > you would rewrite the url within pine. > > There are a few netscape wrappers that escape the url for you, > if you have gnome, try replacing the /usr/bin/netscape... > with gnome-moz-remote --newwin "_URL_" > > Or you could probably write a quick netscape wrapper in perl to escape > the commas. > > -- If the box says "Windows 95 or better", it should run on Linux, right? - anon -- SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au To unsubscribe send email to [EMAIL PROTECTED] with unsubscribe in the text
