Date: Wed, 12 May 2010 19:02:30 +0200 From: Polytropon <freebsd@edvax.de> To: Jean-Paul Natola <jnatola@familycareintl.org> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: user friendliest gui Message-ID: <20100512190230.bb14c9a3.freebsd@edvax.de> In-Reply-To: <AB2BC18AD166C948A0BC559E22CE9C9105DEEB42@FCIEXCHANGE1.FCI> References: <alpine.BSF.2.00.1005111848440.89622@wonkity.com> <AB2BC18AD166C948A0BC559E22CE9C9105DEEB42@FCIEXCHANGE1.FCI>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 12 May 2010 14:39:46 +0000, Jean-Paul Natola <jnatola@familycareintl.org> 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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100512190230.bb14c9a3.freebsd>