Nonblocking, nondestructible test for waiting data on TTYs, sockets and probably pipes # $Header: /CVSROOT/keypressed/DESCRIPTION,v 1.1 2008-05-30 16:59:00 tino Exp $ # # $Log: DESCRIPTION,v $ # Revision 1.1 2008-05-30 16:59:00 tino # First try # Example 1:
while ! keypressed; do ...; done
Example 2:
while ! keypressed 

Limitations and bugs:


This Works is placed under the terms of the Copyright Less License,
see file COPYRIGHT.CLL.  USE AT OWN RISK, ABSOLUTELY NO WARRANTY.

Actually this only is a minimum wrapper around a library call.