#20884: line buffering in sage-logger causes "hang" due to invisible prompt when
installing experimental packages
-------------------------------------+-------------------------------------
Reporter: mkoeppe | Owner:
Type: defect | Status: needs_work
Priority: critical | Milestone: sage-7.3
Component: build | Resolution:
Keywords: | Merged in:
Authors: Erik Bray | Reviewers:
Report Upstream: N/A | Work issues:
Branch: u/embray/disable- | Commit:
exp-pkg-prompt | ccff00540641c9a7b19166c550433b6d4495a5ba
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by mkoeppe):
Replying to [comment:13 embray]:
> Dima has a point that removing the prompt outright is potentially
disruptive.
>
> What if we moved the warning so that there's no prompt if running `make
<packagename>` directly, as a package developer might do. But running
`./sage -i` for an experimental package both displays the warning and the
prompt (before ever even running `make`, much less `sage-logger`).
I think `./sage -i PACKAGENAMES...` should display the warning and the
prompt before at the very beginning, before installing any package.
As per Volker's initial suggestion, a command-line switch `--experimental`
should override the prompt. This would be useful in a script. I didn't
know that `make PACKAGENAME` works; but in any case it would be better to
be able to use "sage -i" also from a script.
--
Ticket URL: <https://trac.sagemath.org/ticket/20884#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.