From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25618 invoked by alias); 7 Nov 2015 20:13:10 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20930 Received: (qmail 3128 invoked from network); 7 Nov 2015 20:13:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1446926821; bh=6afVM1UQ5FGuyT2V8hTyk6wnPXeV6gQzaCMEwNnq6xU=; h=From:To:In-Reply-To:References:Subject:Date; b=cEPn+4+G9e79uQLw5V/1NHlg8lrrORwW9aIVsElMBEWI596J8bRzXgFPFxHOGdUXx FNutgvTD+v3HhJBdokM+VEeTo92iRri4EiM8WGlM2eHN0dRcs7o/Qmw9X3/jmChVaz hBCbJa9dNrCcLKmu7zjWMp4q+wiS56vqhLaddxM8= From: ZyX To: Bart Schaefer , "zsh-users@zsh.org" In-Reply-To: <151107113848.ZM24275@torch.brasslantern.com> References: <151107113848.ZM24275@torch.brasslantern.com> Subject: Re: Not really a zsh thing, just a curiosity MIME-Version: 1.0 Message-Id: <875501446926818@web5g.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Sat, 07 Nov 2015 23:06:58 +0300 Content-Transfer-Encoding: 7bit Content-Type: text/plain 07.11.2015, 22:40, "Bart Schaefer" : > I've somehow gotten one of my gnome-terminal windows into a state where > in one tab the mouse wheel scrolls back through the window buffer and in > the other tab the mouse wheel scrolls through the zsh history at the > command line. I have no idea how this happened, and I've never seen the > latter before. There are two terminal modes regarding mouse: one when mouse is completely handled by a terminal emulator itself and one when terminal emulator only translates mouse events (wheel, presses) into escape sequences. Of course, modes are switched by passing terminal emulator some escape sequences. According to http://invisible-island.net/xterm/ctlseqs/ctlseqs.html this is not all-or-nothing thing: you may choose which of the mouse events are handled by the terminal and which by the application. Search the referenced page for `(?i)mouse`.