From: Leo Famulari <leo@famulari.name>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: rxvt-unicode: Add the terminal capability data.
Date: Wed, 9 Dec 2015 16:26:32 -0500 [thread overview]
Message-ID: <20151209212632.GC1835@jasmine> (raw)
In-Reply-To: <87zixjl4w8.fsf@gnu.org>
On Wed, Dec 09, 2015 at 09:54:15PM +0100, Ludovic Courtès wrote:
> Mathieu Lirzin <mthl@gnu.org> skribis:
>
> > ludo@gnu.org (Ludovic Courtès) writes:
> >
> >> Otherwise LGTM. It’s great that you fixed this! People had reported
> >> the issue on IRC, so that’ll make them happy! :-)
> >
> > I think this is only a partial fix. to launch emacsclient I still need
> > to do this:
> >
> > TERMINFO="$HOME/.guix-profile/share/terminfo" emacsclient --tty foo
> >
> > in terminfo(5), we can read this:
>
> [...]
>
> > I suppose that "system terminfo directory" is set to
> > /gnu/store/...-ncurses-6.0 and IIUC correctly this is the only place
> > automatically searched. What about adding TERMINFO_DIRS in
> > "$HOME/.guix-profile/etc/profile"? I think TERMINFO_DIRS is more
> > appropriate than TERMINFO because it let the possibility for non-GuixSD
> > users to have multiple directories in it.
>
> Indeed, sounds good.
>
> > From eedb9ca34c5bbc973765c8bd8a17b0a42c98e427 Mon Sep 17 00:00:00 2001
> > From: Mathieu Lirzin <mthl@gnu.org>
> > Date: Sun, 6 Dec 2015 21:58:03 +0100
> > Subject: [PATCH] gnu: rxvt-unicode: Add the terminal capability data.
> >
> > This sets the destination when installing the necessary terminal
> > capability data, which are not provided by ncurses. See
> > https://lists.gnu.org/archive/html/bug-ncurses/2009-10/msg00031.html
> >
> > * gnu/packages/xdisorg.scm (rxvt-unicode)[native-inputs]: Add ncurses.
> > [arguments]: Set the destination of the terminfo files.
> > [native-search-path]: New field. Make them automatically available to
> > the user.
>
> [...]
>
> > + (native-search-paths
> > + (list (search-path-specification
> > + (variable "TERMINFO_DIRS")
> > + (files '("share/terminfo")))))
>
> This should be in the ncurses package itself, since it is “owned” by
> ncurses, not rxvt.
>
> However, there’s the limitation that, currently, --search-paths
> advertises the variables of things that are explicitly in the profile.
> Ncurses is usually not in the profile; it is a dependency of something
> that is in the profile. Thus, people wouldn’t see anything about
> TERMINFO_DIRS in practice (we have the same problem with OpenSSL,
> GStreamer, and other librairies that have associated variables.)
>
> Long story short, I would avoid adding this ‘native-search-paths’ here,
> but I’m OK with it since that would make the thing usable, provided
> there’s a big FIXME in there.
>
> WDYT?
Since the linked discussion is from 2009, maybe somebody should again
try to politely submit the patch upstream.
>
> Ludo’.
>
next prev parent reply other threads:[~2015-12-09 21:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-08 17:18 [PATCH] gnu: rxvt-unicode: Add the terminal capability data Mathieu Lirzin
2015-12-09 3:24 ` Leo Famulari
2015-12-09 14:12 ` Mathieu Lirzin
2015-12-09 13:52 ` Ludovic Courtès
2015-12-09 17:58 ` Mathieu Lirzin
2015-12-09 20:54 ` Ludovic Courtès
2015-12-09 21:26 ` Leo Famulari [this message]
2015-12-10 3:21 ` Mathieu Lirzin
2015-12-10 2:57 ` Mathieu Lirzin
2015-12-10 9:42 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151209212632.GC1835@jasmine \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.