[dev] [st] Stuck in ISO 2022 locking escapes and Evil escape sequences

From: Pickfire <pickfire_AT_riseup.net>
Date: Sun, 30 Aug 2015 21:19:09 +0800

Hi, I found something that st display wrongly. I got it from
https://mosh.mit.edu/#techinfo

For ISO 2022 locking escapes:

    me_AT_alarmpi ~> echo -e "\033(0"
    
    me_AT_alarmpi ~>
    
St does this:

    me_AT_alarmpi ~> echo -e "\033(0"
    
    ␋┴▒┼_AT_▒┌▒⎼└⎻␋ ·>

For Evil escape sequences:

    me_AT_alarmpi ~> echo -e "xyz\033[2;2H\0314\0202\nhello"
    xŷz
    hello
    me_AT_alarmpi ~>

St does this:

    me_AT_alarmpi ~> echo -e "xyz\033[2;2H\0314\0202\nhello"
    x̂z
    hello
    me_AT_alarmpi ~>

Is there any way to fix this? Should I put it into the TODO?

Thanks. I hope that this could be solved.


-- 
 _____________________________________
< Do what you like, like what you do. >
 -------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
Received on Sun Aug 30 2015 - 15:19:09 CEST

This archive was generated by hypermail 2.3.0 : Sun Aug 30 2015 - 15:24:08 CEST