VAXC, IO$_SENSEMODE, and TT*DEF.H

Dave Shepperd shepperd at dms.UUCP
Wed May 8 04:19:30 AEST 1991


>From article <1991May7.121040.21899 at athena.mit.edu>, by seaotter at athena.mit.edu (The Groovy Horn Dog):
> Here's a question for you VMS C wizards:
> 
> I wish to use sys$qiow(...,IO$_SENSEMODE,...) to determine the charac-
> teristics of a terminal (and the IO$_SETMODE, but ignore that for now).

You shouldn't ignore that too much. The input to SETMODE is not the same
as the output of SENSEMODE (i.e., you can't just do a SENSEMODE, set/clear
some bits are do a SETMODE) if you plan on messing with baud and/or frame
size. DEC really screwed this up something awful. I can send you some
details if you are interested (all the programs I have that deal with this
are written MACRO-32).

-- 
Dave Shepperd.	    shepperd at dms.UUCP or motcsd!dms!shepperd
Atari Games Corporation, 675 Sycamore Drive, Milpitas CA 95035.
Nobody knows what I'm saying. I don't even know what I'm saying.



More information about the Comp.lang.c mailing list