X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Message-ID: <4A4F8774.9070307@cornell.edu> Date: Sat, 04 Jul 2009 12:46:44 -0400 From: Ken Brown User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: `run emacs' in win32 console cause bad emacs performance References: <831voye808 DOT fsf AT gmail DOT com> <4A4DFE7B DOT 1050500 AT cornell DOT edu> <7veisxsonu DOT fsf AT gmail DOT com> <4A4F3D39 DOT 4070908 AT cornell DOT edu> <7v63e8efl0 DOT fsf AT gmail DOT com> In-Reply-To: <7v63e8efl0.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 7/4/2009 9:35 AM, Haojun Bao wrote: > Cygwin is 1.7, I update very often, and I can reproduce it both at home > and in office. > > Here's the steps to reproduce it: > > 0. Start X, and set DISPLAY: > $startxwin.sh > $export DISPLAY=:0 > > 1. start bash from cygwin.bat: > $cygstart /Cygwin.bat > > 2. In the cygwin.bat console window, start emacs-X11 using run.exe: > $run emacs-X11.exe -q > > > 3. In the emacs window, move cursor up/down, take a note it's speed, OK, I can reproduce it now. The fix is to make sure your CYGWIN environment variable contains tty before starting the console. I use a modified Cygwin.bat that does this. (That's why I couldn't reproduce your problem the first time I tried.) $ cat bin/Cygwin.bat @echo off C: chdir C:\cygwin-1.7\bin SET CYGWIN=%CYGWIN% tty bash --login -i Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple