From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1Euaqw-0000No-UK for garchives@archives.gentoo.org; Thu, 05 Jan 2006 19:32:51 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k05JTRJm000784; Thu, 5 Jan 2006 19:29:27 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.195]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k05JQdP5021286 for ; Thu, 5 Jan 2006 19:26:40 GMT Received: by wproxy.gmail.com with SMTP id i1so865729wra for ; Thu, 05 Jan 2006 11:26:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jWNMEALWk0FnSC6oabX0DlDoYcG+t58tfdOL5NDdiV8viFlcsu18uVywC7LO+FZ1nyDtH4A3S1ZRJDYPcO81oDoSA+B+2+Gxp/VKntgHqqDGZxGW3ll8daC/FqyhumYGnexNrolYS4YFfZBvzNwKObcHYefpJ2qzheQrCelp4oE= Received: by 10.64.250.14 with SMTP id x14mr1193817qbh; Thu, 05 Jan 2006 11:26:39 -0800 (PST) Received: by 10.65.163.16 with HTTP; Thu, 5 Jan 2006 11:26:39 -0800 (PST) Message-ID: <5bdc1c8b0601051126v10482e9n4e865259b994eccf@mail.gmail.com> Date: Thu, 5 Jan 2006 11:26:39 -0800 From: Mark Knecht To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] JPG attachments - Macintosh BinHex-encoded file In-Reply-To: <20060105173829.GA6308@princeton.edu> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <5bdc1c8b0601050718q40b71db5x34d0f986e398acef@mail.gmail.com> <20060105173829.GA6308@princeton.edu> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k05JQdP5021286 X-Archives-Salt: 5f2d159c-4705-4704-9d0e-b04688ed67f4 X-Archives-Hash: 8e988235a716ed387a5e2284a9a5140d On 1/5/06, Willie Wong wrote: > On Thu, Jan 05, 2006 at 07:18:39AM -0800, Penguin Lover Mark Knecht squawked: > > Hi, > > I'm in Gnome and received what appear to be some JPG files from a > > friend. When I try to open them I get the following message: > > > > > > The filename "DSCN2448.JPG" indicates that this file is of type "JPEG > > image". The contents of the file indicate that the file is of type > > "Macintosh BinHex-encoded file". If you open this file, the file might > > present a security risk to your system. > > > > Do not open the file unless you created the file yourself, or received > > the file from a trusted source. To open the file, rename the file to > > the correct extension for "Macintosh BinHex-encoded file", then open > > the file normally. Alternatively, use the Open With menu to choose a > > specific application for the file. > > > > I think that is just the standard error Gnome throws up with the > extension on the file does not match the header. > > Does your friend perhaps use a Mac? the BinHex format is a conversion > from binary data to ASCII for mail. It's like uuencode, but for Macs. > > Try: > emerge macutil > > You probably want to run hexbin on the file you received, but I am not > absolutely sure. > > HTH > > W > -- > "As he came into the light they could see his black and > gold uniform on which the buttons were so highly polished > that they shone with an intensity that would have made an > approaching motorist flash his lights in annoyance. " > Sortir en Pantoufles: up 54 days, 9:51 > -- > gentoo-user@gentoo.org mailing list > > Thanks for the reposnses guys! GMail does do a virus check and doesn't see anything so probably it isn't that problem. Also I fired up my Mac Mini as well as my last Win XP machine. Neither of them can display the files so most likely they are hosed somehow. I emerged macutil and see these executables get installed: >>> /usr/bin/binhex >>> /usr/bin/macstream >>> /usr/bin/frommac >>> /usr/bin/macsave >>> /usr/bin/hexbin >>> /usr/bin/tomac >>> /usr/bin/macunpack binhex tells me it's not a Mac binary. frommac just hangs and I have to kill it. hexedit show this in the header: 00000000 28 54 68 69 73 20 66 69 6C 65 20 6D 75 73 74 20 (This file must 00000010 62 65 20 63 6F 6E 76 65 72 74 65 64 20 77 69 74 be converted wit 00000020 68 20 42 69 6E 48 65 78 20 34 2E 30 29 0A 3A 24 h BinHex 4.0).:$ 00000030 4E 34 36 33 64 69 62 30 24 33 69 2C 4E 54 33 34 N463dib0$3i,NT34 00000040 62 21 65 21 25 54 33 34 38 47 5B 43 66 61 50 21 b!e!%T348G[CfaP! 00000050 2A 21 24 23 50 59 5B 21 21 21 22 28 55 5B 35 72 *!$#PY[!!!"(U[5r 00000060 70 4D 72 69 33 40 31 34 41 4B 54 43 4A 21 0A 21 pMri3@14AKTCJ!.! 00000070 35 38 4E 55 21 21 4A 21 4E 21 2D 2C 21 21 69 22 58NU!!J!N!-,!!i" It seems that the macutil app binhex would have been a reasonable choice but it doesn't seem to work. Any more ideas? Thanks, Mark -- gentoo-user@gentoo.org mailing list