{"comment":{"created_at":"2011-10-23T16:53:41Z","body":"Well, i have the same issue, but everything seems fine (except for the fact that i cant run cpm):\r\n``Error opening terminal: rxvt-unicode.``\r\n\r\n - The first thing is checking other ncurses apps and creating an appropriate terminfo file. I did this, everything else works. Then i set ``$TERM=xterm``, started an xterm and got the same error (just for xterm).\r\n - I really want to use cpm (it seems secure, accessable through CLI, lots of nice options, C, and so on) and this seems like a dumb-mistake.So, **please help me and krav** :)\r\n - Here is some output:\r\n\r\n - ``cpm -v``:\r\n\r\n    cpm 0.26 (32 bit)\r\nCDK version 5.0 (20060507).\r\nGpgME version 1.2.0 (rcpt).\r\nncursesw version 5.9 (20110404).\r\nXML2 version 2.7.8.\r\nzlib version 1.2.3.4.\r\ncracklib ist aktiv.\r\nWritten by Harry Brueckner <harry_b@mm.st> 2005-2009.\r\nMaintained by Kacper Wysocki <kwy@redpill-linpro.com> 2010.\r\n\r\n - ``cpm -s``:\r\n    Ausführung ohne Root Privilegien:                ja\r\nSpeicherschutz vor Coredumps:                     ja\r\nSpeicherschutz vor Speicherauslagerung:           ja\r\nMax. Speichersperre ist ok:                       ja (6144 kB)\r\nSpeicherauslagerung vor ptrace Spionage:          ja\r\nValidierung der Umgebungsvariablen:               ja\r\nCracklib dictionary (/var/cache/cracklib/cracklib_dict):ja\r\n - ``cpm --configtest``\r\n``Konfigurationsdatei ok.``\r\n\r\n - ``ncursesw5-config --version ; ncurses5-config --version``\r\n\r\n    5.9.20110404\r\n5.9.20110404","updated_at":"2011-10-23T16:53:41Z","url":"https://api.github.com/repos/comotion/cpm/issues/comments/2496419","id":2496419,"user":{"avatar_url":"https://secure.gravatar.com/avatar/a69efcdbe03636c4c5e45041adae8c26?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a69efcdbe03636c4c5e45041adae8c26","url":"https://api.github.com/users/gryml","id":1146597,"login":"gryml"}},"action":"created","issue":{"number":20,"created_at":"2011-07-01T13:05:04Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"On natty, compiled with ncurses or ncursesw cpm will display \"Error opening terminal: $term\" if there are no errors.\r\n\r\nkrav@krav:~/cpm$ ulimit -l\r\n5120\r\nkrav@krav:~/cpm$ ./cpm\r\nError opening terminal: rxvt-256color.\r\nkrav@krav:~/cpm$ ulimit -l 64\r\nkrav@krav:~/cpm$ ./cpm\r\nRunning without root privileges:                  yes\r\nMemory protection from core dumps:                yes\r\nMemory protection from swap writings:             no\r\nMax. memory lock ok:                              no (64 kB)\r\nMemory protection from ptrace spying:             yes\r\nValidation of environment variables:              yes\r\nCracklib dictionary (/var/cache/cracklib/cracklib_dict):yes\r\n\r\nMaximum security level not reached. Are you sure you want to continue?\r\nPress CTRL+C to stop now or ENTER to continue.\r\n[interfaces then shows]\r\n\r\n$ ncursesw5-config --version ; ncurses5-config --version\r\n5.7.20101128\r\n5.7.20101128\r\n","comments":2,"title":"\"Error opening terminal\"","updated_at":"2011-10-23T16:53:41Z","url":"https://api.github.com/repos/comotion/cpm/issues/20","id":1150206,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/0923727b06aad00af44976d4d8a77529?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0923727b06aad00af44976d4d8a77529","url":"https://api.github.com/users/krav","id":4032,"login":"krav"},"html_url":"https://github.com/comotion/cpm/issues/20","labels":[],"state":"open"},"legacy":{"issue_id":1150206,"comment_id":2496419}}