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

Re: cdebconf cw frontend?



On Wed, Nov 20, 2002 at 12:48:07AM +0100, Petter Reinholdtsen wrote:
> [Mario Lang]
> 
> > One time I had a crazy thought for the accessibility project.  If a
> > blind person is a HAM (many are I gather, I'm not), he could do the
> > install with morse.  Morse is basicly available 99% of the time,
> > because most machines have the pc speaker connected.
> > 
> > I'd just like to ask what people think.  Is this too obscure to be
> > useful.  Do we want this in cvs?
> 
> Sounds cool to me.  Not that I would use it, but I do not know morse
> and am not blind.  How many blind persons know morse?  :-)
> 
> BTW: Would it not be better to keep the text frontend, but use linker
>   magic to replace all calls to printf with calls to printf_cw?  Less
>   code duplication that way.

When there are very few changes, here is an alternative:
    frontend {
      instance "default_fe" {
        driver "text";
        options "morse";
      };
    };
The 'options' field could be a comma separated list of keywords (or
keyword=value pairs, e.g. debug=4) which are passed to frontend_initialize.

If this change is being performed, frontend_initialize may also receive
argc and argv, it looks like the gtk frontend needs it.

Denis



Reply to: