carta
secret-ask(1)

secret-ask1

Ask a yes/no question in a window

Usage

secret-ask bool QUESTION

Overview

A window will be popped up containing the QUESTION, plus Yes and No buttons. The action the user takes is reflected in secret-ask's exit code.

The secret-ask program is used by q-agent for interaction with the user, but can be used for other purposes (scripts, etc.) as well.

A positive answer generates an exit code of 2.

A negative answer generates an exit code of 3.

Failure to get an answer is signaled by code 1.

History

  • Debian 4.0 (Etch) to Debian 3.1 (Sarge): the text shown here
  • Debian 3.0 (Woody)

Author

Robert Bihlmeyer <[email protected]>

From quintuple-agent 1.0.4-7 in Debian 4.0 (Etch). Parsed by carta from the page's man source.