From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7fa,7a2a971711656725,start X-Google-Attributes: gidfc7fa,public X-Google-ArrivalTime: 1993-07-01 08:06:22 PST Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!spool.mu.edu!uwm.edu!ogicse!mimbres.cs.unm.edu!tiguex.cs.unm.edu!rfalanga From: rfalanga@tiguex.cs.unm.edu (Rod Falanga) Newsgroups: comp.sys.vms Subject: Getting number of rows of a terminal. Keywords: $QIOW, terminal characteristics Message-ID: Date: 1 Jul 93 13:01:05 GMT Article-I.D.: tiguex.C9HLHr.CAA Sender: news@tiguex.cs.unm.edu Organization: Computer Science Department, University of New Mexico I have a problem in which I'd like to get the number of rows of a terminal (in this case, a DECterm) from within a C program. I send a message on to DSNlink, and they told me that I can get terminal characteristics via SENSEMODE $QIOW. I've found the relevant chapter in the VMS Programming manual, but I haven't the time to go into this in depth. I am wondering if there is anyone out there who can give me some example VAX C source code which using the $QIOW function to get the terminal's characteristics, in particular the terminal's number of rows? Thank you in advance. Rod -- ****************************************************************************** Rod Falanga, Work: 505-822-7393, ABQ87D::FALANGA, abqrs1::falanga CEN: FALANGA:ABQ87D, FAX: 505-822-7002, Internet: rfalanga@unmvax.cs.unm.edu ******************************************************************************