Package: xterm Version: 4.3.0.dfsg.1-13 Severity: normal File: /usr/X11R6/bin/uxterm
Very interesting. $ sh -x /usr/bin/X11/uxterm gets me a uxterm, whereas $ sh /usr/bin/X11/uxterm just gets me error messages. Adding -x changing the outcome of scripts? Uh oh. Indeed, if I change the top line to #!/bin/sh -x then it works if I call it directly. Add a comment to the source to say what this does: locale=`(LC_ALL=C LC_CTYPE=C LANG=C locale >/dev/null) 2>&1` and how it is different than locale= and why the (). Well, at least it enabled me to get a perfectly good uxterm, as I see in the output + locale='++ LC_ALL=C ++ LC_CTYPE=C ++ LANG=C ++ locale' whereas all I would have gotten otherwise is $ uxterm uxterm tried to use locale zh_TW.UTF-8 locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Isn't that neat. -x debugging stuff stuffed into a variable allowing me to get an uxterm when even this won't: $ LC_ALL=C LC_CTYPE=C LANG=C uxterm uxterm tried to use locale en_US.UTF-8 locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory $ locale -a C POSIX zh_TW zh_TW.big5 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]