Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rutgers!cmcl2!phri!marob!daveh From: daveh@marob.MASA.COM (Dave Hammond) Newsgroups: comp.unix.xenix Subject: Re: SCO Herc support Bug? Keywords: MCAMODE, ioctl(), Hercules graphics Message-ID: <420@marob.MASA.COM> Date: 22 Sep 88 11:13:48 GMT References: <221@milhow1.UUCP> Organization: ESCC New York City Lines: 17 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. I've experienced similar problems with /dev/console (mono or color). Sending the `attributes off' ( \033[m ) sequence has helped in the past. Dave Hammond UUCP: uunet!masa.com!{marob,dsix2}!daveh DOMAIN: daveh@marob.masa.com ------------------------------------------------------------------------------