[comp.windows.open-look] Longer icon titles under olwm? File type code?

warren@cs.stanford.edu (Mark A. Warren) (02/28/91)

First, I'm writing an xview application and would like to determine
file types without using kludgy filename extensions. Any pointers to
examples/code would be great (Hate to reinvent the wheel, I know
"file" does this by checking the first few bytes of a file. Any
examples of this, or alternate methods, are welcome).

Second, under twm and mwm it is possible to have the icon show the
complete title of the window (aka emacs@myfavoritehost). It's
inconvenient to have the titles truncated when the window is iconified
under olwm. Can olwm be cajoled into showing the entire title?

Thanks in advance,

Mark


Mark A. Warren				  Workstation Development Staff
warren@jessica.stanford.edu		  Academic Information Resources
(415) 723-5762				   Stanford University, CA 94305

--
  /^\/^\/^\   Mark Warren warren@jessica.stanford.edu	| Rains Box 12, Apt1D
  O /  /  /            /  warren%jessica@stanford.bitnet| Stanford, CA  94305  
   /  /  / /^\/  /-\  /_) from CompuServe:		| (415) 497-6816
  /     (_/\_/\_/  (_/ \___ >INTERNET:warren@jessica.stanford.edu