Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site eneevax.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!umcp-cs!eneevax!phaedrus From: phaedrus@eneevax.UUCP (Praveen Kumar) Newsgroups: net.unix,net.unix-wizards Subject: ioctl question Message-ID: <339@eneevax.UUCP> Date: Thu, 8-Aug-85 15:56:33 EDT Article-I.D.: eneevax.339 Posted: Thu Aug 8 15:56:33 1985 Date-Received: Sun, 11-Aug-85 07:25:09 EDT Reply-To: phaedrus@eneevax.UUCP (Praveen Kumar) Organization: EE Dept, Maryversity of Uniland Lines: 20 Xref: linus net.unix:4716 net.unix-wizards:11461 I am attempting to port jove from our vax running 4.2 to a Masscomp. Everything seems to work except for a few ioctl system calls in the main routine. I changed tchars to termio structs. Also, I had to change TIOCGETs to TCGETs, TIOCSETs to TCSETs. The problem I'm having is with the TIOCSETN call - this call returns -1 and I can't seem to track the problem down. If I ignore this, the screen is totally screwed up (as should be the case). Does anyone have any hints about the differences between ioctls and sgttyb structs and termio structs etc. between 4.2 and RTU? I would really appreciate some help. Also, if anyone has already ported jove over to the Masscomp, please, inform me. I really would appreciate a copy. -- Praveen Kumar Don't bother me! I'm on an emergency third rail power trip. phaedrus@eneevax.arpa or {seismo,allegra}!umcp-cs!eneevax!phaedrus