BIND 10 #3141: auto-detect if bindctl running on a terminal - command line switch for batch run

BIND 10 Development do-not-reply at isc.org
Fri Aug 30 13:00:05 UTC 2013


#3141: auto-detect if bindctl running on a terminal - command line switch for
batch run
-------------------------------------+-------------------------------------
            Reporter:  cas           |                         Type:
              Status:  new           |  enhancement
           Milestone:  New Tasks     |                     Priority:
            Keywords:                |  medium
           Sensitive:  0             |                    Component:  cmd-
         Sub-Project:  Core          |  ctl
Estimated Difficulty:  0             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 *   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 (-b / --batch or -q / --quiet)

 *    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

 can be used for function to detect if bindctl runs on a terminal. If not,
 interactive features (such as prompts) can be disabled.

-- 
Ticket URL: <http://bind10.isc.org/ticket/3141>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list