Subject: RE: Huh? TIOCMGET fails in 1.3.3? How's 1.4?
To: 'Michael Maciolek' <mikem@ne.cohesive.com>
From: Steven Grunza <steven.grunza@dgms.com>
List: port-sparc
Date: 07/12/1999 15:53:16
On Monday, July 12, 1999 3:26 PM, Michael Maciolek 
[SMTP:mikem@ne.cohesive.com] wrote:
[snipped for space]
>
> prompt% make tio
> cc -O   -o tio tio.c
>
> prompt% ./tio
> ioctl TIOCMGET: Inappropriate ioctl for device
>
> Thanks for any assistance!
>
> Regards,
>
> Michael Maciolek

grunza@hw-ss1%(17) ls -l /dev/ttyb
crw-rw-rw-  1 uucp  root  12, 1 Jun  4 13:08 /dev/ttyb
grunza@hw-ss1%(18) ./tio
mode=0x00000006
grunza@hw-ss1%(19) uname -a
NetBSD hw-ss1 1.4 NetBSD 1.4 (HW-SS1) #2: Mon Jun  7 12:28:48 EDT 
1999     root@hw-ss1:/usr/src/sys/arch/sparc/compile/HW-SS1 sparc
grunza@hw-ss1%(20)

Worked ok for me in 1.4

=======================================================
Steven Grunza				Hardware Engineer
------------------------------------------------------------------  
--------------------------------------------
mailto:grunza@ulticom.com		Ulticom
voice:	(856) 787 - 2759    		1020 Briggs Road
fax:	(856) 866 - 2033			Mt. Laurel, NJ 08054
cubicle:	K6
flames: /dev/null			
------------------------------------------------------------------  
--------------------------------------------
Unix is user friendly, it's just particular about with whom it makes 
friends.