Path: utzoo!attcan!uunet!ncrlnk!ncrcae!ece-csc!ncsuvx!gatech!uflorida!haven!ames!husc6!m2c!applix!jim From: jim@applix.UUCP (Jim Morton) Newsgroups: comp.unix.xenix Subject: Re: SCO Herc support Bug? Summary: yup, it's a bug Keywords: MCAMODE, ioctl(), Hercules graphics Message-ID: <811@applix.UUCP> Date: 22 Sep 88 15:22:26 GMT References: <221@milhow1.UUCP> Organization: APPLiX Inc., Westboro MA Lines: 25 In article <221@milhow1.UUCP>, how@milhow1.UUCP (Mike Howard) writes: | I was recently writing some graphics software for my SCO 386 2.2.3 | and ran into a `bug' in ioctl(). The sequence: | fd = open("/dev/mono", O_RDWR); | ioctl(fd, MCAMODE, (char *)0); | anthing | | leaves the screen screwed up. Text is displayed, but end-of-line processing | is perminently damaged. Only a reboot seems to fix it. | The same thing happens when I type `stty MCAMODE