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 >
Internet Message Format  |  1990-12-28  |  2KB

  1. From: greim@sbsvax.cs.uni-sb.de (Michael Greim)
  2. Newsgroups: alt.sources
  3. Subject: KEF - a library to store and identify function key presses, Part 01/06
  4. Message-ID: <4363@sbsvax.cs.uni-sb.de>
  5. Date: 15 May 90 15:10:52 GMT
  6.  
  7.  
  8. Here is KEF - a library to store and identify function key presses from
  9. a terminal.
  10.  
  11. KEF stores character sequences in a data structure together with a
  12. numerical id. The read routine traverses this data structure and returns
  13. the id when it has identified a sequence of characters.
  14. It is possible to specify timeout values for the read routine in
  15. milliseconds, so it can be used to do a "read with timeout" or
  16. a "poll".
  17. The calling program is responsible to find out which function key sends
  18. which character sequence and to switch the driver into a mode that enables
  19. single character input ("cbreak" or "raw" mode).
  20.  
  21. KEF provides a small set of functions that can be written on any
  22. operating system that allows single character input from a terminal.
  23.  
  24. KEF comes in 6 parts. You are currently reading part 1, the other
  25. parts contain the source for KEF as shar archives. Save these archives
  26. in seperate files and "unshar" them. See "README", "COPYING" and
  27. "PORTING" for details on how to proceed.
  28.  
  29. This version, 1.0 alpha, is not yet complete. Don't flame me when
  30. you miss something, but rather send me your productive ideas.
  31.  
  32. Have fun,
  33.     -mg
  34. -- 
  35.  .-. .-.  .-.  Michael Greim
  36. (   X   )( __) e-mail : greim@cs.uni-sb.de
  37.  \ / \ /  \ /  or     : ...!uunet!unido!sbsvax!greim
  38.   ~   ~    ~
  39.