From owner-freebsd-hackers Wed Apr 28 21:45: 0 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from poboxer.pobox.com (unknown [208.149.16.14]) by hub.freebsd.org (Postfix) with ESMTP id D6CCD14E67 for ; Wed, 28 Apr 1999 21:44:49 -0700 (PDT) (envelope-from alk@poboxer.pobox.com) Received: (from alk@localhost) by poboxer.pobox.com (8.9.3/8.9.1) id XAA03517; Wed, 28 Apr 1999 23:44:48 -0500 (CDT) (envelope-from alk) From: Anthony Kimball MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 28 Apr 1999 23:44:48 -0500 (CDT) X-Face: \h9Jg:Cuivl4S*UP-)gO.6O=T]]@ncM*tn4zG);)lk#4|lqEx=*talx?.Gk,dMQU2)ptPC17cpBzm(l'M|H8BUF1&]dDCxZ.c~Wy6-j,^V1E(NtX$FpkkdnJixsJHE95JlhO 5\M3jh'YiO7KPCn0~W`Ro44_TB@&JuuqRqgPL'0/{):7rU-%.*@/>q?1&Ed Reply-To: alk@pobox.com To: hackers@freebsd.org Subject: Re: Adding desktop support X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14119.57636.213346.880816@avalon.east> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 28, 1999 at 03:44:47PM -0700, Sean Eric Fagan wrote: > Putting icons in the executable itself is pretty stupid -- it's a single > instance of something that a window manager can use, and there are much > less-invasive ways of doing the same thing. One problem with the traditional hier(7) approach is that the data for a single application is scattered across the filesystem. One-file simplicity is a worthwhile cause for deviation from this tradition. I agree that putting *only* icons in the executable would be silly, when one could solve a much bigger problem with relatively little incremental effort. I don't see it as invasive, however. I strongly favor a generalization which adds not a .icon section but a more general .desk section, and adopts an extensible, well-defined structure for this section. I suggest .desk is ( unsigned annotation_type + unsigned annotation_databytes + uchar_t annotation_data[annotation_databytes] + uchar_t pad[4*((annotation_databytes+3)/4)-annotation_databytes] ) * and a well-known system file defining known annotation_type values. I think XML is over-engineering. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message