Xref: utzoo comp.os.vms:38606 comp.lang.c:39079 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!motcsd!dms!shepperd From: shepperd@dms.UUCP (Dave Shepperd) Newsgroups: comp.os.vms,comp.lang.c Subject: Re: VAXC, IO$_SENSEMODE, and TT*DEF.H Message-ID: <1244@dms.UUCP> Date: 7 May 91 18:19:30 GMT References: <1991May7.121040.21899@athena.mit.edu> Organization: Atari Games Inc., Milpitas, CA Lines: 17 From article <1991May7.121040.21899@athena.mit.edu>, by seaotter@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@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.