[comp.sys.hp] TIOCNOTTY on HP9000/300 series?

hurf@theory.tn.cornell.edu (Hurf Sheldon) (11/15/90)

	I am compiling some code from a bsd system that calls
	for TIOCNOTTY to be defined but I find in <sys/ioctl.h>
	it is defined only if you have a 9000/800 series.
	Why is that?

	hurf

	

-- 
     Hurf Sheldon			 Network: hurf@theory.tn.cornell.edu
     Program of Computer Graphics	 Phone:   607 255 6713

     580 Eng. Theory Center, Cornell University, Ithaca, N.Y. 14853  

ian@dms.cdc.com (Ian Hogg) (11/21/90)

In article <1990Nov14.210528.24883@batcomputer.tn.cornell.edu>, hurf@theory.tn.cornell.edu (Hurf Sheldon) writes:
|> 
|> 	I am compiling some code from a bsd system that calls
|> 	for TIOCNOTTY to be defined but I find in <sys/ioctl.h>
|> 	it is defined only if you have a 9000/800 series.
|> 	Why is that?

I don't know why it's only on the 800's but I call setsid() instead of the
ioctl with TIOCNOTTY.  I haven't noticed any problems.  Is this the "best" replacement for TIOCNOTTY on the 300's?

--
===============================================================================
Ian Hogg                                    email:  ian@dms.cdc.com
Control Data Corporation                    phone:  (612)-553-4484

-- 
===============================================================================
Ian Hogg                                    email:  ian@dms.cdc.com
Control Data Corporation                    phone:  (612)-553-4484