[comp.unix.aix] How to change cursor style in aix 1.2 PS/2?

ezk@cunixf.cc.columbia.edu (Erez "HWank1" Zadok) (08/10/90)

Does anyone know how to change the cursor style in AIX 1.2 for PS/2-386?
The currnet steady underline is hard to track.  I would like to have a
blinking block, but at least a blinking underline.  Please respond via
Email.

Thanks,
Erez.
---
A wank's morning starts	one machine   | Arpa:	ezk@cunixf.cc.columbia.edu
clock cycle after midnight.	      | Usenet: ...!rutgers!columbia!cunixf!ezk
 -HebrewWank #1 (US meaning, not UK!) | Bitnet:	ezk@cunixf, erzus@cuvmb

jackv@turnkey.tcc.com (Jack F. Vogel) (08/13/90)

In article <1990Aug10.021417.28013@cunixf.cc.columbia.edu> ezk@cunixf.cc.columbia.edu (Erez "HWank1" Zadok) writes:
 
>Does anyone know how to change the cursor style in AIX 1.2 for PS/2-386?
>The currnet steady underline is hard to track.  I would like to have a
>blinking block, but at least a blinking underline.  
 
Email bounced and I thought this might be of enough general interest to
warrant a short post. The command:

	display -t 1025

will enable vga hardware fonts and give you a nice flashing underline cursor.
I never leave home without it :-}.

Disclaimer: I am paid to know the answer, but not to speak for the company :-}.

-- 
Jack F. Vogel			jackv@locus.com
AIX370 Technical Support	       - or -
Locus Computing Corp.		jackv@turnkey.TCC.COM

andrew@ramona.Cary.NC.US (Andrew Ernest) (08/13/90)

terminfo has a capability called "cvvis" for making the cursor "very
visible".  It would be nice if the hft escape sequence cruncher supported
it and would switch to a block cursor or something similar.

Of course, there's always xterms if one has X installed.
-- 
Andrew Ernest <andrew@ramona.Cary.NC.US>

jag@aix.aix.kingston.ibm.com (Jay Goldberg) (08/15/90)

In article <1990Aug10.021417.28013@cunixf.cc.columbia.edu> ezk@cunixf.cc.columbia.edu (Erez "HWank1" Zadok) writes:
>
>Does anyone know how to change the cursor style in AIX 1.2 for PS/2-386?
>The currnet steady underline is hard to track.  I would like to have a
>blinking block, but at least a blinking underline.  Please respond via
>Email.

I thought a posting might help more people than email, so here goes:

There is an escape sequence that will change the style of the cursor on
an HFT:

  \033[x\000\000\000\014\002\010\002\000\000\00n
				               ^
					(where 'n' is:)
	0 - No cursor
	1 - Underline
	2 - Fat underline
	3 - Lower half block
	4 - Fat hyphen
	5 - Full block

Hope this helps!
-----
Jay A. Goldberg 	| Email inside IBM:    KGNAIX(JAG)
Software Contractor	|		or     jag@aix.aix.kingston.ibm.com
Resource One Inc. 	| Email outside IBM:   uunet!ibmsupt!jag
Phone: (914) 336 7207	| Phone: (914) 385 3384 or 8+695 3384
		**	Who is John Galt?	**
 > The opinions expressed above are those of the employee, not the Company <