Type code

Type code

A type code is the only mechanism used in pre-Mac OS X versions of the Macintosh operating system to denote a file's format, in a manner similar to file extensions in other operating systems. Codes are four-byte OSTypes. For example, the type code for a HyperCard stack is STAK; the type code of any application program is APPL.

Mac OS X retains type codes, but supports filename extensions as well. The deprecation of type codes (and creator codes) over the older extension system, popularised by PDP-11 systems (RT-11, RSX-11, etc.), CP/M, and most recently by Microsoft's DOS, has been very controversial with Mac users. The type and creator system is considerably richer and more sophisticated than that provided by extensions, and many users felt that adopting DOS conventions is a backward step. They claim that type and creator information rightfully belongs to the metadata associated with a file, and is therefore illogically placed within the file's name, where its presence can cause problems for the user. Apple defends the decision by saying that extensions have become the "de facto" standard for indicating file type, and they need to work seamlessly with the rest of the industry.

Type codes are not readily accessible for users to manipulate, although they can be viewed and changed with certain software, most notably the Mac OS X command line tools "GetFileInfo" and "SetFile" which are installed as part of the developer tools into "/Developer/Tools", or the ResEdit utility available for older Macs.

Changes done in Mac OS X v10.4 with the addition of Uniform Type Identifiers suggest that Apple heard those criticisms and is working on a file type successor to both type code and filename extensions. [http://arstechnica.com/reviews/os/macosx-10.4.ars/11]

External links

* [http://homepage.mac.com/tcdb/ The Type/Creator Database Website]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Type code — Un type code (traducido como código de tipo) es el mecanismo utilizado en las versiones anteriores de la Mac OS X del sistema operativo Macintosh para indicar el formato de un archivo, es algo similar a las extensiones de archivo usado en otros… …   Wikipedia Español

  • Code personnel (Tunisie) — Code du statut personnel (Tunisie)  Pour les autres articles nationaux, voir Code du statut personnel. Code du statut personnel Titre مجلة الأحوال الشخصية Pays …   Wikipédia en Français

  • Code Tang — Titre Code Tang Pays  Chine Type Code juridique Branche Droit pénal …   Wikipédia en Français

  • unit type code — A Joint Chiefs of Staff developed and assigned code, consisting of five characters that uniquely identify a “type unit” …   Military dictionary

  • Funds type code —   An ISO term. The component of the currency code that identifies the funds type. 1an …   International financial encyclopaedia

  • Message type code —   An ISO term. A code that designates the function of and/or the action requested by the message.   ISO Key Management term. 3a.   ISO Identification Cards term. ISO Bank Card Originated Messages term. 4n.   ISO Funds Transfer Messages term. 3an …   International financial encyclopaedia

  • Code civil (Belgique) — Pour les autres articles nationaux, voir code civil. Code civil Titre Code civil de la Belgique Pays …   Wikipédia en Français

  • Code du statut personnel (Tunisie) — Pour les autres articles nationaux, voir Code du statut personnel. Code du statut personnel Titre مجلة الأحوال الشخصية Pays …   Wikipédia en Français

  • type unit — A type of organizational or functional entity established within the Armed Forces and uniquely identified by a five character, alphanumeric code called a unit type code …   Military dictionary

  • Type system — Type systems Type safety Inferred vs. Manifest Dynamic vs. Static Strong vs. Weak Nominal vs. Structural Dependent typing Duck typing Latent typing Linear typing Uniqueness typing …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”