From lains@caramail.com  Mon Apr  3 10:49:48 2000
Received: from mail.caramail.com (mail.caramail.com [195.68.99.70])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id KAA25797
	for <prolog@swi.psy.uva.nl>; Mon, 3 Apr 2000 10:49:48 +0200 (MET DST)
Received: from caramail.com (www14.caramail.com [195.68.99.34])
	by mail.caramail.com (8.8.8/8.8.8) with SMTP id KAA10708
	for prolog@swi.psy.uva.nl; Mon, 3 Apr 2000 10:52:54 +0100 (WET DST)
Posted-Date: Mon, 3 Apr 2000 10:52:54 +0100 (WET DST)
From: Lionel Ains <lains@caramail.com>
To: prolog@swi.psy.uva.nl
Message-ID: <954749064008022@caramail.com>
X-Mailer: Caramail - www.caramail.com
X-Originating-IP: [194.202.131.4]
Mime-Version: 1.0
Subject: CGI with SWI-Prolog
Date: Mon, 3 Apr 2000 10:50:02 GMT+1
Content-Type: multipart/mixed; boundary="=_NextPart_Caramail_008022954749064_ID"

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--=_NextPart_Caramail_008022954749064_ID
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

I am trying to use SWI-Prolog as a CGI script.
To get the post parameters, I would like to read from the 
stdin without Prolog printing ':|'.
I found out that this was possible by trying to get the 
input when not on an empty line.
How could I do that in any cases (when the cursor is at the 
begining of the line)?
Is there a non-blocking way to detect the when nothing is 
sent to the user input (script called without parameter)?
Are there available librairies to handle the URL 
encoding/decoding?

Many thanks,

Lionel



_______________________________________________________
Vendez tout... aux ench=e8res - http://www.caraplazza.com


--=_NextPart_Caramail_008022954749064_ID--

