116 lines · 2.8 KB · Text
RawDownload
.TH FACE 6.SH NAMEface \- face files.SH DESCRIPTIONThe directories.B /usr/$user/lib/faceand.B /lib/facecontain a hierarchy of images of people.In those directories are subdirectories named by the sizes ofthe corresponding image files:.B 48x48x1(48 by 48 pixels, one bit per pixel);.B 48x48x2(48 by 48 pixels, two (grey) bits per pixel);.B 48x48x4(48 by 48 pixels, four (grey) bits per pixel);.B 48x48x8(48 by 48 pixels, eight (color-mapped) bits per pixel);.B 512x512x8(512 by 512 pixels, eight (color-mapped) bits per pixel);.B 512x512x24(512 by 512 pixels, twenty-four bits per pixel (3 times 8 bitsper color)).The large files serve no special purpose; they are storedas images(see.IR image (6)).The small files are the `icons'  displayed by.B facesand.B seemail(see.IR faces (1));for depths less than 4, their format is special..PPOne- and two-bit deep icons are stored as text, one line of the file to one scan lineof display.Each line is divided into 8-bit, 16-bit, or 32-bit big-endian words,stored as a list of comma-separated hexadecimal C constants,such as:.IP.EX0x9200, 0x1bb0, 0x003e,.EE.PPThis odd format is historical and the programs that read itare somewhat forgiving about blanks and the need for commas..PPThe files.BR  lib/face/*/.dicthold a correspondence between users at machinesand face files.The format is.IP.EX.I machine\fB/\fPuser directory\fB/\fPfile\fB.\fPver.EE.PPThe.I machineis the domain name of the machine sending the message,and.I userthe name of the user sending it, as recorded in.BR /sys/log/mail .The.I directoryis a further subdirectory of (say).BR /lib/face/48x48x1 ,named by a single letter corresponding to the first characterof the user names.  The.I fileis the name of the file, typically but not always the user name,and.I veris a number to distinguish different images, for example todistinguish the image for Bill Gates from the image for Bill Joy,both of which might otherwise be called.BR b/bill .For example, Bill Gates might be represented by the line.IP.EXmicrosoft.com/bill b/bill.1.EE.PPIf multiple entries exist for a user in the various.B .dictfiles,.I faceschooses the highest pixel size less than or equal to that of thedisplay on which it is running..PPFinally, or rather firstly, the file.B /lib/face/.machinelistcontains a list of machine/domain pairs, one per line,to map any of a set of machines to a single domain name tobe looked up in the.B .dictfiles.  The machine name may be a regular expression,so for example the entry.IP.EX\&.*research\e.bell-labs\e.com    astro.EE.PPmaps any of the machines in Bell Labs Research into theshorthand name.BR astro ,which then appears as a domain name in the.B .dictfiles..SH "SEE ALSO".IR mail (1),.IR tweak (1),.IR image (6)