[Xquartz-dev] 2.3.2_rc4

Martin Costabel costabel at wanadoo.fr
Sun Dec 21 09:29:56 PST 2008


Nicholas Riley wrote:
> On Sun, Dec 21, 2008 at 06:02:17PM +0100, Martin Costabel wrote:
>> Harald Hanche-Olsen wrote:
>>> + Martin Costabel <costabel at wanadoo.fr>:
>>>
>>>> I have not yet tried to decipher 
>>>> "\312\376\272\276^B^G^C^P^Z\2120^L^R". Unicode, perhaps?
>>> No, definitely not utf-8 at least. Looks like random binary garbage to me.
>> It is the same every time. Google tells me that the string 
>> "\312\376\272\276", which is hex "0xCAFEBABE", is the magic string for 
>> application/x-java-byte-code. Why this should appear here is mysterious, 
>> it may well be something specific for my machine here.
> 
> It's also the magic number for Mach-O binaries, which is more likely
> than Java class files in this case.
> 
> % xxd /bin/ls | head -1
> 0000000: cafe babe 0000 0002 0000 0007 0000 0003  ................

Thanks, you are right. This may explain it. The whole string 
"\312\376\272\276^B^G^C^P^Z\2120^L^R" corresponds to the first 32 Bytes 
of the X11.bin executable. The message appears when tcsh tries to 
execute X11.bin as a shell script:

costabel% source X11.bin
\312\376\272\276^B^G^C^P^Z\2120^L^R: Command not found.
Illegal variable name.

-- 
Martin




More information about the Xquartz-dev mailing list