[comp.sys.sun] Reverse Video Problem

whiteley@nadc.arpa (D. Whiteley) (07/10/89)

In communicating with our IBM mainframe tip under particular conditions
accepts a control signal from the mainframe comunication hardware that
puts the sun terminal into reverse video mode. This happens on 3.x and 4
machines and under SUNOS 3.x and 4.x.  The problem is we can't find any
way short of rebooting to change out of reverse video. (I should mention
suntools does not appear in reverse video only the basic console screen.)
What character string takes one back to regular video display? 

We have term aliased to the following:

set noglob;eval `tset -s -Q !*`;unset noglob

So when our console goes into reverse video I type the following:

term sun
reset

Sometimes I have to type reset twice. 

Hope this helps,

Denice
whiteley@nadc.arpa

grossi@uunet.uu.net (Thomas Grossi) (07/25/89)

It's possible to turn reverse video on and off by sending escape sequences
to the console.  The sequence ^[[7m turns it on and the sequence ^[[m
turns it off.  (I use this in my prompt to draw a black bar across the
screen between commands).  Sending the second sequence, followed by a
clear, should set your screen back to normal.