Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!milhow1!how From: how@milhow1.UUCP (Mike Howard) Newsgroups: comp.unix.xenix Subject: SCO Herc support Bug? Keywords: MCAMODE, ioctl(), Hercules graphics Message-ID: <221@milhow1.UUCP> Date: 20 Sep 88 19:38:09 GMT Reply-To: how@milhow1.UUCP (Mike Howard) Organization: Miller/Howard Investments, Malden-on-Hudson, NY Lines: 24 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