[18277] in Athena Bugs

home help back first fref pref prev next nref lref last post

Emilio C Silva: Improvement on /usr/athena/bin/htmlview.

daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Sep 15 12:56:45 2000

Message-Id: <200009151656.MAA01316@egyptian-gods.MIT.EDU>
To: bugs@MIT.EDU
Date: Fri, 15 Sep 2000 12:56:39 -0400
From: Greg Hudson <ghudson@MIT.EDU>


------- Forwarded Message

Return-Path: <emilio@MIT.EDU>
Received: from grand-central-station.MIT.EDU by po12.mit.edu (8.9.2/4.7) id LAA25205; Fri, 15 Sep 2000 11:29:21 -0400 (EDT)
Received: from melbourne-city-street.MIT.EDU (MELBOURNE-CITY-STREET.MIT.EDU [18.69.0.45])
	by grand-central-station.MIT.EDU (8.9.2/8.9.2) with ESMTP id LAA06288
	for <ghudson@mit.edu>; Fri, 15 Sep 2000 11:29:20 -0400 (EDT)
Received: from m66-080-18.mit.edu (M66-080-18.MIT.EDU [18.63.1.18])
	by melbourne-city-street.MIT.EDU (8.9.3/8.9.2) with ESMTP id LAA05215
	for <ghudson@mit.edu>; Fri, 15 Sep 2000 11:29:20 -0400 (EDT)
Received: from localhost (emilio@localhost) by m66-080-18.mit.edu (8.9.3) with ESMTP
	id LAA18115; Fri, 15 Sep 2000 11:29:20 -0400 (EDT)
Date: Fri, 15 Sep 2000 11:29:20 -0400 (EDT)
From: Emilio C Silva <emilio@MIT.EDU>
To: ghudson@mit.edu
Subject: Improvement on /usr/athena/bin/htmlview.
Message-ID: <Pine.GSO.4.21L.0009151122290.17580-100000@m66-080-18.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi,

	(You are listed under "mit.edu/teamhtml/Athena/people.html" as
doing "Athena bug fixing and reviewing", and your username is mentioned in
the htmlview script.  If you are not responsible, could you please
forward this message ?)

	I used htmlview (indirectly through Pine) to view:

	http://www.zdnet.com/zdnn/stories/news/0,4586,2614854,00.html	

	And I had an open Navigator window, which generated an error and
refused to open the URL.

	After some thinking, I came to the following patch to htmlview,
which allows for commas in URLs:

83c83,84
<         /usr/athena/bin/netscape -remote "OpenUrl($url)" && exit 0
- ---
>       # Netscape complains on commas, e.g. zdnet URLs.
>         /usr/athena/bin/netscape -remote `echo "OpenUrl($url)" | sed 
's/,/%2C/g'` && exit 0

	(the last line is a single line, sorry).

	It worked for me, please let me know if you found it useful.

Emilio.


------- End of Forwarded Message


home help back first fref pref prev next nref lref last post