[comp.unix.i386] Question about SW_HGC_P0 from Xenix

apfiffer@admin.ogi.edu (Andy Pfiffer) (07/15/90)

I'm porting some old code from a Xenix system to Bell Tech System V/386 3.2
that performs, in short:

	fd = open("/dev/mono", O_RDWR);
	cc = ioctl(fd, SW_HGC_P0);

It is supposed to switch a(n) MDA with Hercules support into graphics
mode.  The <sys/kd.h> file on the target system has many of the Xenix
macros defined, with the exception of SW_HGC_P0.

Assuming that full Xenix compatibility exists (as advertised ?), I'd really
appreciate it if some kind sole would tell me if this ioctl is supported
on (essentially) UNIX System V/386 R3.2, and if so, what SW_HGC_P0
expands into...I'd rather not guess...

Anyone care to check?

Thanks.