Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Need code for screen flash (vt100 'vb')

1 view
Skip to first unread message

Mark R. Lindsey

unread,
Jan 25, 1994, 5:29:45 PM1/25/94
to
Does anyone here know how to make the screen flash? What procedure for
making it do so should I employ?

Thanks.

- Mark

--
Mark R. Lindsey [][] South Georgia Digital Research Institute
mlin...@nyx10.cs.du.edu [][] Valdosta, Georgia, 31602-9197

Alistair J Coffin

unread,
Jan 26, 1994, 11:58:55 AM1/26/94
to
Mark R. Lindsey (mlin...@nyx10.cs.du.edu) wrote:
: Does anyone here know how to make the screen flash? What procedure for

: making it do so should I employ?

Here is a lovely little prog that will do it for you. Save it as something,
and then run it, with the shell to be 'flashed' and the time in between
flashes
i.e, flash ttyp 1

Hope it works!

#! /bin/csh -f
while 1
echo -n "[?5h" > /dev/$1
sleep $2
echo -n "[?5l" > /dev/$1
sleep $2
end


--
============================================================================
! ____ _ _____ ____ | Email: Sonic the Perv !
! / ___| ___ _ __ (_) ___ |_ _| _ \ | ma9...@brunel.ac.uk !
! \___ \ / _ \| '_ \| |/ __| | | | |_) | | !
! ___) | (_) | | | | | (__ | | | __/ | Usual Reply: Bollocks I am !
! |____/ \___/|_| |_|_|\___| |_| |_| | perverted! !
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Scott McNabb

unread,
Jan 27, 1994, 4:32:50 AM1/27/94
to

>Does anyone here know how to make the screen flash? What procedure for
>making it do so should I employ?

Flicking the power switch 20 times in rapid succession.

--
- email s...@hades.equinox.gen.nz for signature -

Fariborz Skip Tavakkolian

unread,
Jan 29, 1994, 8:20:15 PM1/29/94
to
In article <CK8xu...@brunel.ac.uk> ma9...@brunel.ac.uk (Alistair J Coffin) writes:
> Mark R. Lindsey (mlin...@nyx10.cs.du.edu) wrote:
> : Does anyone here know how to make the screen flash? What procedure for
> : making it do so should I employ?
>
> Here is a lovely little prog that will do it for you. Save it as something,
> and then run it, with the shell to be 'flashed' and the time in between
> flashes
> i.e, flash ttyp 1
>
> Hope it works!
> #! /bin/csh -f
> while 1
> echo -n "[?5h" > /dev/$1
> sleep $2
> echo -n "[?5l" > /dev/$1
> sleep $2
> end

On System V machines you can use ``tput'' to generate any of the
control sequences which are defined for your ``TERM'' terminal type.
GNU has a ``tput'' utitilty which you can get the sources to.

So to write ``this is a test'' in reverse video (regardless of
the terminal type), you can execute this:

$ tput rev ; echo "This is a test"; tput sgr0


>--
> ============================================================================
>! ____ _ _____ ____ | Email: Sonic the Perv !
>! / ___| ___ _ __ (_) ___ |_ _| _ \ | ma9...@brunel.ac.uk !
>! \___ \ / _ \| '_ \| |/ __| | | | |_) | | !
>! ___) | (_) | | | | | (__ | | | __/ | Usual Reply: Bollocks I am !
>! |____/ \___/|_| |_|_|\___| |_| |_| | perverted! !
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
********************************************************************
* Fariborz ``Skip'' Tavakkolian Claircom Communications Group *
* f...@claircom.com 700 Fifth Ave, Suite 2100 *
* (206)389-7150 Seattle, WA. 98104 *
********************************************************************

0 new messages