home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.vms:12690 comp.lang.pascal:4519 comp.lang.c:11499 comp.terminals:965
- Path: sparky!uunet!portal!cup.portal.com!Aurelius
- From: Aurelius@cup.portal.com (Mark Christian Barnes)
- Newsgroups: comp.os.vms,comp.lang.pascal,comp.lang.c,comp.terminals
- Subject: Re: How to read device attributes response ?
- Message-ID: <62648@cup.portal.com>
- Date: Wed, 22 Jul 92 23:31:55 PDT
- Organization: The Portal System (TM)
- Distribution: usa
- References: <12996.2a671aaf@ohstpy.mps.ohio-state.edu>
- Lines: 20
-
- S.V. writes:
-
- | **I need to read the VT330 terminal's attributes
- | (mode, etc) from within running program, and I send
- | for this purpose the sequence <CSI c> to terminal.
- | It should respond with service code, which
- | looks like <CSI ? 63;1;2;...;c> . But the
- | problem is I cannot read this response !!!!!
- | Does anybody know how to handle device attribute
- | response ?
- | Many thanks for any suggestions...
- | S.V.
-
- Yes, you could issue a $QIO( extended read ) call. You need to include
- a terminator list that has the character(s) you are expecting from the
- VT330 response sequence. I don't exactly remember the details, but I
- do have some VAX C code that does all this. I could E-mail it to you
- soon ... if you like.
-
- Aurelius@cup.portal.com
-