Subject: URLs with tilde get mangled

From: Stephen Casner <[email-masked]>
Date: Tue, 14 Dec 1999 11:49:26 -0800 (Pacific Standard Time)

I've just upgraded from PC-Pine 4.10 to 4.21 and have noticed a couple
of things which I'll send in separate messages.  First, a problem
which occurs on both '98 and an NT:  When I try to view a URL in the
message which contains a tilde character, the URL that is given to
Netscape gets mangled:

The URL:  http://www.math.washington.edu/~chappa/pine/
becomes:  http://www.'http:.com//math.washington.edu/~chappa/pine/

This is with the following command line:

url-viewers = C:\Progra~1\Netscape\Communicator\Program\netscape.exe

I can avoid this problem if I follow a suggestion shown in an earlier
message on this list:

url-viewers = "C:\Progra~1\Netscape\Communicator\Program\netscape.exe -noraise -remote openURL\\(_URL_,\\ new-window\\)"

However, the "new window" part doesn't work -- the URL is viewed in an
existing Netscape window.  The suggested syntax above was given for a
Solaris platform and I haven't been able to find a description of
command line options in Netscape's help, so I'm flying blind here.
Where does one find the syntax of "openURL"?  I did try removing the
double backslash quoting, but it made no difference.  I tried three
more possibilities:

"C:\Progra~1\Netscape\Communicator\Program\netscape.exe _URL_"
"C:\Progra~1\Netscape\Communicator\Program\netscape.exe"
C:\Progra~1\Netscape\Communicator\Program\netscape.exe "_URL_"

All of these still open the URL in an existing Netscape window.  The
only one which doesn't is my original form above.

Any other suggestions?  TIA,
							-- Steve

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Stephen Casner <[email-masked]>
Date: Tue, 14 Dec 1999 12:04:04 -0800 (Pacific Standard Time)

The colors in 4.21 are a nice feature, but I have not been able to
figure out if it can do exactly what I want.  In past versions, I have
used black text on white background for the normal text color and blue
text on white background for the "reverse" color because I prefer that
to actually reversing the video.

The same coloration carried over to 4.21 until I set some index-line
colors.  I wanted selected messages to change to black text on yellow
background, as if highlighted with a marker.  However, when the cursor
is on one of those messages, Pine ignores my "reverse" color setting
and inverts that line (yellow text on black background).  What I
wanted was blue text on yellow background.

Is there a way to configure the behavior I want?  Perhaps what's
needed is a way to specify "transparent" for the background on the
"reverse" color as an indication that just the foreground color should
be substituted.
							-- Steve

---

From: "Eduardo Chappa L." <[email-masked]>
Date: Tue, 14 Dec 1999 12:21:30 -0800 (PST)

*** Stephen Casner ([email-masked]) wrote today:

:) 
:) url-viewers =
:) "C:\Progra~1\Netscape\Communicator\Program\netscape.exe -noraise
:) -remote openURL\\(_URL_,\\ new-window\\)"
:) 
:) However, the "new window" part doesn't work -- the URL is viewed in an
:) existing Netscape window.  The suggested syntax above was given for a
:) Solaris platform and I haven't been able to find a description of
:) command line options in Netscape's help, so I'm flying blind here.
:) Where does one find the syntax of "openURL"?  I did try removing the
:) double backslash quoting, but it made no difference.  I tried three
:) more possibilities:

Dear Steve,

Take a look at the following address:

http://www.netscape.com/newsref/std/x-remote.html

  There you will find the explanation of all the options of the -remote
switch.

Eduardo
http://www.math.washington.edu/~chappa/pine/

---

From: Polanco Rodríguez Ángel <[email-masked]>
Date: Wed, 15 Dec 1999 07:12:26 -0600 (CST)

Hello to all,

Sorry, some know a option of pine to implement quotes?. This is to the
administration of space on disk of the users.

Alguien sabe de alguna opcion de pine para implementar quotas?. Esto es
para la administracion del espacio en disco de los usuarios.

Some body have experience in scripts?
Alguien ha manejado scripts?

Thanks a lot from Mexico.
                                               
                   ************************************
                   | Q.B.B.ANGEL G. POLANCO RODRIGUEZ |                
                   | UNIVERSIDAD AUTONOMA DE YUCATAN  |
                   | DIRECCION      GENERAL        DE |                
                   |      DESARROLLO ACADEMICO        |                
                   | DEPARTAMENTO  DE  TELEINFORMATICA|
                   | CALLE 59 POR  AV.  ITZAEZ  # 490 |
                   | MERIDA,      YUCATAN,     MEXICO |                
                   |      CODIGO POSTAL :  97 000     |                
                   |     TELEFONO:52 (99)  23 74 28   |
                   |    E-mail: [email-masked]   |
                   ************************************

---

From: Scott Leibrand <[email-masked]>
Date: Wed, 15 Dec 1999 15:06:31 -0800 (PST)

I think you meant quotas, not quotes.
Creo que debe decir quotas en vez de quotes.

In English, these "" are quotes.
En ingles, estos "" son quotes.

But your English is way better than my Spanish.  :)
Pero su Ingles es mucho mas mejor que mi espanol.  :)

-- 
Scott Leibrand
[email-masked]
http://students.washington.edu/leibrand
* RCW 19.190 notice: This email address is located in Washington State. *
* Unsolicited commercial email may be billed $500 per message.          *

---

From: Nancy this-address-is-valid McGough <[email-masked]>
Date: Thu, 16 Dec 1999 10:17:32 -0500 (EST)

> url-viewers = C:\Progra~1\Netscape\Communicator\Program\netscape.exe

In PC-Pine you should not need to set the Pine url-viewers
variable at all; leaving it blank, which shows up as 

 url-viewers = <No Value Set> 

in the Pine Config screen, will make PC-Pine use your
default web browser, which is set in the Windows registry. What
happens when you have the following in your pinerc:

 url-viewers=

Good luck,
Nancy

-- 
Pine info & links @ http://www.ii.com/internet/messaging/pine/
 
©Nancy McGough         http://www.ii.com/         Infinite Ink
-----== Sent via Pine 4.21 running on Debian GNU/Linux ==-----

---

From: Stephen Casner <[email-masked]>
Date: Thu, 16 Dec 1999 14:16:23 -0800 (Pacific Standard Time)

On Thu, 16 Dec 1999, Nancy this-address-is-valid McGough wrote:

> default web browser, which is set in the Windows registry.

Thanks for the suggestion, but that also results in an existing
Netscape window being re-used.  I vaguely recall discovering back in
the 3.96 or 4.05 timeframe that I could get a new window by putting in
the full C:\Progra~1\Netscape\Communicator\Program\netscape.exe
pathname (without quotes).  I don't recall whether I tested at that
time with and without quotes or with and without "_URL".

So, I still have not figured out a way to avoid having a URL get
mangled if it contains a tilde and at the same time have the URL be
opened in a new Netscape window.  Some processing of the URL must have
been "improved" in 4.2x because the unadorned full pathname used to
work for this in 4.10.
							-- Steve