void InitOutput(pScreenInfo, argc, argv) ScreenInfo 	  *pScreenInfo; int     	  argc; char    	  **argv; { int     	i, scr; int		nonBlockConsole = 0; char	**devList; static int	setup_on_exit = 0; extern Bool	RunFromSmartParent;  if (!monitorResolution) monitorResolution = 90; if (RunFromSmartParent) nonBlockConsole = 1; for (i = 1; i < argc; i++) { if (!strcmp(argv[i],"-debug")) nonBlockConsole = 0; }  pScreenInfo->imageByteOrder = IMAGE_BYTE_ORDER; pScreenInfo->bitmapScanlineUnit = BITMAP_SCANLINE_UNIT; pScreenInfo->bitmapScanlinePad = BITMAP_SCANLINE_PAD; pScreenInfo->bitmapBitOrder = BITMAP_BIT_ORDER;  pScreenInfo->numPixmapFormats = NUMFORMATS; for (i=0; i< NUMFORMATS; i++) pScreenInfo->formats[i] = formats[i]; #if 0
InitKbdMouse(void){    static int inited;    int i, ptrflg;    if (inited)        return;    inited = 1;    if (decKbdDev == NULL)        decKbdDev = "/dev/wskbd0";    if (decPtrDev == NULL) {        if (decSerMouse)            decPtrDev = "/dev/ttyB0";        else            decPtrDev = "/dev/wsmouse0";    }    if (decSerMouse) {    	/* Mouse will not set DSR. */        ptrflg = O_RDWR | O_NONBLOCK;    } else    	ptrflg = O_RDWR;    /* warn(3) isn't X11 API, but we know we are on NetBSD */    if((decKbdPriv.fd = open (decKbdDev, O_RDWR, 0)) == -1)	warn("Keyboard device %s", decKbdDev);    else if((decPtrPriv.fd = open (decPtrDev, ptrflg, 0)) == -1)	warn("Pointer device %s", decPtrDev);    (void) ioctl (decKbdPriv.fd, WSKBDIO_GTYPE, &decKbdPriv.type);}