https://bugzilla.novell.com/show_bug.cgi?id=343903 Summary: yast2 xmessage enhancement to make error details accessible for copying Product: openSUSE 11.0 Version: unspecified Platform: x86 OS/Version: openSUSE 11.0 Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: casualprogrammer@yahoo.com QAContact: jsrain@novell.com Found By: Beta-Customer As pointed out in Bug 343899 Comment #0 it doesn't seem to be possible to copy content from an xmessage for reporting it here or elsewhere. Adding some functionality to /sbin/yast2 could help. I tried the following: Modify function exit_trap() from exit_trap() { # handily, exit_code is set to $? of y2base. # If there was an error and there is anything to display, pop up. if [ $exit_code != 0 -a -s $ERRLOG ]; then xmessage -buttons OK:0 -default OK -center -file $ERRLOG fi rm -f $ERRLOG } to exit_trap() { # handily, exit_code is set to $? of y2base. # If there was an error and there is anything to display, pop up. if [ $exit_code != 0 -a -s $ERRLOG ]; then xmessage -buttons OK:0,"Details in: "$ERRLOG:0 -default OK -center -file $ERRLOG fi rm -f $ERRLOG } which simply adds a dummy ( return code same as OK ) button displaying the location of the temporary file containing the error details. While this is probably not perfect, it saves me a lot of fiddling to get at the information offered. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.