Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Printing the first letter of the Hebrew alphabet (U05D0) kills script?

by BrowserUk (Patriarch)
on Mar 08, 2011 at 17:37 UTC ( [id://892043]=note: print w/replies, xml ) Need Help??


in reply to Printing the first letter of the Hebrew alphabet (U05D0) kills script?

More pure speculation, but what happens if you redirect the output to a file rather than letting it go to the screen?

My thought is that this might isolate whether the problem occurs within perl, or within the screen driver.

You might also try knocking up a C program to output the same bytes and see if that has the same affect on the screen driver.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: Printing the first letter of the Hebrew alphabet (U05D0) kills script?

Replies are listed 'Best First'.
Re^2: Printing the first letter of the Hebrew alphabet (U05D0) kills script?
by ELISHEVA (Prior) on Mar 08, 2011 at 20:29 UTC

    If the output is sent to a file, then it is all there. Same as when I run the script in an xemacs shell (see above). It definitely seems to be something related to xterm and not Perl. I'm beginning to think that xterm thinks certain byte squences are meant to be terminal commands (see my latest reply to kennethk). Maybe it is a pre-Unicode days "feature" with unintended consequences in multi-byte character world?

    I very much like the idea of confirming the xterm behavior with a short C program. Good lateral thinking. Thanks!

      I'm on completely unknown (to me) ground here now, but do xterm's retain the old-fashioned serial port configuration parameters?

      What I'm getting at is that it used to be possible to configure terminals for 7-bit or 8-bit; odd/even/no parity etc.

      If you sent unicode to a terminal that was configured to expect 7-bit input, it might strip the 8th bit. And byte value \220 (decimal 144) suddenly becomes ascii 16 which is right in amongst the device control characters often used for X-on/X-off and similar. (It's not one of those two, but who knows what others there were back in the day?)


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://892043]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-19 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found