Aucbvax.6916
fa.info-vax
utzoo!decvax!ucbvax!info-vax
Mon Apr 26 09:02:02 1982
VMS terminal I/O
>From mknox@UTEXAS-11 Mon Apr 26 07:32:01 1982

I am attempting to post a VMS QIOW read to the terminal with a different
set of terminator characters than is standard (as per the I/O Users Guide).
The relavent code is:

  .
  .
trmchr:  .quad  8
  .
  .
  .
 $qiow_s  chan=chanl,-
   func=#(io$_ttyreadall!io$m_noecho!io$m_timed),-
   p1=buffer,p2=strlen,p3=#120.,p4=trmchr
  .
  .
  .

The problem is the P4 parameter.  It causes the routine to blow up with
an access violation, unless trmchr contains a 0.  In any event, the termination
characters remain unchanged.

What am I doing wrong???


                               tnx

                               MKNOX at UTEXAS-11

-------

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.