From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#7117: 23.2.2 mangles terminal escape sequences Date: Mon, 27 Sep 2010 22:52:44 +0200 Message-ID: References: <4CA089B5.80601@ece.cmu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1285621907 4733 80.91.229.12 (27 Sep 2010 21:11:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Sep 2010 21:11:47 +0000 (UTC) Cc: 7117@debbugs.gnu.org To: Ryan Johnson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 27 23:11:45 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P0Kz9-00013R-T0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Sep 2010 23:11:44 +0200 Original-Received: from localhost ([127.0.0.1]:39115 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0Kz9-0005KV-6Q for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Sep 2010 17:11:43 -0400 Original-Received: from [140.186.70.92] (port=53818 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0Kyl-0005Ay-TS for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2010 17:11:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0Kyk-0001hm-4v for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2010 17:11:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40624) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0Kyk-0001hh-1q for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2010 17:11:18 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P0KeB-0001Tw-PR; Mon, 27 Sep 2010 16:50:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Sep 2010 20:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7117 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7117-submit@debbugs.gnu.org id=B7117.12856206005686 (code B ref 7117); Mon, 27 Sep 2010 20:50:03 +0000 Original-Received: (at 7117) by debbugs.gnu.org; 27 Sep 2010 20:50:00 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0Ke8-0001Tf-0k for submit@debbugs.gnu.org; Mon, 27 Sep 2010 16:50:00 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0Ke4-0001Ta-KM for 7117@debbugs.gnu.org; Mon, 27 Sep 2010 16:49:57 -0400 Original-Received: from dyn.83-228-217-009.dsl.vtx.ch ([83.228.217.9]:14169 helo=fmsmemgm.homelinux.net) by fencepost.gnu.org with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1P0Kgm-00050K-Km; Mon, 27 Sep 2010 16:52:45 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 9E60F6611D; Mon, 27 Sep 2010 22:52:44 +0200 (CEST) In-Reply-To: <4CA089B5.80601@ece.cmu.edu> (Ryan Johnson's message of "Mon, 27 Sep 2010 14:10:29 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 27 Sep 2010 16:50:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40499 Archived-At: > Steps to reproduce: > 1. ssh to a machine with emacs-23 installed (I suspect slower > networks would expose this more, but the bug bites me even over > intranet) > 2. compile tee-input.c (see below) into a shared library (on solaris: > `cc -g -G -xcode=pic13 -ldl -hlibtee-input.so tee-input.c -g -o > libtee-input.so') > 3. invoke `LD_PRELOAD=libtee-input.so emacs -nw -Q 2>input.txt' > 4. M-x xterm-mouse-mode > 5. flick the mouse scroll wheel hard, so it generates many ticks in > quick succession (note the garbage that results) > 6. M-x show-lossage (note the mangled escape sequences) > 7. C-x C-c > 8. Examine input.txt (note the intact escape sequences) Does (set-keyboard-coding-system 'binary) circumvent the problem? Stefan