BIND 10 #3118: Feature Request (with patch): bindctl - check on "quit" if pending changes exist
BIND 10 Development
do-not-reply at isc.org
Fri Aug 30 11:45:48 UTC 2013
#3118: Feature Request (with patch): bindctl - check on "quit" if pending changes
exist
-------------------------------------+-------------------------------------
Reporter: cas | Owner:
Type: enhancement | Status: new
Priority: medium | Milestone: New
Component: bind-ctl | Tasks
Keywords: | Resolution:
Sensitive: 0 | CVSS Scoring:
Sub-Project: Core | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Comment (by cas):
Replying to [comment:3 vorner]:
> Well, I don't really agree. Most of software I use can do such
detection. I don't think it is OK to degrade usability for users just
because some OS we might want to support in future doesn't support it.
>
> I'm not against adding such option, but I'd still like to detect the
condition automatically and not require doing so ‒ because, how many
people read the manual before they try to pipe some commands to the
interface?
I do not have a strong opinion on this.
How about:
* have a global state (variable) in bindctl that reflects the mode (batch
or interactive on terminal)
* have a command line switch where the state can be explicitly set by the
user
* if the state has not been set by the user, test and set the state on OS
systems where it is possible to detect if the command runs on a terminal
--
Ticket URL: <http://bind10.isc.org/ticket/3118#comment:4>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list