Interactive Prompts
there are times when bzr needs to ask the user a question, (such as for 'bzr uncommit' or for a password when connecting to and http server).
These times are fairly infrequent, but at the moment when using bzr-service, all of these prompts occur on the original terminal rather than the current terminal.
This is extra confusing, because it makes the current terminal seem hung, and gives no indication that you need to answer a prompt in another window.
It is probably possible to hook into the existing 'bzrlib.
All of these indicate that an improved client/server protocol is merited.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
In fact it is not that infrequent, i.e. it happens each time I commit.
The editor will be started in the original terminal and I spent some hours to find out how to redirect the ?terminal? (including all std stream) to the client terminal.
But I did not figured out how to do this.
...
I think we just need to change the protocol so that we can ask the client to do things like spawn a subprocess. I think we already have a way to say this is stderr versus stdout.