🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3533

Re: OSSI names and portability

#3533
From: Edoardo Biagioni
Date: Tue, 02 Dec 1986 19:46
34 lines
2233 bytes
In article <1405@lsuc.UUCP> jimomura@lsuc.UUCP (Jim Omura) writes:
>
>     I've looked at the OSSI definition modules and they mainly make the
>claim of OS independence, however, many people use systems which cannot
>cope with the module names.  CP/M, MS-DOS and some others are limited
>to 8 character names.  This is a fairly large chunk of the Modula-2 user
>community.  In fact, it may be that more users of Modula-2 cannot use the
>current module names than those who can.  I hope you will reconsider this
>for the sake of portability.  It's not a major problem, but it puts a
>damper on my enthusiasm.
>
>Cheers! -- Jim O.

We considered this problem in the design of OSSI. Our examination of
various systems showed that most systems have a maximum file name
length, while none (of the ones we examined) have restrictions on
module name length.  The compiler simply takes the first n characters
of the module name and uses them as the file name. As a result, the
only requirement on module names is that they can be uniquely
identified by their first few characters, so they will correspond to
different files.  All OSSI modules are uniquely identified by their
first 6 characters, and the SI prefix helps distinguish them from
unrelated modules.

On a system with maximum file name length of 8, plus a 3-character
extension, SITerminal would for instance become SITermin.def and
SITermin.mod, where depending on compiler conventions the .def and
.mod may be in upper- or lowercase.

Hope that helps.

			Ed Biagioni
	seismo!mcnc!unc!biagioni	decvax!mcnc!unc!biagioni
    	biagioni@cs.unc.edu 
Technical Details
Message-ID: <330@unc.unc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!clyde!cuae2!ihnp4!houxm!mtuxo!mtune!akgua!mcnc!unc!biagioni
References: <1405@lsuc.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!clyde!cuae2!ihnp4!houxm!mtuxo!mtune!akgua!mcnc!unc!biagioni
From: biagioni@unc.UUCP (Edoardo Biagioni)
Newsgroups: comp.lang.modula2
Subject: Re: OSSI names and portability
Message-ID: <330@unc.unc.UUCP>
Date: Tue, 2-Dec-86 14:46:38 EST
Article-I.D.: unc.330
Posted: Tue Dec  2 14:46:38 1986
Date-Received: Thu, 4-Dec-86 00:21:41 EST
References: <1405@lsuc.UUCP>
Reply-To: biagioni@unc.UUCP (Edoardo Biagioni)
Distribution: world
Organization: CS Dept, U. of N. Carolina, Chapel Hill
Lines: 34