Article View: comp.windows.x.kde
Article #33Re: Improper Background Colors In The Terminal
From: Steve
Date: Wed, 24 Jul 2002 02:33
Date: Wed, 24 Jul 2002 02:33
236 lines
8386 bytes
8386 bytes
Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro�johann wrote in message news:<vaflm82fn5j.fsf@lucy.cs.uni-dortmund.de>...
> stevesusenet@yahoo.com (Steve) writes:
>
> > "xterm -bg white" comes up white.......but invoking emacs with a
> > command for a white background in it still causes emacs to come up as
> > a greeenish gray.
>
> Note that you can change the color that xterm knows as "white". For
> example, I have
>
> XTerm*color15: gainsboro
>
> in ~/.Xresources and this means that programs running inside of xterm
> requesting white (color #15) will actually get gainsboro.
>
> Maybe your situation is similar. Try "xrdb -query" and grep its
> output or "appres xterm" or "appres XTerm".
>
> kai
Interesting.
My .Xdefaults ( and .Xresources, in home and /etc/skel ) have no such
statements. I did learn how to change the default background of xtemr
though:)
Wherever color15 is being tweaked it is not in there.
Here is my .Xresources ( suse 7.2 ):
==========================================================
emacs.geometry:=120x40+50+20
emacs.Font:-*-courier-*-r-*-*-12-*-100-100-*-*-*-*
! ===========================================================================
! OpenWindows Olwm Olvwn
! ====.Xdefaults=======================================================================
!
OpenWindows.AutoRaise: false
OpenWindows.AutoReReadMenuFile: true
OpenWindows.Beep: never
OpenWindows.ClickMoveThreshold: 5
OpenWindows.DragRightDistance: 50
OpenWindows.DragThreshold: 5
OpenWindows.FocusLenience: true
OpenWindows.IconFlashCount: 3
OpenWindows.IconLocation: bottom
OpenWindows.MinimalDecor: Virtual xload xmem xsysinfo xosview xbiff
xclock xeyes
OpenWindows.MultiClickTimeout: 4
OpenWindows.PaintWorkspace: true
OpenWindows.PopupJumpCursor: true
OpenWindows.RubberBandThickness: 1
OpenWindows.ScrollbarPlacement: right
OpenWindows.SelectDisplaysMenu: False
OpenWindows.SelectToggleStacking: true
OpenWindows.SelectWindows: true
OpenWindows.ServerGrabs: true
OpenWindows.SetInput: followmouse
OpenWindows.ShowMoveGeometry: true
OpenWindows.ShowResizeGeometry: true
OpenWindows.SnapToGrid: true
OpenWindows.Use3D: true
OpenWindows.Use3DFrames: true
OpenWindows.Use3DResize: true
OpenWindows.VirtualDesktop: 2x2
OpenWindows.VirtualGrid: none
OpenWindows.VirtualSticky: Virtual xload xmem xsysinfo xosview xbiff
xclock swissclock
!OpenWindows.WindowColor: #b2b2b2
!OpenWindows.WorkspaceColor: gray
*printCommand: lpr
Mwm.interactivePlacement: false
grok*ColSheet: black
xterm*background: LightYellow2
xterm.eightBitInput: true
xterm*multiScroll: on
xterm*jumpScroll: on
! xterm*font: -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1
xterm*ScrollBar: on
xterm*SaveLines: 2000
! xterm*VisualBell: true
xterm.eightBitOutput: true
XTerm*color15: white
Scrollbar.JumpCursor: True
Ghostview.pageMedia: A4
*XConsole*text.scrollHorizontal: False
*XConsole*text.wrap: line
!
! XSysinfo
!
XSysinfo*.font: fixed
XSysinfo*.title.label: Linx System Info
XSysinfo*.title.width: 200
XSysinfo*.load.name.label: CPU Load:
XSysinfo*.idle.name.label: CPU Idle:
XSysinfo*.mem.name.label: Memory:
XSysinfo*.swap.name.label: Swap:
! set foreground colors for load
XSysinfo*load*bar.foreground: RosyBrown1
XSysinfo*load*bar.foreground1: IndianRed1
XSysinfo*load*bar.foreground2: OrangeRed1
XSysinfo*load*bar.foreground3: firebrick1
XSysinfo*load*bar.foreground4: pink1
XSysinfo*load*bar.foreground5: HotPink1
XSysinfo*load*bar.foreground6: DeepPink2
XSysinfo*load*bar.foreground7: maroon1
XSysinfo*load*bar.segmentGap: 1
! set idle gauge color
XSysinfo*idle*bar.foreground: green
XSysinfo*idle*bar.backgroud: red
! set mem info gauge colors
XSysinfo*mem*bar.foreground: tomato
XSysinfo*mem*bar.foreground1: green3
XSysinfo*mem*bar.foreground2: orchid
! set swap gauge color
XSysinfo*swap*bar.foreground: hotpink1
! set background
XSysinfo*.background: gray50
XSysinfo*.BarGauge.background: white
*basicLocale: C
*timeFormat: C
*numeric: C
*displayLang: C
*inputLang: C
#ifdef COLOR
*customization: -color
#endif
!Here are the Xaw3D definitions that reside within my .Xdefaults file.
!It took me a while to make everything look like the true Motif feel,
so
!put it into your .Xdefaults file and enjoy this cool xterm!
!
! Good Xaw3d Defaults
#ifdef COLOR
*Form.background: grey67
*TransientShell*Dialog.background: grey67
*Command.background: grey77
*MenuButton.background: grey77
*MenuButton.foreground: black
*SimpleMenu*background: grey77
*SimpleMenu*foreground: black
*ScrollbarBackground: grey67
*ScrollbarForeground: grey37
*Scrollbar*background: grey77
*Scrollbar*foreground: grey37
*Scrollbar*pointerColor: black
*Scrollbar*pointerColorBackground: white
*beNiceToColormap: False
#else
*Form.background: black
*Form.foreground: white
*TransientShell*Dialog.background: black
*TransientShell*Dialog.foreground: white
*Command.background: black
*Command.foreground: white
*MenuButton.background: black
*MenuButton.foreground: white
*SimpleMenu*background: black
*SimpleMenu*foreground: white
*ScrollbarBackground: black
*ScrollbarForeground: white
*Scrollbar*background: black
*Scrollbar*foreground: white
*Scrollbar*pointerColor: black
*Scrollbar*pointerColorBackground: white
*beNiceToColormap: True
#endif
XTerm*Scrollbar*width: 16
XTerm*Scrollbar*height: 16
XTerm*Scrollbar*shadowWidth: 2
XTerm*Scrollbar*borderWidth: 3
*Scrollbar*width: 15
*Scrollbar*height: 15
*Scrollbar*shadowWidth: 2
*Scrollbar*borderWidth: 2
*Scrollbar*cursorName: top_left_arrow
*Scrollbar*pushThumb: false
*Label*shadowWidth: 2
*Label*borderWidth: 2
*shapeStyle: Rectangle
*shadowWidth: 2
*SmeBSB*shadowWidth: 2
*Toggle*highlightThickness: 2
*MenuButton*highlightThickness: 2
*Command*highlightThickness: 2
*Panner*shadowThickness: 2
*SimpleMenu*shadowThickness: 2
*topShadowContrast: 20
*bottomShadowContrast: 45
*PushThumb: False
! ===========================================================================
! Motif
! ===========================================================================
!*XmText.translations: #override\n\
! <Key>osfDelete: delete-previous-character()\n\
! <Key>osfBackSpace: delete-next-character()\n
!
!*XmTextField.translations: #override\n\
! <Key>osfDelete: delete-next-character()\n\
! <Key>osfBackSpace: delete-previous-character()\n
! ===========================================================================
! XTerm
! ===========================================================================
!*vt100.translations: #override \
! <Key>Home: string("[1~") \n\
! <Key>Insert: string("[2~") \n\
! <Key>BackSpace: string("[3~") \n\
! <Key>End: string("[4~")
Technical Details
Message-ID:
<6f8cb8c9.0207231833.125c2e3@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<3D3B1F20.4050004@bottom.of.post.nospam.com> <vaf7kjnhev8.fsf@lucy.cs.uni-dortmund.de> <6f8cb8c9.0207230430.6ed94edb@posting.google.com> <vaflm82fn5j.fsf@lucy.cs.uni-dortmund.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1041dd,61c2d50c4514827c X-Google-Attributes: gid1041dd,public X-Google-Thread: 103b8b,61c2d50c4514827c X-Google-Attributes: gid103b8b,public X-Google-Thread: 10baf0,61c2d50c4514827c X-Google-Attributes: gid10baf0,public X-Google-Thread: 102b9a,61c2d50c4514827c X-Google-Attributes: gid102b9a,public X-Google-ArrivalTime: 2002-07-23 19:33:57 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: stevesusenet@yahoo.com (Steve) Newsgroups: comp.windows.x.kde,alt.os.linux.suse,comp.emacs,gnu.emacs.help Subject: Re: Improper Background Colors In The Terminal Date: 23 Jul 2002 19:33:57 -0700 Organization: http://groups.google.com/ Lines: 236 Message-ID: <6f8cb8c9.0207231833.125c2e3@posting.google.com> References: <3D3B1F20.4050004@bottom.of.post.nospam.com> <vaf7kjnhev8.fsf@lucy.cs.uni-dortmund.de> <6f8cb8c9.0207230430.6ed94edb@posting.google.com> <vaflm82fn5j.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: 209.244.228.112 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1027478037 13662 127.0.0.1 (24 Jul 2002 02:33:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 24 Jul 2002 02:33:57 GMT