Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 25 Jul 2000 20:19:22 -0400 Message-Id: <200007260019.UAA14196@envy.delorie.com> From: DJ Delorie To: KendallB AT scitechsoft DOT com CC: cygwin AT sourceware DOT cygnus DOT com In-reply-to: <200007251049870.SM00160@KENDALLB> Subject: Re: Couple of nits about Cygwin References: <200007251049870 DOT SM00160 AT KENDALLB> > 1. When you start a bash shell, the cursor flashes at a reasonable > rate, but when you start typing it generally disappears from view. Found it. WriteFile() to the console causes the cursor to dissapear for a bit. Setting the cursor position makes it show up again. Try the attached patch (I'll try it myself later, but the machine is in the middle of a big build I don't want to interrupt). Index: fhandler_console.cc =================================================================== RCS file: /cvs/src/src/winsup/cygwin/fhandler_console.cc,v retrieving revision 1.9 diff -p -2 -r1.9 fhandler_console.cc *** fhandler_console.cc 2000/07/04 02:26:20 1.9 --- fhandler_console.cc 2000/07/26 00:17:37 *************** fhandler_console::write (const void *vsr *** 1237,1240 **** --- 1237,1242 ---- syscall_printf ("%d = write_console (,..%d)", len, len); + cursor_rel (0,0); /* to make cursor appear on the screen immediately */ + return len; } -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com