What happens when you run the script with wide-characters explicitly turned off, i.e. in an xterm launched with xterm -u8 +wc? For me, wide character xterm windows show all output. It could be that you aren't seeing the same results because your system is configured by default to have wide characters turned on and you need to explicitly turn it off to get the results I'm getting. I'm only seeing STDOUT and STDERR disappear when wide characters are turned off (see sample output in OP).
It could be a bug, but I'm beginning to think that it may in fact be a "feature" left over from the pre-unicode days of the computing world. xterm, at least in in version 235, seems to think certain byte sequences are escape sequences meant to control the terminal. See my latest reply to kennethk.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|