Package: xbase-clients Version: 1:7.0.1-2 Severity: minor Tags: upstream File: /usr/bin/xmessage
Clicking c produces as expected: $ xmessage -buttons a,b,c,d -default c -print bla; echo $? c 103 However just hitting RETURN ignores -print!: $ xmessage -buttons a,b,c,d -default c -print bla; echo $? 103 Also if the user used "-default u" there should be an error "u is not one of the buttons". Also on the man page, -print This will cause the program to write the label of the button pressed to standard output. Equivalent to setting the print- Value resource to TRUE. This is one way to get feedback as to which button was pressed. add The exit value is still set as above. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]