On Wed, Jan 16, 2013 at 04:06:51PM +0100, Margarita Manterola wrote:
> Package: ncurses-base
> Version: 5.9-4
> 
> Hi,
> 
> When building terminfo files in debian/rules, they are built with the -x 
> option:
> 
>       for ti in xterm hurd rxvt rxvt-unicode; do \
>               TERMINFO=$(fulltempdir)/usr/share/terminfo \
>               tic -x debian/$$ti.ti; \
>       done

That's been the case for quite a while (a quick check of the changelog
shows it's since 2004).  It's likely that this is not directly the cause
of whatever problem you are reporting.
 
> This option causes unknown capabilities to be treated as user-defined,
> this means that they get included even if tic doesn't know about them.
>  In the case of xterm (and some xterm derivatives, like
> xterm-256color), this means that memu and meml are included.
> Decompiling the file and then recompiling it without -x causes these
> two options to go away.
> 
> One direct consequence of this "-x" is that when opening emacs in the
> console (i.e. running emacs -nw in a gnome-terminal or xterm, with
> TERM=xterm or xterm-256color) shift-up doesn't work. In this case,
> emacs shows: <select> is undefined.
> 
> There have been a number of people encountering this issue, although
> surprisingly, I found no other bug reports:
>   
> http://stackoverflow.com/questions/10871745/shift-up-arrow-doesnt-highlight-text-emacs-iterm2
>   http://lists.gnu.org/archive/html/help-gnu-emacs/2011-05/msg00211.html
>   http://forums.vandyke.com/showpost.php?p=26580&postcount=25

More likely - as I noted in my reply to the last thread,
you may be using gnome-terminal, whose mismatches versus xterm
aggravate lots of interesting problems in this general area.

If that's the case, this should be added to the heap of unresolved
issues in gnome-terminal.

-- 
Thomas E. Dickey <[email protected]>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to