From owner-freebsd-questions@FreeBSD.ORG Wed May 12 17:02:34 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 025B71065677 for ; Wed, 12 May 2010 17:02:34 +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 B68B58FC1B for ; Wed, 12 May 2010 17:02:33 +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 42A301E41D; Wed, 12 May 2010 19:02:30 +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 o4CH2UT4001553; Wed, 12 May 2010 19:02:30 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 12 May 2010 19:02:30 +0200 From: Polytropon To: Jean-Paul Natola Message-Id: <20100512190230.bb14c9a3.freebsd@edvax.de> In-Reply-To: References: 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: Wed, 12 May 2010 17:02:34 -0000 On Wed, 12 May 2010 14:39:46 +0000, Jean-Paul Natola wrote: > > As for directions: > > >Use your choice of programming language to write a program that will > >call file(1) to determine filesystem, mount the device, virus scan, and > >unmount the device. Display prompts and results with dialog(1). Print > >results if desired. > > I do not know any language, other than DOS , which is why I asked "Denial Of Service" is a language? Where is it spoken, in Kaputnikstan? :-) If one would really want to go with X, Tcl/Tk, as it has been mentioned by others (and me), is a good way to go. There are helpful examples installed when you install it on your system. It's a very easy to learn, but still powerful scripting language that very well interacts with command line processing. Just look at the examples, you'll find much inspiration there. For text mode and using dialog (as for example sysinstall does), it's another easy way to go, because you can entirely keep your scripting in /bin/sh syntax and don't need much dependencies. Furthermore, you have a portable solution. No special needs for a high-end GPU and an appropriate driver. Even a 100 MHz box with a 2 GB hard disk could then be used for this particular job. You could even attach a simple dotmatrix line printer for printing the receipt. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...