[alt.sys.sun] Reverse Video in OW?

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

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..

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..."     |
============================================================|