ComLine

------- Forwarded Message

From sammy@cs.utexas.edu  Mon May 13 18:27:08 1996
Return-Path: sammy@cs.utexas.edu
Received: from www10.w3.org (www10.w3.org [18.23.0.20]) by anansi.w3.org 
(8.7.5/8.7.3) with SMTP id SAA20470 for <frystyk@anansi.w3.org>; Mon, 13 May 
1996 18:27:07 -0400 (EDT)
Received: from mail.cs.utexas.edu by www10.w3.org (5.0/NSCS-1.0S) 
	id AA05388; Mon, 13 May 1996 18:27:06 +0500
Received: from plucky.cs.utexas.edu (sammy@plucky.cs.utexas.edu 
[128.83.143.210]) by mail.cs.utexas.edu (8.7.1/8.7.1) with ESMTP id RAA08450 
for <libwww@w3.org>; Mon, 13 May 1996 17:27:00 -0500 (CDT)
Received: from localhost by plucky.cs.utexas.edu (8.7.1/Client-1.4)
	id RAA11844; Mon, 13 May 1996 17:26:58 -0500
X-Authentication-Warning: plucky.cs.utexas.edu: sammy owned process doing -bs
Date: Mon, 13 May 1996 17:26:57 -0500 (CDT)
From: "Samuel Z. Guyer" <sammy@cs.utexas.edu>
To: libwww@w3.org
Subject: ComLine
Message-Id: <Pine.A32.3.92.960513172020.45738A-100000@plucky.cs.utexas.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hello,
	I am attempting to use the ComLine tool to perform non-interactive
queries of several on-line databases. They all use forms with accompanying
cgi scripts. I have had no trouble driving the systems that use the GET
method to pass the form contents, but cannot get the POST method working.
As an example, I issued the following command:

% w3c -post -dest http://www.cs.utexas.edu/users/sammy/cgi/anagram input-file

Where input-file contains the query input. Comline prints the following
output:

Looking up www.cs.utexas.edu
Contacting host...
Read (100% of 1K)
Finished
Written (640% of 1K)
Written (100% of 1K)

And then simply exits. I know that the script is being executed because it
dumps the input data into a local file. However, I can't figure out how to
get the output of the script. Do I need to issue a subsequent GET? Any
help at all would be greatly appreciated.

Thanks,
	Sam

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Samuel Guyer                     http://www.cs.utexas.edu/users/sammy
University of Texas at Austin  e-mail:sammy@cs.utexas.edu
Dept of Computer Science        "Back-off, man, I'm a scientist!"


------- End of Forwarded Message


-- 
Henrik Frystyk Nielsen, <frystyk@w3.org>
World-Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA

Received on Wednesday, 15 May 1996 11:39:38 UTC