[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

212.0. "Info about INFO" by CYGNUS::DEBRUYN (Tony - my AMIGA DOS it all for me) Thu Dec 11 1986 08:56

   A question about miscellaneous files on my workbench disks.  I
    understand that all the files with a .INFO extension are the icon
    and argument information for the data or program file with the same
    filename. However, I have found several files with no filename,
    only an extension of .INFO.  Sometimes they are in the top level
    directiory (MFD?) and sometimes in a subdirectory.  I don't think
    that it is the icon information for a directory since already exists.
    for instance I have a disk with both DISK.INFO  and <null>.INFO
    at the top level directory,as well as a subdirectory named FOO and
    it's related icon, FOO.INFO.  Then in the FOO subdirectory will
    be another <null>.INFO file.  Are theses generic icons sitting around
    waiting to be picked up?  
T.RTitleUserPersonal
Name
DateLines
212.1DISK .ne. DirectoryDRUMS::FEHSKENSFri Dec 12 1986 10:536
    I believe these just ".INFO" files represent the icon for the directory
    itself.  That's how you hide directories from the workbench.  Somebody
    who knows for sure, please speak up.
    
    len.
    
212.2.INFO = list of xxx.INFOPOMPEO::ZABOTMarco Zabot-Adv.Tech.mgr-Turin ACTFri Dec 12 1986 11:568
    The  .INFO file contains the list of the xxxxx.INFO that you have
    in your directory. Whenever you open a directory, WB lokk into this
    file and that fetches all the mentioned file to show the icons.
    You may also play a little ( use a spare disk ! ) usinf FILEZAP
    and modifying the contents of  .INFO file. If you remove a name
    the related icon won't be displayed even if the xxx.info file is
    present.
    
212.3CYGNUS::DEBRUYNTony - my AMIGA DOS it all for meFri Jan 16 1987 11:3414
    I understand that the file FOO.INFO is the icon and tool information
    for the related file name FOO.  I also understand that some .INFO
    file must be for the disk.  What I still can not figure out is the
    purpose of some of the other .INFO files.  I presume that the
    <null>.INFO file at the top directory level is for the disk icon.
    In that case, what is the file DISK.INFO that sometimes appears
    automagically.  I have a vague feeling that this is usually when
    I have done a 'snapshot' of the disk icon.  If that is so, then
    why two files for the disk, <null>.INFO and DISK.INFO?  A second
    mysterious situation is when I have a subdirectory like EMPTY with
    an associated EMPTY.INFO file.  Frequently there will be a <nul>.INFO
    file in that subdirectory.  What are these extra .INFO files for?
    
    Anybody have ideas about what is going on?
212.4Make you own disk icons?HAZEL::MELLITZFri Jan 16 1987 13:156
    Where's the file that contians the disk icon. I tried IconED on
    the .INFO but got an error. How can I change the picture of the
    disk.  Scribble! has got a neet disk ICON that I can use if I copy
    it's .info to a new disk but I still can't create my own.
    
    ... Rich
212.5disk.info and .infoTLE::RMEYERSRandy MeyersFri Jan 16 1987 14:5526
The file disk.info contains the icon for the disk.  The file .info
contains a list of all the icon files that exist in the directory.
(Thus, .info isn't really a icon file.)

Normally, disks do not have a disk.info file, and a default icon is
used.  However, if a disk.info exists, the workbench will read it in
to get the image of the disk.

As was mentioned in a previous reply, the only time (that I have
found at least) that the workbench will create a disk.info file
is if you select the disk icon, and then do a snapshot of the
workbench.  The reason why it creates a disk.info file at that
time is that the place where the workbench stores coordinates
of a icon is in the info file.

You can, of course, copy a disk.info file from on disk to another
and change the icon for the disk by using IconEd.  I have some
small C programs that allow you to do things like unset the
coordinates of an icon, so you can allow the workbench to select
a good place to display a disk icon, and not save to place the
disk icons yourself.  Someday, I might clean up the programs
and release them.  It turns out that their are several interesting
fields in icons that would be nice to be able to change.  For example,
do you dislike the orange halo around some icons when they are
selected?  It turns out that setting one bit in the info file
does away with the halo.