home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
usenet
/
altsrcs
/
1
/
1338
< prev
next >
Wrap
Internet Message Format
|
1990-12-28
|
2KB
From: greim@sbsvax.cs.uni-sb.de (Michael Greim)
Newsgroups: alt.sources
Subject: KEF - a library to store and identify function key presses, Part 01/06
Message-ID: <4363@sbsvax.cs.uni-sb.de>
Date: 15 May 90 15:10:52 GMT
Here is KEF - a library to store and identify function key presses from
a terminal.
KEF stores character sequences in a data structure together with a
numerical id. The read routine traverses this data structure and returns
the id when it has identified a sequence of characters.
It is possible to specify timeout values for the read routine in
milliseconds, so it can be used to do a "read with timeout" or
a "poll".
The calling program is responsible to find out which function key sends
which character sequence and to switch the driver into a mode that enables
single character input ("cbreak" or "raw" mode).
KEF provides a small set of functions that can be written on any
operating system that allows single character input from a terminal.
KEF comes in 6 parts. You are currently reading part 1, the other
parts contain the source for KEF as shar archives. Save these archives
in seperate files and "unshar" them. See "README", "COPYING" and
"PORTING" for details on how to proceed.
This version, 1.0 alpha, is not yet complete. Don't flame me when
you miss something, but rather send me your productive ideas.
Have fun,
-mg
--
.-. .-. .-. Michael Greim
( X )( __) e-mail : greim@cs.uni-sb.de
\ / \ / \ / or : ...!uunet!unido!sbsvax!greim
~ ~ ~