[Top][All Lists]

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

Re: Defaults for a minimal embedded GNUstep tool

From: Richard Frith-Macdonald
Subject: Re: Defaults for a minimal embedded GNUstep tool
Date: Mon, 6 Sep 2004 18:32:26 +0100

On 6 Sep 2004, at 17:41, Alex Perez wrote:

On Mon, 6 Sep 2004, Richard Frith-Macdonald wrote:

On 6 Sep 2004, at 16:39, Pablo Di Noto wrote:

Hi all,

Can I set default values into the tool (using no external files) to
avoid those messages? Where should I look for examples?

Not really ... but you can silence the thing programmatically either by
changing the descriptor that NSLog writes to, or by replacing the
handler function which performs the write.

See base/Source/NSLog.m for details.  This stuff should be documented
properly, but is pretty hard to find right now I'm afraid.

However ... if you have no resources ... you have no characterset
information ... I'd be worried about that in almost any program.
The timezone stuff is less critical.

It should be falling back on POSIX envvars for this sort of stuff when
no defaults file is present and/or these defaults are not set. If it's
not, that should probably be
considered a bug.

Unless I'm misunderstanding, we are not looking at an issue of selecting
options etc via defaults or environment variables here ...
the idea is to have a standalone tool without the GNUstep system ...
which means without things like timezone data, information on things like
which unicode characters are considered to be uppercase letters,
localised message text etc.

The program may be intended to operate in a particular set of
circumstances where none of these things are required ... (indeed, Pablo
says the program works ... which would seem to confirm that) in which case
it does not seem unreasonable to want to silence warnings about the
fact that they are not available.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]