🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.rt
Article #191

Re: Console Cursor Question

#191
From: Michael Richmond
Date: Wed, 02 Aug 1989 23:48
40 lines
1815 bytes
In article <12245@well.UUCP> gors@well.UUCP (Gordon Stewart) writes:
>
>Does anyone know how to get a block or blinking cursor on the RT console
>running vi?  The console defaults to a underscore-like character which
>is virtually impossible to find in a cluttered screen.
>
>-Karin Meyer

  Someone recently posted the following little shell script (I wish
I could remember who and give {him,her} credit) to give a variety
of cursor types on an RT. Just run the following 'shar' file through
/bin/sh and chmod the resulting file 'blob' to executable. Then type
'blob x' where 0 < x < 7 to get a variety of cursor types. I prefer
type 5, a solid block cursor, myself.

#!/bin/sh
# shar:	Shell Archiver  (v1.22)
#
#	Run the following text with /bin/sh to create:
#	  blob
#
sed 's/^X//' << 'SHAR_EOF' > blob &&
X#!/bin/sh
Xfoo=`stty -g`
Xstty raw 
Xecho \\033[x\\000\\000\\000\\012\\002\\010\\002\\000\\000\\00$1
Xstty $foo
SHAR_EOF
chmod 0777 blob || echo "restore of blob fails"
set `wc -c blob`;Sum=$1
if test "$Sum" != "108"
then echo original size 108, current size $Sum;fi
exit 0

   Have fun!

                       Michael

--                                          Michael Richmond
"This is the heart that broke my finger."   richmond@bllac.berkeley.edu
Technical Details
Message-ID: <26896@agate.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!agate!astroplasma.berkeley.edu!richmond
References: <12245@well.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!agate!astroplasma.berkeley.edu!richmond
From: richmond@astroplasma.berkeley.edu (Michael Richmond)
Newsgroups: comp.sys.ibm.pc.rt
Subject: Re: Console Cursor Question
Message-ID: <26896@agate.BERKELEY.EDU>
Date: 2 Aug 89 23:48:12 GMT
References: <12245@well.UUCP>
Sender: usenet@agate.BERKELEY.EDU
Reply-To: richmond@astroplasma.berkeley.edu.UUCP (Michael Richmond)
Organization: Dept of Astronomy, UC Berkeley
Lines: 40