From jan@swi.psy.uva.nl  Mon Nov 22 10:31:25 1999
Received: from gollem.swi.psy.uva.nl (root@gollem [145.18.114.15])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id KAA10813;
	Mon, 22 Nov 1999 10:31:25 +0100 (MET)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.9.3/8.9.3) id KAA31761;
	Mon, 22 Nov 1999 10:31:44 +0100
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: prolog@swi.psy.uva.nl, Cortelli Paolo <cortelli@posta.alinet.it>,
        prolog@swi.psy.uva.nl
Subject: Re: swi-pl 3.3.0 beta
Date: Mon, 22 Nov 1999 10:25:06 +0100
X-Mailer: KMail [version 1.0.21]
Content-Type: text/plain
References: <3.0.6.32.19991121190301.007b0100@posta.alinet.it>
MIME-Version: 1.0
Message-Id: <99112210314400.31691@gollem>
Content-Transfer-Encoding: 8bit

On Sun, 21 Nov 1999, Cortelli Paolo wrote:
>Hello,
>      I'm trying swi-pl 3.3.0 beta and have found that bug:
>?- see(myfile),seeing(F).
>sometimes it exits to Windows, but you can also receive what follows:
>
>F = current_input 
>Unknown action: f (h for help)
>Action? 
>------------------------------------

The SWI-Prolog toplevel reads from current_input and hence if you
do see(Something), all subsequent toplevel input will be read from
this input channal.  It is probably better to read toplevel actions
from user_input.  
>
>There's also another bug in previous version:
>?- get0(A),get0(B),get0(C).
>|: 1234567.
>
>A = 49
>B = 50
>C = 51 
>Unknown action (h for help)
>Action? Action? 

Same problem.

>That is, all characters after the three ones get should remain in the

>Couldn't it be possible to have a function which return the keyboard input
>included function keys, the pages up and down and so on?

Not that sure.  SWI-Prolog is a simple character-based application. 
I've got the fealing that if you want to do advanced I/O you should use
SWI-Prolog with some GUI or other library (for example XPCE).

	--- Jan

