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

Reply via email to