[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#723573: xterm occasionally forgets BackSpace translation



On Fri, Jan 03, 2014 at 11:50:43AM +0000, Zefram wrote:
> >On Thu, Jan 02, 2014 at 11:44:09AM +0000, Zefram wrote:
> 
> Thomas Dickey wrote:
> >which translation was performing the backspace?
> 
> I'm not sure what you mean by this question.  The relevant item in the
> translations resource is
> 
> 	<Key>BackSpace: string(0x08)

that's not in xterm's source, and I was replying to the current email
and had forgotten that you stated this in the original report, so I asked.
 
> I have other translation items in the same resource, such as
> 
> 	Alt <Key>b: scroll-back(1,page)
> 
> which are equally affected by this problem.

again, that's a customization not in the original package (though I
agree that it's reasonable to be able to do this)
 
> I've stored the resource under different keys at different times, as
> described in my previous message.  In one experiment I had separate
> XTerm.vt100.translations and XTerm.vt100.scrollbar.translations,
> and for the experiment I put different content in the two resources.
> XTerm.vt100.translations applied when focus was on the text, frame,
> or titlebar, and XTerm.vt100.scrollbar.translations applied when focus
> was on the scrollbar.  My permanent setup has only a single translations
> resource, under the key "XTerm.vt100*translations".
> 
> >As long as the translations merge rather than override, that's a good solution.
> 
> I'm not sure what you're imagining merging.  As I have only one
> translations resource, there's no merging to perform among my resources.
> My resource does merge with the default key and mouse bindings, of which
> the mouse bindings differ between scrollbar context and other contexts.

The way the translations work, it's possible for a customized set
of translations to append-to, merge-with or override the compiled-in
translations.  At startup, xterm (tries to) merge the translations
for the terminal-window with the scrollback, but that's limited due
to the lack of a good library interface for X resources.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


Reply to: