Reference

secret-ask(1)

Ask a yes/no question in a window

NAME

secret-ask - Ask a yes/no question in a window

SYNOPSIS

secret-ask bool QUESTION

DESCRIPTION

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.

SEE ALSO

q-agent(1)

AUTHOR

Robert Bihlmeyer <[email protected]>

COPYRIGHT

Copyright © 2000 Robert Bihlmeyer

This is free software; see the source for copying conditions. There is no warranty; not even for merchantability or fitness for a particular purpose.

History