Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: -rv vs. background/foreground resources Message-ID: <9003021658.AA15765@expo.lcs.mit.edu> Date: 2 Mar 90 16:58:55 GMT References: <9003020143.AA29003@Larry.McRCIM.McGill.EDU> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 25 > > 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. The X Toolkit takes a different approach. It defines reverse video to be "swap the default foreground and background colors." Read: White on Black. If explicit colors are specified then the reverse video argument is overriden by the explicit color declarations. This is a close to a "standard" in this area as X is going to get. Since all toolkit applications do it this way you may want to be compatible with it. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213