Re: GUILE_QUIET: need help with redirection

"Dr. Arne Babenhauserheide" <[email protected]>
Newsgroups gmane.lisp.guile.devel
Message-ID <[email protected]>
<[email protected]> 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
signature.asc (application/pgp-signature, 1.1 KB)
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmcC650QHGFybmVfYmFi
QHdlYi5kZQAKCRAT741FJAPD6wX/D/4jxO9mCbyQp8bUmrI0+U7DX3rDr/GzoXjt
Nz9jtDIcH6m0rpLVhOUmWFEcU6v+j1WedaPeLPiNgfqynx+Fs6S2C1Qc/Adozb8v
rXfNh8J7hwG8Hcl+8sqF8zuTLxtycXHKIrh7uwukgKunXu1UU3jIRJfFFWnYKIOF
jGpbXK8HEThMHLm754k8wA+9bkISp2c+3Ky6VTtMopymRWnnETuBnGNzAxJ/Blso
PSr+bGEtd/jbQ44zIjaeGi6XwvLsJd3NmZRnxmiMhZbfNNrSlS8c7RTPYyDUfEga
Tt1fzqo1ZH4gVCr++vZRojeTwM+YIdI96ghY9D2o39g1rTwhUiB9VW6mw1RYLhXF
Aqs3YBRzFdnZc9DQObru6cMdqleivSc4xl+W/sKG5eNKpFtVhQlhzaQofhsZKPkP
J7JCfzj6Cvx/CyrknqcyepoDq4y/MnD0r7dT70aEwGO9DU4sXBabFl+aaugHTB0d
jTS+za6miu3vpcn1yh2tRvJ2P0dmuXhVNM4lJlZ/cvEDhL40lWv5+aPPU2XXgUH+
qb6BPhLQKkRHqd5jCvyP2oqNBimmJ2Kaep/dQJ7Ea33qmXqrkZHrqF/O/Z3ISRHo
FUBBssImb/nzu8id2g74EDp3lGMOCoQAeMwdpBzeq8LNVvNT4GyvG790ZnMRX1KP
BUjnLQ6YpYjEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAmcC650QHGFy
bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSPMFA/wNGTGxFM7KI+NiBzV7lXUVQViA
VJLZ454R0Xb0ebsRlh5hsvMNbuoDHb1D33TawNtR+rSDFv2gY/a3Jx2ZiCJN90xx
3Gj28SOdXgJ7lpW/FAx4PNrYGxafSSZCmT24CoKoYlqgd1Mx29NBn4jhhSsMnmJ1
CNMB8EsjgcCIC7HZWw==
=/cYV
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.