terminator sends all commands to all terminals at alt-a

Bug #1824562 reported by Guus Bonnema on 2019-04-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I run terminator version 1.91 from the most recent version of Fedora with all software updated.

I have noticed before that terminator on some occasions copies the input on one terminal to all other terminals. That way I accidentally enter the same vi-commands in one source as I do in some other source. In this case I had 2 terminators running, one with a split window. The split window terminator had 2 source files open in vi, one for each split. The the second terminator was unsplit and was where I was compiling and testing my program.

While testing the program that runs Cursive (a rust version using ncurses) the input I put into the dialog appeared in both my vi session on the other terminator terminal. After issueing a request with Cursive, I entered some git-commands which also appeared in my vi sessions. Finally I quit vi without saving in one file, which also terminated the other file! Then I did `exit` on one of the splits and all terminators were closed.

Apparantly, under some circomstances, terminator echo's all command to all terminator instances.

P.S. Terminator didn't just copy terminal commands, but also dialog input from my ncurses/Cursive program.

The problem is that it does not happen consistently. So I am hoping, that I am not the only one having this problem.

Guus Bonnema (gbonnema) wrote :

Before I was certain that this was a terminator bug, I created an issue in github for Cursive which you can find under https://github.com/gyscos/Cursive/issues/334. It also contains 2 screenprints that show the problem.

Guus Bonnema (gbonnema) wrote :

Is it possible that Terminator has some shortcut that sends a command to all terminator incarnations?

Guus Bonnema (gbonnema) wrote :

I found the shortcut that causes terminator to send the commands to all terminator instances. It is `alt-a`. The problem started from accessing the menu of an ncurses program that I was testing at the moment and the menu item started with an `a` (account). So I pressed `alt-a` and when the program didn't respond I just used a different menu option to enter the menu and navigated to account. What I didn't know was that all input I entered there after was sent to all terminals creating havoc on what I was doing (using vi).

Apparantly, what happened was that the input meant for the ncurses application was intercepted by terminator and interpreted before the program could use it.

Is there any way to prevent terminator of using input meant for an ncurses program?

summary: - terminator copies commands to all terminals, including ncurses dialog
- input
+ terminator intercepts input meant for ncurses program

As someone on the project pointed out, if you hit alt-a without knowing of its existence or while in an text-user-interface program (using ncurses, termion etc), unaware of what it is doing, it could be pretty dangerous if you subsequently enter userid / password in some other application (irc chat).

Is there a way to block the sending of messages over all terminator sessions?

summary: - terminator intercepts input meant for ncurses program
+ terminator sends all commands to all terminals at alt-a
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.