Received: with ECARTIS (v1.0.0; list gopher);
 Thu, 28 Aug 2003 13:44:54 -0500 (CDT)
Return-Path: <alexey@pippuri.mawhrin.net>
X-Original-To: gopher@complete.org
Delivered-To: gopher@complete.org
Received: from localhost (localhost [127.0.0.1])
	by gesundheit.complete.org (Postfix) with ESMTP id C71AA18320D7
	for <gopher@complete.org>; Thu, 28 Aug 2003 13:44:52 -0500 (CDT)
Received: from pippuri.mawhrin.net (ua180d157.elisa.omakaista.fi
 [80.186.157.180])
	by gesundheit.complete.org (Postfix) with ESMTP id 567B218320D4
	for <gopher@complete.org>; Thu, 28 Aug 2003 13:44:51 -0500 (CDT)
Received: by pippuri.mawhrin.net (Postfix, from userid 1000)
	id 6EB652A1; Thu, 28 Aug 2003 21:44:44 +0300 (EEST)
Date: Thu, 28 Aug 2003 21:44:43 +0300
From: Alexey Vyskubov <alexey@pippuri.mawhrin.net>
To: gopher@complete.org
Subject: [gopher] pygopherd & ASK
Message-ID: <20030828184443.GA17767@pippuri.mawhrin.net>
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
X-Scanned-By: clamscan at complete.org
Content-Transfer-Encoding: 8bit
X-archive-position: 815
X-ecartis-version: Ecartis v1.0.0
Sender: gopher-bounce@complete.org
Errors-to: gopher-bounce@complete.org
X-original-sender: alexey@pippuri.mawhrin.net
Precedence: bulk
Reply-to: gopher@complete.org
List-help: <mailto:ecartis@complete.org?Subject=help>
List-unsubscribe: <mailto:gopher-request@complete.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: Gopher <gopher.complete.org>
X-List-ID: Gopher <gopher.complete.org>
List-subscribe: <mailto:gopher-request@complete.org?Subject=subscribe>
List-owner: <mailto:jgoerzen@complete.org>
List-post: <mailto:gopher@complete.org>
List-archive: <http://www.complete.org/mailinglists/archives/>
X-list: gopher

Hello!

I'm sorry if I'm asking a stupid questions, but I was not able to find an
answer myself.

1. I wonder if it is possible to use ASK with pygopherd. If it is possible
can someone give me an example of creating menu item with ASK and using
entered information afterwards?

2. Why if I set up VIEWS in pyg module for an entry I see this view
duplicated in gopher client?

3. Is it possible to use few views for an item?

Thanks.

P.S. I tried to patch pygopherd to add '?' after port instead of '+' if
entry.gopherpsupport is 2; and then in pyg module using
entry.setea('ASK',...). I managed to get my question on screen in my
gopher client but afterwards I get an empty screen. It seems that
'write' method of entry is called, but I see nothing I write there on
screen (it works if I'm not using ASK form).

-- 
Alexey Vyskubov
(at home)
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!