It sounds like X did what it was supposed to do when you first tried to open these JPEG's. It recognized them as PictureViewer files and went to Classic which is where that app probably resides. Is this correct?
As for finding a 'Creator" code for Preview, I' m betting it doesn't have/use one. I don't think 'new' X programs use those codes anymore. I think they only create file name extensions. Apparently they can be longer than just 3 letters, also. But if you have set the System to not show those extensions, you will never normally see them. I would supoose that simply turning that option on, temporarily, would allow you to see the ".extension' for Preview. But it sounds like you don't even need to do that, just follow Paddy's directions.
This 'feature' doesn't sound quite as bad as I once thought it was, but it seems it would still be easy for a human to get confused about what program will open a file (even if the Mac won't).
BTW, there are several good books more about X than UNIX that might be more what you need. The problem with these kinds of books is that they are so soon out of date!
Jim C.
[ 03-22-2003, 05:54 PM: Message edited by: airbusdriver ]