home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / admin / 10876 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.3 KB

  1. Xref: sparky comp.sys.sun.admin:10876 comp.windows.x:21658 comp.windows.open-look:5183
  2. Newsgroups: comp.sys.sun.admin,comp.windows.x,comp.windows.open-look
  3. Path: sparky!uunet!europa.eng.gtefsd.com!emory!swrinde!cs.utexas.edu!torn!ryelect!elf
  4. From: elf@ee.ryerson.ca (luis fernandes)
  5. Subject: Re: How to determine frame buffer type on a Sun?
  6. Message-ID: <1993Jan28.184452.26467@ee.ryerson.ca>
  7. Keywords: X11, Xsun, XunMono
  8. Sender: news@ee.ryerson.ca
  9. Nntp-Posting-Host: eccles
  10. Organization: Ryerson Polytechnical Institute, Toronto
  11. References: <1993Jan28.031919.19698@mdd.comm.mot.com>
  12. Distribution: na
  13. Date: Thu, 28 Jan 1993 18:44:52 GMT
  14. Lines: 26
  15.  
  16. tim@mdd.comm.mot.com (Tim Rosmus) writes:
  17. >
  18. >Has anybody got a little shell script or any type of program that
  19. >will return something that you can use to choose which X11 Server
  20. >to use on a Sun?  Something like .....
  21. >
  22. I use the following to determine what to map on my background
  23. depending on the type of machine I log-in to (you can adapt
  24. it for your needs...):
  25.  
  26. #!/bin/sh
  27. :
  28. :
  29. if [ `constype` = gx ]
  30. then
  31. #SPARCstation with GX card
  32.         xview -onroot -colors 100 cindy
  33. elif [ `constype` = cg3 ]
  34. then
  35. #el cheapo SPARC
  36.         xview -onroot -colors 100 cindy
  37. else
  38. #assume mono & display a mundane bitmap
  39.         xsetroot -bitmap $HOME/bm/wings.bm
  40. fi
  41.  
  42.