[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Generic tool



On Sun, 21 Nov 2010 20:57:13 -0500, Mark Duckworth <mduckworth@atari-source.org> wrote:
> On 11/20/10 7:19 AM, Peter Slegg wrote:
> > I am pondering an idea for a config and util GEM interface.
> > The idea would be an XML driven dialogue box that allows the various
> > options to be set, parameter/files entered etc. then the Apply
> > button sends them to the relevant application or config file.
> >
> > This is a simple (probably bad) example:
> >
> > <?xml version="1.0"?>
> > <form application="/bin/ls">
> >      <object type="check">
> >          <label="details" value="l" status="off">
> >      </object>
> >      <object type="check">
> >          <label="all files" value="a" status="off">
> >      </object>
> >      <object type="button">
> >          <label="Apply">
> >      </object>
> > </form>
> >
> > The xml is used to auto-generate a dialogue box. Without any layout
> > instructions it might be a bit basic but would suffice.
> >
> > Obviously it would be used for something more interesting than ls.
> > I thought it might be useful for controlling dhcp, samba, network
> > settings etc.
> >
> > My C skills are a bit limited so I just had a look for Pascal xml libs
> > and there doesn't seem to be much. Pity. The Expat library has a Sparemint
> > rpm which could be used.
>
> Seems interesting but I'm not sure I understand the use cases fully.
>
> Thanks,
> Mark

Well I see a few potential uses. Some examples.

1. I download a bzip file and I want to look at the files or etxract it.
If I seldom use bzip I can't remember the command options so I start the
tool, select bzip and pick my options and apply/run it.


2. I want to start/stop/restart a service like dhcp or smb and instead of
having to open bash and find the relevant file to execute I run the tool pick
the service and the action I want.

3. A more complicated use would be to configure things like dhcp, samba etc.

Peter