<<<<<<< xf86config.c #ifdef __NetBSD__ for (i = 0; i < 10; i++) #else for (i = 0; i < 9; i++) #endif =======
mouse_configuration(void) {#if !defined(__EMX__) && !defined(QNX4)	int i;	char s[80];	printf("%s", mouseintro_text);	<<<<<<< xf86config.c#ifdef __NetBSD__	for (i = 0; i < 10; i++)#else	for (i = 0; i < 9; i++)#endif=======	for (i = 0; i < sizeof(mousetype_name)/sizeof(char *); i++)>>>>>>> 1.1.1.3		printf("%2d.  %s\n", i + 1, mousetype_name[i]);	printf("\n");	printf("%s", mousecomment_text);		printf("Enter a protocol number: ");	getstring(s);	config_mousetype = atoi(s) - 1;	if (config_mousetype < 0)		config_mousetype = 0;	printf("\n");	if (config_mousetype == 4) {		/* Logitech. */		printf("%s", logitechmousecomment_text);		printf("\n");		printf("Please answer the following question with either 'y' or 'n'.\n");		printf("Are you sure it's really not a Microsoft compatible one? ");		getstring(s);		if (!answerisyes(s))			config_mousetype = 0;		printf("\n");	}	config_chordmiddle = 0;	if (config_mousetype == 0 || config_mousetype == 5) {		/* Microsoft or MouseMan. */		if (config_mousetype == 0)			printf("%s", microsoftmousecomment_text);		else			printf("%s", mousemancomment_text);		printf("\n");		printf("Please answer the following question with either 'y' or 'n'.\n");		printf("Do you want to enable ChordMiddle? ");		getstring(s);		if (answerisyes(s))			config_chordmiddle = 1;		printf("\n");	}	config_cleardtrrts = 0;	if (config_mousetype == 1) {		/* Mouse Systems. */		printf("%s", mousesystemscomment_text);		printf("\n");		printf("Please answer the following question with either 'y' or 'n'.\n");		printf("Do you want to enable ClearDTR and ClearRTS? ");		getstring(s);		if (answerisyes(s))			config_cleardtrrts = 1;		printf("\n");	}	switch (config_mousetype) {	case 0 : /* Microsoft compatible */		if (config_chordmiddle)			printf("%s", threebuttonmousecomment_text);		else			printf("%s", twobuttonmousecomment_text);		break;	case 1 : /* Mouse Systems. */	case 8 : /* IntelliMouse */		printf("%s", threebuttonmousecomment_text);		break;	default :		printf("%s", unknownbuttonsmousecomment_text);		break;	}	printf("\n");	printf("Please answer the following question with either 'y' or 'n'.\n");	printf("Do you want to enable Emulate3Buttons? ");	getstring(s);	if (answerisyes(s))		config_emulate3buttons = 1;	else		config_emulate3buttons = 0;	printf("\n");	printf("%s", mousedev_text);	printf("Mouse device: ");	getstring(s);	if (strlen(s) == 0)#ifndef WSCONS_SUPPORT		config_pointerdevice = "/dev/mouse";#else		config_pointerdevice = "/dev/wsmouse";#endif	else {		config_pointerdevice = Malloc(strlen(s) + 1);		strcpy(config_pointerdevice, s);       }       printf("\n");#else /* __EMX__ */       	/* set some reasonable defaults for OS/2 */       	config_mousetype = 9;	config_chordmiddle = 0;       	config_cleardtrrts = 0;	config_emulate3buttons = 0;#if !defined(QNX4)	config_pointerdevice = "OS2MOUSE";#else	config_pointerdevice = "QNXMOUSE";#endif#endif /* __EMX__ */}