Make Screen and YaST Work Together

Posted by Artem Russakovskii on November 4th, 2007 in Linux, Programming

Updated: March 19th, 2008

I don't know about you but I've had a lot of problems making screen work nicely with YaST. Both putty and SecureCRT had major problems displaying YaST's ncurses interface. The screenshots below depict the problem quite clearly. If at this point you don't see anything like this, you are most likely not affected and can go get a beer.



If you are seeing similar problems, here's the fix. After digging around a bit, I have discovered that the problem was incorrect data encoding. My character set was set to KOI8-R while ncurses expected UTF-8. Here is how to change the corresponding setting in putty:



… and SecureCRT:



Now restart YaST and voila:



P.S. You may be wondering why my screen (the GNU one) has a handy footer bar and how to configure it. Not to worry, I will be posting more info on it soon.

● ● ●

Artem Russakovskii is a San Francisco programmer, blogger, and future millionaire (that last part is in the works). Follow Artem on Twitter (@ArtemR) or subscribe to the RSS feed.

In the meantime, if you found this article useful, feel free to buy me a cup of coffee below.

  • shelly wagar

    This was very helpful, Thankx


  • Thanks

    Thanks for this post as it told me what to change in SecureCRT.

    Something I found:

    If you change Character Encoding to "OEM" instead of "UTF-8" in SecureCRT, the frame borders look exactly like they do in PuTTY.