#20884: line buffering in sage-logger causes "hang" due to invisible prompt when
installing experimental packages
-------------------------------------+-------------------------------------
Reporter: mkoeppe | Owner:
Type: defect | Status: new
Priority: critical | Milestone: sage-7.3
Component: build | Resolution:
Keywords: | Merged in:
Authors: Erik Bray | Reviewers: Dima Pasechnik,
| Matthias Koeppe
Report Upstream: N/A | Work issues:
Branch: u/embray/disable- | Commit:
exp-pkg-prompt | 705573623266f1017aa4a433e816c0e878960836
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by embray):
Replying to [comment:71 vbraun]:
> IMHO we should never have y/n prompts in parallel output. Its pretty
much by definition not interactive. The way to pass options to non-
interactive processes is via command line options.
I had this discussion with Dima and we agreed that there should be no
prompts when running `make` directly, and that there should only be such a
prompt when using the high level interface of `./sage -i`. So that's a
large part of what this patch does, before getting mired in all the issues
with the prompt itself.
Maybe I should just refactor things further so that `sage-spkg` itself
never prompts (and hence the prompt is never raised during `make`, which
calls `sage-spkg`), and instead the prompt is `only` issued by the `sage`
script itself before any calls to `make`.
--
Ticket URL: <https://trac.sagemath.org/ticket/20884#comment:74>
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.