annotate
apropos
catcr
catcs
cc.icon
cc.magic
cd
chactivity
chbl
checkin
checkout
checkvob
chevent
chflevel
chfolder
chmaster
chpool
chproject
chstream
chtype
chview
clearaudit
clearbug
cleardescribe
cleardiffbl
cleardiff
clearexport_ccase
clearexport_cvs
clearexport_pvcs
clearexport_rcs
clearexport_sccs
clearexport_ssafe
clearfsimport
cleargetlog
clearhistory
clearimport
clearjoinproj
clearlicense
clearmake
clearmake.options
clearmrgman
clearprojexp
clearprompt
cleartool
clearviewupdate
clearvobadmin
comments
config_ccase
config_spec
cptype
credmap
creds
deliver
describe
diffbl
diffcr
diff
dospace
edcs
endview
env_ccase
events_ccase
export_mvfs
exports_ccase
file
find
findmerge
fmt_ccase
getcache
get
getlog
help
hostinfo
init_ccase
ln
lock
lsactivity
lsbl
lscheckout
lsclients
lscomp
lsdo
lsfolder
lshistory
ls
lslock
lsmaster
lspool
lsprivate
lsproject
lsregion
lsreplica
lssite
lsstgloc
lsstream
lstype
lsview
lsvob
lsvtree
makefile_aix
makefile_ccase
makefile_gnu
makefile_pmake
makefile_smake
makefile_sun
man
merge
mkactivity
mkattr
mkattype
mkbl
mkbranch
mkbrtype
mkcomp
mkdir
mkelem
mkeltype
mkfolder
mkhlink
mkhltype
mklabel
mklbtype
mkpool
mkproject
mkregion
mkstgloc
mkstream
mktag
mktrigger
mktrtype
mkview
mkvob
mount_ccase
mount
msdostext_mode
mvfslog
mvfsstorage
mvfstime
mvfsversion
mv
omake
pathnames_ccase
permissions
profile_ccase
promote_server
protect
protectvob
pwd
pwv
query_language
quit
rebase
recoverview
reformatview
reformatvob
register
relocate
rename
reqmaster
reserve
rgy_backup
rgy_check
rgy_passwd
rgy_switchover
rmactivity
rmattr
rmbl
rmbranch
rmcomp
rmdo
rmelem
rmfolder
rmhlink
rmlabel
rmmerge
rmname
rmpool
rmproject
rmregion
rmstgloc
rmstream
rmtag
rmtrigger
rmtype
rmver
rmview
rmvob
schedule
schemes
scrubber
setactivity
setcache
setcs
setplevel
setsite
setview
shell
snapshot.conf
softbench_ccase
space
startview
type_manager
umount
uncheckout
unlock
unregister
unreserve
update
version_selector
view_scrubber
vob_restore
vob_scrubber
vob_sidwalk
vob_snapshot
vob_snapshot_setup
wildcards_ccase
winkin
xclearcase
xcleardiff
xmldiffmrg
DESCRIPTION
An icon file contains an ordered set of rules that maps file types to names of bitmap files, which contain icon bitmaps.
In xclearcase, a file browser uses a series of lookups to determine how to represent a file system object:
- It searches one or more magic files to determine the list of file types for the file system object. (See the cc.magic reference page for details.)
- It searches one or more icon files for a match with the first file type. Finding a match yields the name of a bitmap file. For example, this entry maps the file type text_file to the icon bitmap file name text: text_file : -icon text ;
- The semicolon (;) that terminates an icon rule must be preceded by white space.
- If no match can be found for the first file type, xclearcase searches the same set of icon files for a match with the second file type, and so on through the entire list of file types, if necessary. (If none of the file types produces a match in any icon file, an error occurs.)
- Having determined the name of a bitmap file, xclearcase searches for an actual file in one or more directories that contain bitmap files. (If it cannot locate a bitmap file with this name, an error occurs.)
- Bitmap file names must have a numeric extension, indicating the size of the bitmap. For example, text.40. xclearcase selects that bitmap file whose name begins with the string specified by –icon and whose size is 40x40 pixels.
If the file system object is selected, this process includes an extra step: xclearcase tries to match a –selected icon rule for each relevant file type before accepting a bitmap specified by –icon. For example, the following rule specifies both generic and “when selected” icons for use with elements of type text_file:
Selecting and deselecting a text_file object from a file browser switches between the two icons.
Search Paths
ClearCase and ClearCase LT support search paths both for icon files and for bitmap files:
- Icon file search path. If ICON_PATH is
set in your environment (to a colon-separated list of directories), xclearcase searches files with a .icon extension
in these directories. In each directory, files are processed in alphabetical
order. As soon as a matching rule is found, the search ends; thus, if multiple
rules match a file type, the first rule encountered is used.
If ICON_PATH is not set, this default search path is used:
- Bitmap file search path. If BITMAP_PATH is
set in your environment (to a colon-separated list of directories), xclearcase searches for bitmap files with a .40 suffix
in these directories.
If BITMAP_PATH is not set, this default search path is used: