http://qs321.pair.com?node_id=892068


in reply to Re^3: Printing the first letter of the Hebrew alphabet (U05D0) kills script?
in thread Printing the first letter of the Hebrew alphabet (U05D0) kills script?

I wrote a little script to run the test for a variety of codepoints, some you suggested and a few others. Increasingly it is looking like xterm is treating certain byte sequences as some sort of escape seequence.

The script let me output in sequence subsets of the following character list: (0x5D0..0x5Df,0xD105,0x21D0) and tagged each output line with the ordinal value of the character being tested so I could be sure of what output line corresponded with what character. What I saw was this:

Even more interesting is that there are sequencing effects. For instance outputting the three characters 0x05D0 0x05D1 0x05D2 causes the test for 0x5D0 to stop immediately after outputting 0x05D0 and to resume when 0x5D1 is output by its test. 0x5d2 is printed in full.

Similarly, 0x05D0 followed somewhat later by 0x05D2 causes output to be displayed up until 0x05D0 is sent to the terminal and output to resume when 0x05D2 is sent to the terminal.