KMessage is an xmessage clone: it displays a message (specified as a parameter, read from a file or piped to standard input) and group of buttons in a dialog and returns a value based on the selected button.