From jan@swi.psy.uva.nl  Tue Feb 29 10:20:31 2000
Received: from gollem.swi.psy.uva.nl (root@gollem [145.18.152.30])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id KAA11110
	for <prolog@swi.psy.uva.nl>; Tue, 29 Feb 2000 10:20:31 +0100 (MET)
Received: (from jan@localhost)
	by gollem.swi.psy.uva.nl (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id KAA05007
	for prolog@swi.psy.uva.nl; Tue, 29 Feb 2000 10:20:44 +0100
Date: Tue, 29 Feb 2000 10:20:44 +0100
Message-Id: <200002290920.KAA05007@gollem.swi.psy.uva.nl>
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Subject: Re:  registered file extensions on win32
To: prolog@swi.psy.uva.nl
In-Reply-To: Richard A. O'Keefe's message of Tue, 29 Feb 2000 18:00:49 +1300 (NZDT)
Phone: +31 - 20 - 525 6121

>       .pl is registered by Perl script engines 
>       (ActivePerl, Win32Perl). SWI installed from 
>       binary package registers this extension 
>       for itself, rendering perl totally unusable.
>       
> This was sheer bad manners by the Perl people; Prolog was there
> first, and if they had used '.pe' we'd have had no problem at all.
> 
> In order to keep various Prolog dialects apart, it is already
> convenient to use different file type strings, such as '.swi'.
> There's no way a solution devised here can be forced on other
> Prolog suppliers, so how about '.swi'?

I think the real person with bad manners is Billy.  As long as
extensions had only informal meaning there was no problem, and Perl
and Prolog (any brand) could more or less happily use the same
extension, only causing some pain to somebody writing a program
partially in Perl and partially in Prolog.

Microsoft has given extensions a real meaning next of whatever the
application thinks about extensions.  The nice click-to-open based
on extension caused a complete war on extensions, without a jury.

They should have done something along the line of file-attributes,
leaving the meaning of extensions a hint to the user and possibly
meaningful to the application.

On the other hand, we have to live with it.  It is a pitty that, now
we finally a Prolog standard, we give our files vendor-specific
extensions.  I will consider providing an option in the installation
script using .swi as an alternative to .pl.

Prolog will keep looking for .pl files in addition to .swi files in
that case, so we can keep the name .pl in the libraries.

Good that our department has such a nice acronym :-)

        Regards --- Jan

