From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA11921; Thu, 2 May 2002 17:57:21 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA11927 for caml-list@pauillac.inria.fr; Thu, 2 May 2002 17:57:21 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA00824 for ; Thu, 2 May 2002 12:24:03 +0200 (MET DST) Received: from mail.info.univ-angers.fr (nes.info.univ-angers.fr [193.49.146.122]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g42ANxX02638 for ; Thu, 2 May 2002 12:24:03 +0200 (MET DST) Received: from orion.info-ua (orion.info-ua [172.20.41.6]) by mail.info.univ-angers.fr (Postfix) with ESMTP id 471E18AA for ; Thu, 2 May 2002 12:23:57 +0200 (CEST) Received: from sirius.info-ua (sirius.info-ua [172.20.41.7]) by orion.info-ua (Postfix) with ESMTP id E8024175CA for ; Thu, 2 May 2002 12:23:57 +0200 (MEST) Received: by sirius.info-ua (Postfix, from userid 759) id D0410C7BC; Thu, 2 May 2002 12:23:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by sirius.info-ua (Postfix) with ESMTP id C8D2BC7B6 for ; Thu, 2 May 2002 12:23:57 +0200 (CEST) Date: Thu, 2 May 2002 12:23:57 +0200 (CEST) From: Vincent Barichard X-X-Sender: barichar@sirius.info-ua To: CAML-LIST Subject: [Caml-list] catch keypressed Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, I would like to catch the hit of a key without being in graphic mode. Something like : while not keypressed() do print_string "Hit a key"; done; Is a fonction of this kind exists in CAML ?? And if it doesn't exist, is there a way to simulate its effect ?? The read_int fonction blocks until user enter a value so it is not suitable for my problem. thanks for your help Vincent Vincent Barichard M=E9taheuristiques et Optimisation Combinatoire Facult=E9 des Sciences d'Angers Tel : 02 41 73 52 06 ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners