From dwages@Avaya.com Mon Feb 12 16:02:55 2001
Received: from hoemlsrv.firewall.lucent.com (hoemail1.lucent.com [192.11.226.161])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f1CF2sZ09506
	for <prolog@swi.psy.uva.nl>; Mon, 12 Feb 2001 16:02:54 +0100 (MET)
Received: from hoemlsrv.firewall.lucent.com (localhost [127.0.0.1])
	by hoemlsrv.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id KAA29817
	for <prolog@swi.psy.uva.nl>; Mon, 12 Feb 2001 10:02:53 -0500 (EST)
Received: from bighorn.dr.lucent.com (h135-9-1-59.lucent.com [135.9.1.59])
	by hoemlsrv.firewall.lucent.com (Pro-8.9.3/8.9.3) with SMTP id KAA29157
	for <prolog@swi.psy.uva.nl>; Mon, 12 Feb 2001 10:02:33 -0500 (EST)
Received: by bighorn.dr.lucent.com (SMI-8.6/EMS-1.5 sol2)
	id IAA12116; Mon, 12 Feb 2001 08:02:29 -0700
To: prolog@swi.psy.uva.nl
Received: from COF110DWAGES by bighorn.dr.lucent.com (SMI-8.6/EMS-1.5 sol2)
	id IAA12039; Mon, 12 Feb 2001 08:02:24 -0700
Reply-To: <dwages@Avaya.com>
From: "Danny Wages" <dwages@Avaya.com>
Original-To: <prolog@swi.psy.uva.nl>
Date: Mon, 12 Feb 2001 08:02:07 -0700
Message-ID: <000101c09504$c504ae40$03270987@COF110DWAGES>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0002_01C094CA.18A5D640"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Subject: [SWIPL] wait_for_input

This is a multi-part message in MIME format.

------=_NextPart_000_0002_01C094CA.18A5D640
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

On windows (version 3.4.4)  wait_for_input on user stream always returns
immediately as in:

    wait_for_input([user_input],ReadyList,10),  % returns immediately
    get_single_char(C)   % Blocks waiting for character to be typed

Am I missing something here, or is there a bug?

Danny Wages :- Avaya Communication, 303-538-3972, dwages@Avaya.com


------=_NextPart_000_0002_01C094CA.18A5D640
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D576094414-12022001>On =
windows (version=20
3.4.4)  wait_for_input on user stream always returns immediately as=20
in:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D576094414-12022001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D576094414-12022001>&nbsp;&nbsp;&nbsp;=20
wait_for_input([user_input],ReadyList,10),&nbsp; % returns=20
immediately</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D576094414-12022001>&nbsp;&nbsp;&nbsp;=20
get_single_char(C)&nbsp;&nbsp; % Blocks waiting for character to be=20
typed</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D576094414-12022001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D576094414-12022001>Am I =
missing=20
something here, or is there a bug?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D576094414-12022001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Danny Wages :- Avaya Communication, =
303-538-3972,=20
<A href=3D"mailto:dwages@Avaya.com">dwages@Avaya.com</A></FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0002_01C094CA.18A5D640--

