guile-devel
[Top][All Lists]
Advanced

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

Re: GUILE_QUIET: need help with redirection


From: Dr. Arne Babenhauserheide
Subject: Re: GUILE_QUIET: need help with redirection
Date: Sun, 06 Oct 2024 21:57:16 +0200

<tomas@tuxteam.de> writes:

> On Sun, Oct 06, 2024 at 07:13:02AM -0700, Matt Wette wrote:
>> 1) Leave welcome message as is, going to stdout.
>> 2) Find a way to make 00-repl-server.test work.
>> 3) Initialize current-info-port to stdout (ugly)
>> 4) Add some other hook in system/repl/common.scm(repl-welcome) to deal with
>> it (ugly)
>> 
>> Any ideas?
>
> Hm. Tough question. I think what the test reminds us of is that
> your default above (stderr) is a backward-incompatible change,
> so I'd be very coutious about that. Who knows whose's code this
> might break (besides the test).

I think the test can be a warning that there may be applications which
expect the welcome text to see that Guile is ready. So I agree that we
should not break that.

The use-case of this change is to silence the welcome messages, so just
-I (without argument) could also mean that the greeting message is not
shown.

Or we could use the GUILE_QUIET environment variable for that (as in my
original patch).

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de

Attachment: signature.asc
Description: PGP signature


reply via email to

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