From owner-freebsd-questions@FreeBSD.ORG Wed May 12 01:07:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A9E4106564A for ; Wed, 12 May 2010 01:07:40 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id E778F8FC15 for ; Wed, 12 May 2010 01:07:39 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o4C17UD6089696; Tue, 11 May 2010 19:07:30 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o4C17Upu089693; Tue, 11 May 2010 19:07:30 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 11 May 2010 19:07:30 -0600 (MDT) From: Warren Block To: Jean-Paul Natola In-Reply-To: Message-ID: References: <201005112339.o4BNd68h008552@mail.r-bonomi.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Tue, 11 May 2010 19:07:30 -0600 (MDT) Cc: "freebsd-questions@freebsd.org" Subject: RE: user friendliest gui X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 01:07:40 -0000 On Wed, 12 May 2010, Jean-Paul Natola wrote: > These tasks may be trivial to all members on this list, but to a novice like myself, seems a bit overwhelming to be honest. > > As far as the touchscreen goes , thats a nice thought, but not in our budget. I'd prefer to spend ~300 dollars on the reciept style printer. > > Can someone point me in the direction to get this started? [Please, please stop top-posting and full-quoting. It makes replying to your posts more difficult.] What input do you need from the user? They connect the device, it scans and shows results, they disconnect. No need for a touchscreen, or even a normal mouse and keyboard. Do you need printed reports? If so, use a standard printer, possibly one that's already on your network. 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. Configure devd.conf(5) to detect USB mass storage device connect and run the program. References: file(1), dialog(1), devd.conf(5), mount_msdosfs(8), mount_ntfs(8), security/clamav[-devel] -Warren Block * Rapid City, South Dakota USA