Irssi in jail: setupterm() failed for TERM=xterm: 0

$ irssi
NO WINDOWS: -!- Irssi: Invalid charset: CP1252
setupterm() failed for TERM=xterm: 0
Can't initialize screen handling, quitting.
You can still use the dummy mode with -d parameter


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’t solve the problem either.

The Solution:

make sure /usr/share/terminfo/x/* is copied into jail


This entry was posted in in english and tagged , , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.