Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!DIALix!melbourne.DIALix.oz.au!seeware!mark From: mark@seeware.DIALix.oz.au (Mark Hannon) Subject: contool - Anybody managed to get it working? Organization: SeeWare Software Message-ID: <DEM44q.2zq@seeware.DIALix.oz.au> Date: Sat, 9 Sep 1995 00:31:38 GMT Lines: 26 Hi! Is there anybody out there who has managed to get contool working?? I grabbed the source, fixed up some problems with regex but now I can't manage to get it to work. My problem is that it refuses to open /dev/console. The relevant code is:- if (ioctl(fileno(slave), TIOCCONS, NULL) == -1) abend("%s: could not attach to /dev/console", program); Should this code work? I can't find any documentation on the TIOCCONS ioctl. If it is important I am running XFree 3.1.1 using xdm, and FreeBSD 2.0.5. Rgds,Mark -- /--------------------------------------------------------------/ / Mark Hannon, Melbourne, Australia mark@seeware.DIALix.oz.au / / Running FreeBSD - Free Unix for your PC! Ask me for details / /--------------------------------------------------------------/