Description of problem: Using: dialog-0.9b-20031002.1 and: gpm-1.20.1-38 When using a dialog box with the --menu option, when user selects on an option, a bizarre failure from what appears to be the gpm library occurs. Very simple example of problem: #!/bin/sh dialog --backtitle "test" --nocancel --title "test" --menu "test" 19 10 3 \ 1 "blah 1" \ 2 "blah 2" \ 3 "blah 3" \ 2>/tmp/test.out A cat of the resulting /tmp/test.out shows: # more /tmp/test.out *** err [lib/liblow.c(267)]: strncmp/isdigit/option.consolename failed *** err [lib/liblow.c(376)]: Oh, oh, it's an error! possibly I die! 3 Notice that it *does* get the correct value at the very bottom, but the text above causes problem when parsing the result. A google scan shows that liblow.c belongs to gpm. How reproducible: Occurs every time. Steps to Reproduce: 1. Try the sample script thats included in description field. Actual results: *** err [lib/liblow.c(267)]: strncmp/isdigit/option.consolename failed *** err [lib/liblow.c(376)]: Oh, oh, it's an error! possibly I die! 3 Expected results: Just "3", no error message.
cannot reproduce the problem... $ rpm -q gpm dialog gpm-1.20.1-38 dialog-0.9b-20031002.1 In which kind of terminal do you run this? I reassign to gpm then, because of the source of the error message.
I telnet into the Fedora box using SecureCRT, term type set to "Linux", then run the test script included. This problem does not occur on RedHat 9.
I comfirmed that I encountered the same problem in FC1, while in RH9 dialog works very well.
Make this on the shell: export TERM=eterm To go Up and Down in mc use ctrl-n and ctrl-p!