File name too long (91)

2005-04-09 Thread Xuân Baldauf
Hello,
I'm hitting File name too long (91) errors when using rsync or even 
ls within cygwin. I tracked down this problem to the constant 
CYG_MAX_PATH, which seems to be defined in cygtls.h. Would it be a 
problem to rise this limit?

So, is there any objection to a patch like this?
--- winsup/cygwin/cygtls.h.orig 2005-03-31 17:46:24.0 +0200
+++ winsup/cygwin/cygtls.h  2005-04-10 02:01:42.0 +0200
@@ -23,7 +23,7 @@
#define CYGTLS_EXCEPTION (0x43227 + true)
#ifndef CYG_MAX_PATH
-# define CYG_MAX_PATH 260
+# define CYG_MAX_PATH 520
#endif
#ifndef UNLEN
I have directory trees which certainly exceed the old limit...
ciao,
Xuân.
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Bug|RFE: Manually set mouse button count

2004-10-01 Thread Xuân Baldauf
Hello,
At least if XWin is run on notebook, there might be the problem that 
cygwin incorrectly detects the number of available mouse buttons. This 
may be the case especially if a 3-button-wheel mouse is attached to a 
PS/2-port of that notebook, because the internal PS/2-port emulator 
intermixes external mouse events with touchpad events. In this case, 
cygwin detects only 2 buttons (I assume the two touchpad buttons), while 
it should detect 3 buttons.

This is usually not a real problem, because cygwin seems to add (by 
default) 2 buttons (for wheel-up and wheel-down), resultin in a total of 
4 buttons. But if the user wants to use the wheel of the attached wheel 
mouse, the wheel-up-events are properly scheduled to the X clients, but 
the wheel-down-events are not.

If one could manually specifiy the number of available mouse buttons 
(e.g. by command-line), this problem could be solved. Additionally, a 
related problem could be solved, too: Even if XWin correctly detects at 
startup time that there are only 2 mouse buttons, users might plug in a 
mouse with more buttons later on.

Cheers,
Xuân.