home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sun / apps / 1664 < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.9 KB  |  54 lines

  1. Newsgroups: comp.sys.sun.apps
  2. Path: sparky!uunet!gatech!concert!samba!helix!cptully
  3. From: cptully@med.unc.edu (Christopher P. Tully,Pathology,62679)
  4. Subject: Re: background/foreground colors
  5. Message-ID: <1992Aug20.132200.7504@samba.oit.unc.edu>
  6. Sender: usenet@samba.oit.unc.edu
  7. Nntp-Posting-Host: helix.med.unc.edu
  8. Reply-To: cptully@med.unc.edu
  9. Organization: UNC-CH School of Medicine
  10. References: <1992Aug19.105111.11852@cas.org>
  11. Date: Thu, 20 Aug 1992 13:22:00 GMT
  12. Lines: 40
  13.  
  14. >In article <1992Aug18.033357.9923@fcom.cc.utah.edu> bryant@ced.utah.edu writes:
  15. >:I give up! After an hour and a half I cannot get cmdtool to set my background
  16. >:to black and my foreground to yellow. I want this to be through my .Xdefaults
  17. >:file, not the command line.
  18. >
  19. >:Does anyone know how to JUST get cmdtool to change colors?
  20. >:
  21. >:I tried the obvious,
  22. >:
  23. >:   cmdtool.window.color.background: black
  24. >:   cmdtool.window.color.foreground: yellow
  25. >
  26.  
  27.  
  28. OK, you've tried the hard way, now try the easy way:
  29.  
  30. 1) in your current (wrong color) cmdtool type:
  31.  
  32. cmdtool -bg black -fg yellow &
  33.  
  34. 2) now quit the cmdtool that has the wrong color scheme.
  35. 3) if you have customized your openwin-menu file add the "-bg black 
  36.    -fg yellow" to your cmdtool statrup line.
  37. 4) SAVEWORKSPACE!!! - this puts the color info in the right place.  
  38.  
  39. Or, if you don't like this approach, edit your .openwin-init file to 
  40. look like this:
  41.  
  42. toolwait cmdtool -Wp 387 0 -Ws 593 869 -WP 161 833 -Wi -fg yellow -bg black 
  43.  
  44.  
  45. *********************************************************************
  46. Christopher P. Tully                <cptully@med.unc.edu>
  47. Univ. of North Carolina - Chapel Hill        1122 Vic Charles Dr.
  48. Department of Pathology                Raleigh, NC 27606
  49. CB# 7525            work: (919) 966-2699
  50. Chaple Hill, NC 27599        hone: (919) 851-8816
  51. *********************************************************************
  52.  All opinions above are Copywrite <current year> Christoper P. Tully
  53.  
  54.