🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Console Cursor Question

#65
From: Nicholas J. Simicich
Date: Sun, 18 Jun 1989 05:20
19 lines
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)
Technical Details
Message-ID: <636@scifi.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!bywater!scifi!njs
References: <12245@well.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!bywater!scifi!njs
From: njs@scifi.UUCP (Nicholas J. Simicich)
Newsgroups: comp.sys.ibm.pc.rt
Subject: Re: Console Cursor Question
Message-ID: <636@scifi.UUCP>
Date: 18 Jun 89 05:20:37 GMT
References: <12245@well.UUCP>
Reply-To: njs@scifi.UUCP (Nicholas J. Simicich)
Organization: Nick Simicich, Peekskill, NY
Lines: 19