This is the mail archive of the
cygwin
mailing list for the Cygwin project.
`run emacs' in win32 console cause bad emacs performance
- From: Haojun Bao <baohaojun at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 03 Jul 2009 11:54:31 +0800
- Subject: `run emacs' in win32 console cause bad emacs performance
hi,
When I start emacs (alternated to emacs-X11) with `run emacs' on the
Windows console (started with the Cygwin.bat shortcut), the emacs
performance is not good (moving the cursor up/down is not smooth), and
not stable (hang/crash sometimes).
But if started directly with `emacs' or from the Start Menu shortcut of
emacs (C:\cygwin\bin\run.exe -p /usr/X11R6/bin emacs -display 127.0.0.1:0.0),
then all is good. Also good if started with `run emacs' in a
RXVT/PUTTY-CYG console.
One difference I see is the /proc/`emacs pid'/fd, in the former way,
there is only one fd:
lrwxrwxrwx 1 bhj None 0 2006-12-01 08:00 0 -> socket:[1608]=
I believe this fd is the connection to X server; if started otherwise,
the fd list is:
lrwxrwxrwx 1 bhj None 0 2006-12-01 08:00 0 -> /dev/console
lrwxrwxrwx 1 bhj None 0 2006-12-01 08:00 1 -> /dev/console
lrwxrwxrwx 1 bhj None 0 2006-12-01 08:00 2 -> /dev/console
lrwxrwxrwx 1 bhj None 0 2006-12-01 08:00 3 -> socket:[1624]=
or with /dev/console changed to /dev/ttyN.
--
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