HP3000-L Archives

August 2002, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Peter Smithson <[log in to unmask]>
Reply To:
Peter Smithson <[log in to unmask]>
Date:
Fri, 9 Aug 2002 05:31:44 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
 On Thu, 8 Aug 2002 14:46:24 -0500 (Central Daylight Time), Keven
Miller <[log in to unmask]> wrote:

>I had forgotten how to use fdevicecontrol, 192.
>You need to specify param2 to a valid value of
>1 read, 2 write, 3 both.
>(See intrinsic manual, FDEVICECONTROL, code=192, parm2;
> which follows all parm1 definitions)
>

Thanks - that works great.  Not sure why the following code doesn't
work but life is too short sometimes! -

        int i='x' * 256;

/* set AEOR to 'x' */
    FCONTROL( _mpe_fileno( fileno ( stdin )), 25, &i);

Yes it is block mode reading that I'm trying to do.  I've got it
working on UNIX with QCTerm - just getting it working on MPE now.

Thanks for the tip on para2 - I finally found it (took a while even
when I know it was there).  It's just at the end of the 192 section
after describing parm1=64 (I didn't get that far as I was using
parm1=40).

Cheers

Peter
--
http://www.wadmag.org.uk
http://uk.geocities.com/ukwebring - UK Motorcycle site webring

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2