Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: $Revision: 1.6.2.16 $; site ISM780.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!ISM780!geoff
From: geoff@ISM780.UUCP
Newsgroups: net.unix
Subject: Re: Testing to see if a file is ASCII
Message-ID: <33700005@ISM780.UUCP>
Date: Fri, 13-Sep-85 09:58:00 EDT
Article-I.D.: ISM780.33700005
Posted: Fri Sep 13 09:58:00 1985
Date-Received: Sun, 15-Sep-85 12:29:37 EDT
References: <503@dcl-cs.UUCP>
Lines: 18
Nf-ID: #R:dcl-cs:-50300:ISM780:33700005:000:665
Nf-From: ISM780!geoff    Sep 13 09:58:00 1985


de@dcl-cs asks:
>             ... what the other values represent ?
> switch ((c | *f->_ptr << 8) & 0177777) {
>         case 0405:
>         case 0407: /*magic number*/
>         case 0410: /*magic number*/
>         case 0411:
>         case 0413: /*magic number*/
These other values are also magic numbers.  I suspect they're for pdp11
executables, but they might have other applications.
	0405    "Old overlay"
	0411    "Separate I&D"

	 Geoffrey Kimbrough -- Director of Dangerous Activities
	INTERACTIVE Systems Corporation, Santa Monica California.
	    {decvax!vortex || ihnp4!allegra!ima}!ism780!geoff
	     Nothing works, and nobody cares. -- Woody Allen