ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Jul/Stealth-Application-Icon

This is Stealth-Application-Icon in view mode; [Up]


Date: Sun 21-Jul-1989 20:48:31 From: Unknown Subject: Stealth Application Icon A trivial technical tidbit: If you're like me (heaven forfend) and are annoyed that although the 'Stealth' demonstration program has an application icon it doesn't show up in the Workspace browser (the generic executable application is shown instead) then below is a solution. Assuming you've downloaded the 'fsectbyname' utility I posted earlier to the cs.orst.edu public NeXT archive, then as 'root' do: # cd /NextDeveloper/Demos/Steath.app # fsectbyname r Stealth __ICON __header | tr ' ' '\011' >Stealth.iconheader # fsectbyname w Stealth __ICON __header <Stealth.iconheader # rm Stealth.iconheader The character in '\011' is zero, not 'oh'. Also, this cannot be done as a single pipe as 'fsectbyname' has to have a real file in order to measure its size to make sure it will fit (perhaps this is something I should change). Of course, you might want to make a copy of Stealth before trying this. Once you've done the above, then do 'Utilities>Find Tools' from the Workspace menu and the Stealth icon should now show up. This fix replaces an erroneous space character with a tab in the icon header file in the Stealth binary. Just another example of better living through Mach-0 binary dissection. - Christopher >From: clp@wjh12.harvard.edu (Charles L. Perkins)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.