Bug when run in Raspbian, based on Debian 10 Buster

8 views
Skip to first unread message

Michael Perryman

unread,
Aug 16, 2019, 10:34:46 AM8/16/19
to Tilde text editor

Arrow keys & page up / down will not allow you to navigate around the document


Tilde 0.4.0 on Linux mint Mate edition 19.1 Tilde works perfectly.

However running :-

Tilde 1.0.0 on Raspberry Pi 4 running Raspbian (Debian 10 Buster), installed using Noobs 3.1.1, with the default terminal LXTerminal 0.3.2


You can navigate around the document using a mouse, but the arrow keys, & page up / down do not move the cursor.

Sorry that this is the wrong way to report a bug, but I am visually impared& could not find a submit button on github.


Version information included below as requested.



pi@raspberrypi:~ $ tilde --version

Tilde version 1.0.0

Copyright (c) 2011-2018 G.P. Halkes

Tilde is licensed under the GNU General Public License version 3

Library versions:

libt3config 0.2.11

libt3highlight 0.4.6

libt3key (through libt3widget) 0.2.9

libt3widget 1.0.3

libt3window 0.3.2

libtranscript 0.3.3

libunistring 9.10.?


Michael Perryman

Gertjan Halkes

unread,
Aug 16, 2019, 3:41:51 PM8/16/19
to Michael Perryman, Tilde text editor
Hi Michael,

First of all, thank you very much for your interest in Tilde. And don't worry
about the exact way of reporting bugs. I'm happy to receive reports,
regardless of the form.

I am able to reproduce the issue (I happen to have a Pi Zero myself). I'll
try to find the problem, although the initial investigation didn't yield
anything useful yet. I hope to be able to write to you soon with a solution.

Best regards,
Gertjan
>--
>You received this message because you are subscribed to the Google Groups "Tilde text editor" group.
>To unsubscribe from this group and stop receiving emails from it, send an email to tilde-text-edi...@googlegroups.com.
>To view this discussion on the web visit https://groups.google.com/d/msgid/tilde-text-editor/a6fe5b7d-0645-430e-a52c-f62ac5347835%40googlegroups.com.

Gertjan Halkes

unread,
Aug 16, 2019, 4:04:31 PM8/16/19
to Michael Perryman, Tilde text editor
Hi Michael,

After installing the termdebug package I was able to figure out what is going
wrong. Unfortunately, it is yet another instance of a terminal emulater
claiming to be Xterm, but doing things a little differently from the actual
Xterm. However, it seems relatively straightforward to fix.

By copying the attached file to /usr/share/libt3key1/xterm (overwriting the
file named xterm there), you should be able to use the cursor keys as normal.

The technical details (feel free to skip if you just want to get on with
work): terminal emulators typically support two modes for the keys: the
standard mode and so-called 'keypad transmit' mode. The latter typically
yields more extensive key reporting, so Tilde switches to that for those
terminals where this should help. Xterm is one of those terminals. However,
Xterm changes the key sequences for the cursor keys when it switches mode.
But LXterminal, even though it claims to be Xterm for programs running on it,
does not change its key sequences. Thus, Tilde is expecting one set of
sequences, while LXterminal is generating another. The fix is to accept both
when in 'keypad transmit' mode, which allows both the actual Xterm and
LXterminal to work.

Best regards,
Gertjan
>To view this discussion on the web visit https://groups.google.com/d/msgid/tilde-text-editor/20190816214146.137b57e7%40taxman.
xterm
Reply all
Reply to author
Forward
0 new messages