Thread View: comp.sys.ibm.pc.rt
4 messages
4 total messages
Started by Gordon Stewart
Fri, 16 Jun 1989 23:31
Console Cursor Question
Author: Gordon Stewart
Date: Fri, 16 Jun 1989 23:31
Date: Fri, 16 Jun 1989 23:31
8 lines
631 bytes
631 bytes
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
--
...!{lll-crg,hplabs,cogsci,hoptoad,apple}!well!gors
Re: Console Cursor Question
Author: Nicholas J. Simicich
Date: Sun, 18 Jun 1989 05:20
Date: Sun, 18 Jun 1989 05:20
19 lines
1075 bytes
1075 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. I call this file "blob", and mark it executable, usually storing it in my path somewhere. Legal values are "blob 0" through "blob 5". You probably want to run "blob 3" or "blob 5" before starting vi. #!/bin/sh foo=`stty -g` stty raw echo \\033[x\\000\\000\\000\\012\\002\\010\\002\\000\\000\\00$1 stty $foo This script presumes you are running AIX. -- Nick Simicich --- uunet!bywater!scifi!njs --- njs@ibm.com (Internet)
Re: Console Cursor Question
Author: Sam Drake/99999999
Date: Wed, 02 Aug 1989 20:19
Date: Wed, 02 Aug 1989 20:19
7 lines
678 bytes
678 bytes
The following shell script will give you a block cursor on the RT: echo "\033[x\000\000\000\014\002\010\004\000\000\000\000\005"\\c I'm not an official anything, and anything I say may be wrong. Sam Drake / IBM Almaden Research Center
Re: Console Cursor Question
Author: Michael Richmond
Date: Wed, 02 Aug 1989 23:48
Date: Wed, 02 Aug 1989 23:48
40 lines
1815 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads