Wanted: how to read Sun console function keys

Chuck Musciano chuck at trantor.harris-atd.com
Tue Aug 22 21:58:13 AEST 1989


> The Sun console emulates an
> ANSI terminal, which does send this sequence for its function keys.  But
> it's not what I want!  I want to receive a single "function key" event.

If you get a copy of tooltool 2.1 or higher, there is a module called
func_fix.c which handles converting function keys from the ANSI sequences
to single events.  It was designed to be installed in most any application
to transparently map function keys.

You can get a copy via anonymous FTP from trantor.harris-atd.com
(26.13.0.98) in /pub/suntools/tooltool, or from uunet.uu.net in
comp.sources.sun, or (I think) from the Rice archive server.

Chuck Musciano				ARPA  : chuck at trantor.harris-atd.com
Harris Corporation 			Usenet: ...!uunet!x102a!trantor!chuck
PO Box 37, MS 3A/1912			AT&T  : (407) 727-6131
Melbourne, FL 32902			FAX   : (407) 727-{5118,5227,4004}

Gee, Beaver, everything's that fun can get you in trouble.  Haven't you
learned that yet? --Gilbert



More information about the Comp.sys.sun mailing list