From owner-freebsd-questions@FreeBSD.ORG Thu May 13 15:47:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 079C81065675 for ; Thu, 13 May 2010 15:47:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id B7E1B8FC0C for ; Thu, 13 May 2010 15:47:19 +0000 (UTC) Received: from r55.edvax.de (port-92-195-118-129.dynamic.qsc.de [92.195.118.129]) by mx02.qsc.de (Postfix) with ESMTP id 08ABA1E56B; Thu, 13 May 2010 17:47:16 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o4DFlFq1001622; Thu, 13 May 2010 17:47:15 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 13 May 2010 17:47:15 +0200 From: Polytropon To: Jean-Paul Natola Message-Id: <20100513174715.de1b0ca6.freebsd@edvax.de> In-Reply-To: References: <20100512190230.bb14c9a3.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: user friendliest gui X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2010 15:47:20 -0000 On Thu, 13 May 2010 13:10:51 +0000, Jean-Paul Natola wrote: > Ok so I have my new box setup and I have installed > Clamav-devel > Tcl86 > Dialog You only need one of the last two things. You have to decide: a) Want X? Use Tcl/Tk. Install both tcl and tk ports. Examples in /usr/local/lib/tk/demos. b) Work in text mode? Use dialog. Comes with base system. Examples in /usr/share/examples/dialog. c) Work in text more, but make it more complicated? Use ncurses and curses development kit. Install cdk from ports. Examples in /usr/local/share/examples/cdk. Depending on your decision, the path follows. :-) Oh, CDK is not that bad or complicated, but I think you should go with dialog first. If you've got enough experience in implementing shell "wrappers" / "extenders" with dialog, it should be an easy task to do the same with Tcl/Tk. Keep in mind that using X limits the usability of your project (which is a very useful one per se). > First question is , I have only ever used clamav-clamd in the > past which I start with /usr/local/etc/rc.d/clamav-clamd start > to run it, how do I run devel? > Second question is , where to o go from here? Basically, you enclose the obvious steps in a wrapper telling the users what to do and showing the process, as I "did as if" in an ealier message. Stes involve identifying partitions on the USB stick (file, fdisk), mounting it (mount), running the scanner, unmounting it, maybe in sequence for multiple partitions. > I have tried to man tcl86 and man clamav-devel but I get no manual entry You'll find documentation for locally added ports or packages in the correct directories, /usr/local/share/doc as well as /usr/local/share/examples (append port name). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...