{"id":196,"date":"2016-02-23T02:52:44","date_gmt":"2016-02-23T00:52:44","guid":{"rendered":"http:\/\/sasha.grotacienia.net\/?p=196"},"modified":"2016-02-23T02:52:44","modified_gmt":"2016-02-23T00:52:44","slug":"irssi-in-jail-setupterm-failed-for-termxterm-0","status":"publish","type":"post","link":"https:\/\/sasha.grotacienia.private.bjubba.com\/index.php\/2016\/02\/23\/irssi-in-jail-setupterm-failed-for-termxterm-0\/","title":{"rendered":"Irssi in jail: setupterm() failed for TERM=xterm: 0"},"content":{"rendered":"<p><code><br \/>\n$ <strong>irssi<\/strong><br \/>\nNO WINDOWS: -!- Irssi: Invalid charset: CP1252<br \/>\nsetupterm() failed for TERM=xterm: 0<br \/>\nCan't initialize screen handling, quitting.<br \/>\nYou can still use the dummy mode with -d parameter<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>I kept getting the aforementioned error while trying to start irssi under chroot\/jails environment. Making sure that ncurses and other needed libraries are already present in the jail environment didn&#8217;t solve the problem either.<\/p>\n<p>The Solution:<\/p>\n<p>make sure <code>\/usr\/share\/terminfo\/x\/*<\/code> is copied into jail<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>$ irssi NO WINDOWS: -!- Irssi: Invalid charset: CP1252 setupterm() failed for TERM=xterm: 0 Can&#8217;t initialize screen handling, quitting. You can still use the dummy mode with -d parameter &nbsp; I kept getting the aforementioned error while trying to start &hellip; <a href=\"https:\/\/sasha.grotacienia.private.bjubba.com\/index.php\/2016\/02\/23\/irssi-in-jail-setupterm-failed-for-termxterm-0\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[2],"tags":[10,18,20,25],"class_list":["post-196","post","type-post","status-publish","format-standard","hentry","category-in-english","tag-chroot","tag-irssi","tag-jails","tag-linux"],"_links":{"self":[{"href":"https:\/\/sasha.grotacienia.private.bjubba.com\/index.php\/wp-json\/wp\/v2\/posts\/196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sasha.grotacienia.private.bjubba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sasha.grotacienia.private.bjubba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sasha.grotacienia.private.bjubba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sasha.grotacienia.private.bjubba.com\/index.php\/wp-json\/wp\/v2\/comments?post=196"}],"version-history":[{"count":0,"href":"https:\/\/sasha.grotacienia.private.bjubba.com\/index.php\/wp-json\/wp\/v2\/posts\/196\/revisions"}],"wp:attachment":[{"href":"https:\/\/sasha.grotacienia.private.bjubba.com\/index.php\/wp-json\/wp\/v2\/media?parent=196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sasha.grotacienia.private.bjubba.com\/index.php\/wp-json\/wp\/v2\/categories?post=196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sasha.grotacienia.private.bjubba.com\/index.php\/wp-json\/wp\/v2\/tags?post=196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}