From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#29892: dvtm does not properly export terminfo Date: Mon, 01 Jan 2018 18:19:36 +0100 Message-ID: <87mv1xzec7.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eW3kt-000200-6F for bug-guix@gnu.org; Mon, 01 Jan 2018 12:20:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eW3kp-0001KH-3d for bug-guix@gnu.org; Mon, 01 Jan 2018 12:20:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:51417) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eW3ko-0001KB-Vr for bug-guix@gnu.org; Mon, 01 Jan 2018 12:20:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eW3ko-0008CX-Ql for bug-guix@gnu.org; Mon, 01 Jan 2018 12:20:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Jelle Licht's message of "Fri, 29 Dec 2017 15:05:25 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Jelle Licht Cc: 29892@debbugs.gnu.org Hi! Jelle Licht skribis: > As far as I can see, the current version of dvtm does not work properly > with programs such as htop etc. > > To reproduce: > ``` > $ guix package -i dvtm > $ dvtm > $ htop > ``` > It only worked properly once I added something like: > `export TERMINFO_DIRS=3D"/home/jelle/.guix-profile/share/terminfo"`. > > Would a proper fix be to simply add a native-search-path declaration to t= he > dvtm package? If so, I can prepare a patch this weekend. =E2=80=98TERMINFO_DIRS=E2=80=99 is a search path of ncurses. However, beca= use search paths of dependencies are not honored, it doesn=E2=80=99t get set: https://bugs.gnu.org/22138 This is what we should fix. It would feel wrong to add =E2=80=98TERMINFO_DIRS=E2=80=99 as a search path= of dvtm and everything that depends on ncurses. Thanks, Ludo=E2=80=99.