🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37588

Re: -rv vs. background/foreground resources

#37588
From: der Mouse
Date: Fri, 02 Mar 1990 01:43
25 lines
1292 bytes
> If an X client supports both the -rv (reverse video) command line
> option AND supports background and foreground resources, is there any
> official or defacto standard on how the 2 should interact?

I don't know, but it seems to me that least surprise requires that
using -rv always produce the reverse from what you'd get from the same
invocation without the -rv.

> For example, if the person is starting some X application called
> 'xapp' and has resources as shown in their .Xdefaults file:

> xapp*background:    Black
> xapp*foreground:    White

> and starts xapp with the command

> xapp -rv &

> should xapp have a black foreground on a white background or
> vica-versa?

Since skipping the -rv produces white-on-black, using -rv should
reverse this and produce black-on-white.  IMO, of course.

					der Mouse
Technical Details
Message-ID: <9003020143.AA29003@Larry.McRCIM.McGill.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse
From: mouse@LARRY.MCRCIM.MCGILL.EDU (der Mouse)
Newsgroups: comp.windows.x
Subject: Re:  -rv vs. background/foreground resources
Message-ID: <9003020143.AA29003@Larry.McRCIM.McGill.EDU>
Date: 2 Mar 90 01:43:55 GMT
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Lines: 25