peregrin@hulaw1.harvard.edu (06/06/91)
I imagine this is an FAQ, but I've spent an hour in the man pages/docs and can't find the answer. On a Monochrome SPARCstation, how does one set windows to reverse-video? I'm at least trying to get cmdtool to come up in reverse video. I would like to make all windows reversed video, if I can. The -Wf and -Wb flags are ignored on a monochrome station. I'm running OpenWindows 2.0, on SunOS 4.1.1 -James +----------------------------------------------------------------------------+ | James Peregrino | JPEREGRINO@HBSSTG.HARVARD.EDU | | Programmer/Analyst | PEREGRIN@HULAW1.BITNET | | Science & Technology Interest Group +-----------------------------------+ | Harvard Business School | HBS neither expresses nor implies | | Boston, MA 02163 | any warranty in any of the | | Voice:(617)495-6307 FAX:(617)495-0351 | opinions or alleged facts herein. | +----------------------------------------------------------------------------+
battan@sequent.com (06/12/91)
In article <1991Jun5.133032.1@hulaw1.harvard.edu> peregrin writes: > On a Monochrome SPARCstation, how does one set windows to >reverse-video? I'm at least trying to get cmdtool to come up in >reverse video. I lived with non-reverse video until my eyes complained so much that I came up with a solution. The solution is to use xterm instead of cmdtool or shelltool. xterm can do scrolling just like cmdtool, and xterm understands and propogates the cursor keys a lot better than cmdtool did for my applications. To get reverse video in your xterms, just add XTerm*reverseVideo: True to your .Xdefaults file, and to get a black root background, add these lines after the olwm statup in .xinitrc: sleep 3 xsetroot -solid black BTW: xterm is in $OPENWINHOME/demo/xterm. I created a symlink from $OPENWINHOME/bin/xterm to it. Still, I too would like to see options for shelltool/cmdtool to do reverse video. "When there's a will, there's a way." -- Jim Battan - Sequent Computer Systems battan@sequent.com or uunet!sequent!battan +1 503 578 5129
dmaustin@vivid.sun.com (Darren Austin) (06/12/91)
In article <1991Jun11.180603.4197@sequent.com> battan@sequent.com writes: > In article <1991Jun5.133032.1@hulaw1.harvard.edu> peregrin writes: > > On a Monochrome SPARCstation, how does one set windows to > >reverse-video? I'm at least trying to get cmdtool to come up in > >reverse video. > [ stuff about using xterm instead ... ] > Still, I too would like to see options for shelltool/cmdtool to do > reverse video. Ask, and ye shall receive. This functionality has been added to the next release of XView (and no, I can't tell you when that is ;-) Cheers, --Darren -- Darren Austin | Actually, it's a buck and a quarter Sun Microsystems, Mountain View | quarter staff, but I'm not going to dmaustin@sun.com | tell *him* that.
afoiani@nmsu.edu (Anthony "Tkil" Foiani) (06/12/91)
Did you try: {cmd,shell}tool -Wf 255 255 255 -Wb 0 0 0 ? Just a thought, Tony -- Tony Foiani a.k.a. Tkil (afoiani@nmsu.edu) or (mcsajf@nmsuvm1.bitnet) Supporting: Unix / DOS / VMS / Macintosh / "What's this?" "As the water flows over the bridge, | As we walk on the Floodland | "Rain From Heaven" As we walk on the water, we forget | _Gift_ We forget. Rain from Heaven." | The Sisterhood
ajdh@stl.stc.co.uk (Andrew J D Hurley) (06/13/91)
In the referenced article afoiani@nmsu.edu (Anthony "Tkil" Foiani) writes: > >Did you try: > {cmd,shell}tool -Wf 255 255 255 -Wb 0 0 0 Or better, {cmd,shell}tool -Wf 255 255 255 -Wb 0 0 0 -Wg This gives inverse text area as well as just the border. -- Andrew J D Hurley, ( ajdh@stl.stc.co.uk ) Mail route: uunet!ukc!stl!ajdh | Phone: +44 279 429531 x. 2535 BNR Europe Ltd., London Road, Harlow, Essex CM17 9NA, UK.
sinkwitz@ifi.unizh.ch (Rainer Sinkwitz) (06/13/91)
In article <1991Jun11.180603.4197@sequent.com> battan@sequent.com writes: >In article <1991Jun5.133032.1@hulaw1.harvard.edu> peregrin writes: > >Still, I too would like to see options for shelltool/cmdtool to do >reverse video. > >"When there's a will, there's a way." >-- >Jim Battan - Sequent Computer Systems >battan@sequent.com or uunet!sequent!battan >+1 503 578 5129 Why not do a: shelltool -fg white -bg black It works fine. -- Rainer Sinkwitz | E-mail: sinkwitz@ifi.unizh.ch Dept. of Computer Science | sinkwitz%ifi.unizh.ch@relay.eu.net University of Zuerich | {backbone}!mcsun!unizh!sinkwitz
kraus@rtsg.mot.com (David Kraus) (06/14/91)
In article <AFOIANI.91Jun11143130@hobbes.nmsu.edu>, afoiani@nmsu.edu (Anthony "Tkil" Foiani) writes: > Did you try: > {cmd,shell}tool -Wf 255 255 255 -Wb 0 0 0 > ? This works, but not exactly like invoking sunview with the -i option. Your mouse cursor is still black, making it hard to find on a black background. This isn't such a bother with shelltools, but when you're trying to run an application using buttons and scrollbars, it's a pain. I'm suffering through this with a couple of tools developed internally. They work just dandy if used under sunview -i, but if you specify the foreground and background colors with -Wf and -Wb, not all the pull-down menus, etc get inverted (even with the -Wg parameter). Probably a poor design of the tool to begin with, but I'll have to suffer with it until our tools support group rewrites it to run under X. Were it not for a couple of sunview specific tools such as these, I'd just be running a 'standard' X server, rather than OpenWindows. Unfortunately, I need the sunview compatibility. On a related topic, is there any way to remove the annoying wide white border from around a sunview-based application when it puts a window or icon on the screen under OpenWindows? -- Dave Kraus UUCP: ...!uunet!motcid!kraus Motorola Cellular Infrastructure Division FidoNet: 1:115/934.5 Disclaimer: My employer's views and my views may necessarily differ. Quote: "PARDON me, am I speaking ENGLISH?" - Zippy
bp@chorus.fr (Bruno Pillard) (06/14/91)
From various recent articles > Did you try: > {cmd,shell}tool -Wf 255 255 255 -Wb 0 0 0 > This works... % Or better, % {cmd,shell}tool -Wf 255 255 255 -Wb 0 0 0 -Wg % % This gives inverse text area as well as just the border. - Why not do a: shelltool -fg white -bg black - - It works fine. All these combinations still don't work... for me !! I'm using the OpenWindows "xnews" server as delivered by SUN with SunOS 4.1 on a monochrome screen (SPARCstation SLC) and I can't get reverse video shelltools ! Are you using SunOS 4.1.1, another version of OpenWindows ?
gordonc@aifh.ed.ac.uk (Gordon Cameron (RA DAI)) (06/14/91)
From article <1991Jun13.163059.3966@ifi.unizh.ch>, by sinkwitz@ifi.unizh.ch (Rainer Sinkwitz): > In article <1991Jun11.180603.4197@sequent.com> battan@sequent.com writes: >>In article <1991Jun5.133032.1@hulaw1.harvard.edu> peregrin writes: >> >>Still, I too would like to see options for shelltool/cmdtool to do >>reverse video. >> >>"When there's a will, there's a way." >>-- >>Jim Battan - Sequent Computer Systems >>battan@sequent.com or uunet!sequent!battan >>+1 503 578 5129 > > > Why not do a: shelltool -fg white -bg black > > It works fine. > All this is very well if you have a colour screen. However, if you have a mono screen, the problem remains if you try to use shell/command tools..
sinkwitz@ifi.unizh.ch (Rainer Sinkwitz) (06/14/91)
In article <11034@chorus.fr> bp@chorus.fr (Bruno Pillard) writes: > >From various recent articles > >> Did you try: >> {cmd,shell}tool -Wf 255 255 255 -Wb 0 0 0 >> This works... > >% Or better, >% {cmd,shell}tool -Wf 255 255 255 -Wb 0 0 0 -Wg >% >% This gives inverse text area as well as just the border. > >- Why not do a: shelltool -fg white -bg black >- >- It works fine. > >All these combinations still don't work... for me !! > >I'm using the OpenWindows "xnews" server as delivered by SUN with >SunOS 4.1 on a monochrome screen (SPARCstation SLC) and I can't get >reverse video shelltools ! > >Are you using SunOS 4.1.1, another version of OpenWindows ? I'm using a color workstation. I also tested it on a monochrome one to see: It doesn't work on monochrome Screens !!! So you'r finally out of luck ;-( Greetings -- Rainer Sinkwitz | E-mail: sinkwitz@ifi.unizh.ch Dept. of Computer Science | sinkwitz%ifi.unizh.ch@relay.eu.net University of Zuerich | {backbone}!mcsun!unizh!sinkwitz
doehr@magellan.den.mmc.com (Brett B. Doehr) (06/17/91)
Being a color monitor user, I am now somewhat successfully using cmdtool -fg white -bg black, but have a question. When using this, the menus generated within the window (e.g., Term Pane with all the textedit options) show up as white text on a background of whatever color the Windows property is set to. However, the Window title and the menu generated by clicking on the window border (Window: Close...Quit) show up as black text on a background of whatever color the Windows property is set to. How can I get the window title and the toplevel Window menu to inverse its video and use white text? I am on a SPARCstation 2, SunOS 4.1.1, OpenWindows 2.0. --Brett. ============================================================| Brett B. Doehr Martin Marietta Astronautics Group | Voice: (303) 977-1504 Internet: doehr@den.mmc.com | Fax: (303) 977-1530 America Online: BrettBD | "Writing software that only a mother could love..." | ============================================================|