You are not logged in.

#1 2014-05-08 20:03:29

adlerweb
Member
From: Germany
Registered: 2012-10-02
Posts: 7
Website

LXTerminal, Alt-# tab switching and escape sequences

Hello,

when using lxterminal i am able to switch between tabs using Alt+# (Alt-1 = first tab, Alt+2 = second tab, etc) like in most other tabbed programs. While switching itself works the keypress seems to be handed to the terminal  as an escape sequence. In case of bash this activates the argument counter(?), so after switching the terminal i can not directly type but have to remove whatever the escape sequence changed.

There is a bug over on launchpad (https://bugs.launchpad.net/ubuntu/+sour … ug/1080116), but i could not find a patch over there. Also according to the lxde-forums (http://forum.lxde.org/viewtopic.php?f=26&t=31676) this would be a "distribution problem" and affect other terminal emulators as well, however also no explanation where the problem could originate.

I tested gnome-terminal and PantheonTerminal on the same machine - both do not pass escape sequences to the shell.

Has anyone here seen this behaviour before or got an idea where to start?

Offline

#2 2014-05-09 06:18:34

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: LXTerminal, Alt-# tab switching and escape sequences

i just tried this on urxvt (although i am not using tabs) - yes, some bash function gets activated.
can't you just change lxterminal's hotkey?

Offline

#3 2014-05-12 03:37:10

City-busz
Package Maintainer (PM)
From: Budapest, Hungary
Registered: 2010-12-27
Posts: 197
Website

Re: LXTerminal, Alt-# tab switching and escape sequences

I applied a patch in lxterminal version 0.1.11-3 which fixes the problem.

Offline

Board footer

Powered by FluxBB