From owner-freebsd-questions@FreeBSD.ORG Wed May 12 00:02:01 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 EB18F106564A for ; Wed, 12 May 2010 00:02:01 +0000 (UTC) (envelope-from jnatola@familycareintl.org) Received: from mail.familycareintl.org (static-64-61-120-78.isp.broadviewnet.net [64.61.120.78]) by mx1.freebsd.org (Postfix) with ESMTP id 928388FC13 for ; Wed, 12 May 2010 00:02:01 +0000 (UTC) Received: from FCIEXCHANGE1.FCI ([::1]) by FCIEXCHANGE1.FCI ([::1]) with mapi; Tue, 11 May 2010 20:02:00 -0400 From: Jean-Paul Natola To: "freebsd-questions@freebsd.org" Thread-Topic: user friendliest gui Thread-Index: AQHK8WMl5G+EuRmMQI6yTgfCRapRa5JM5YCN Date: Wed, 12 May 2010 00:02:00 +0000 Message-ID: References: <201005112339.o4BNd68h008552@mail.r-bonomi.com> In-Reply-To: <201005112339.o4BNd68h008552@mail.r-bonomi.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 00:02:02 -0000 These tasks may be trivial to all members on this list, but to a novice l= ike myself, seems a bit overwhelming to be honest. As far as the touchscreen goes , thats a nice thought, but not in our budg= et. I'd prefer to spend ~300 dollars on the reciept style printer. Can someone point me in the direction to get this started? ________________________________________=20 From: owner-freebsd-questions@freevialbsd.org [owner-freebsd-questions@free= bsd.org] on behalf of Robert Bonomi [bonomi@mail.r-bonomi.com] Sent: Tuesday, May 11, 2010 7:39 PM To: freebsd-questions@freebsd.org Subject: Re: user friendliest gui > From andrewlylegould@gmail.com Tue May 11 16:46:38 2010 > Date: Tue, 11 May 2010 16:46:50 -0500 > Subject: Re: user friendliest gui > From: Andrew Gould > To: Jean-Paul Natola > Cc: Robert Bonomi , > "freebsd-questions@freebsd.org" > > On Tue, May 11, 2010 at 3:26 PM, Jean-Paul Natola > wrote: > > > -----Original Message----- > > > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-quest= ions=3D > > @freebsd.org] On Behalf Of Robert Bonomi > > > Sent: Tuesday, May 11, 2010 3:07 PM > > > To: freebsd-questions@freebsd.org > > > Subject: RE: user friendliest gui > > > > > > > > >> Date: Tue, 11 May 2010 18:51:44 +0000 > > >> Cc: FreeBSD Mailing List > > >> Subject: RE: user friendliest gui > > >> > > >> My users here, =3DA0"no gui" =3D3D "machine is broken" > > >> > > >> ________________________________ > > >> From: Eitan Adler [mailto:lists@eitanadler.com] > > >> Sent: Tuesday, May 11, 2010 2:48 PM > > >> To: Gary Gatten > > >> Cc: Jean-Paul Natola; FreeBSD Mailing List > > >> Subject: Re: user friendliest gui > > >> > > >> > > >> On Tue, May 11, 2010 at 9:36 PM, Gary Gatten w= rote=3D > > : > > >> If that's all your doing on that system, maybe some restricted shell= wit=3D > > h > > >> automagical scan script would be fine? =3DA0Just a thought. =3DA0Avo= id GUI's=3D > > if you > > >> can! > > >> > > >> Why? For most users GUIs are far easier to understand and use. > > > > > > Why?? =3DA0Because, In this case, the GUI is entirely -un-necessary-.= =3DA0Th=3D > > e user > > > doesn't have to do anything other than stick the flash drive in the U= SB p=3D > > ort. > > > > > > The machine does everything else. =3DA0*WITHOUT* any further user int= ervent=3D > > ion > > > required. > > > > > > Why bother with the GUI, when there is no inter-actiona required? > > > > Will it pop-up a message saying your drive is clean? > > If so then great TRIVIALLY easy to do. This is a =3Ddedicated=3D, single-function, machine,= one can have an app *already*running* that looks for syslog messages for a USB insertion, mounts the indicated device on, say '/mnt', initiates a virus-sc= an, *displays* the results, and unmounts the device. > I'm going to advocate for a GUI here due to the possibility of a false > positive during malware detection. The user should be given a choice > as to whether the infected file is cleaned, deleted or left alone. > If > the user chooses to keep the file, the user should also be able to > store the scan log onto the usb drive. (Users should also be able to > decide that no log will be written to the drive.) These things will > require interaction with the user. I favor a 'receipt' printer -- one of the little ones that uses adding-mach= ine size paper, like ATM machines have. Print the USB device ID, a timestamp, the status (clean vs. infected), and if infected, a simple summary of how many infections of what type(s) were detected. _maybe_ list the first few infected files. OP _did_ 'spec' that this was to be a malware DETECTION 'scanning' system, = not a removal/repair installation. "Reading between the lines", I gatther that this is to be a choke-point/ validation service, and *only* devices that pass through it as 'uninfected' will be allowed to be used on other machines on thepremises. That the "function" of this box is to protect the other internal boxes, _no= t_ to disinfect infected USB devices. > There is also the possibility that the OP will want to add related, > optional services later. One example might be the option to choose > whether the usb drive is scanned or completely erased by overwriting > the drive with zeros. > I wouldn't want the *LIABILITY* for doing =3Dthat=3D. > Another good use for the GUI, as scanning an 8GB or 32GB usb drive may > take some time, is to present a slideshow to the user about computer > security or, perhaps, an introduction to the wonderful operating > system that is running on the computer. One can do _all_ of that without any need for a GUI. All it takes is a little creativity in the programming. In many ways, the 'ideal' UI _hardware_ for this kind of an application is a _touch_screen_. *IF*and*when* you want to add additional features that require interactivity. The application itself needs use nothing more than color 'curses' (or equivalent) to provide a sufficiently 'user-friendly' display. As for doing a 'slide show' or similar, while scanning is in progress, 'anything' that can (a) change console video mode(s), and (b) output an appropriate pattern/number of pixels, can do that. *without* the overhead of a full-blown GUI in the way. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org= "=