Subject: | |
From: | |
Reply To: | |
Date: | Fri, 14 Aug 1998 11:53:28 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
The POSIX write() to STDOUT works fine. I have also noticed that the
intrinsic
function FWRITE(STDOUT_FILENO,Array,length,%320) works fine. ( Notice
that the %320 is what makes it work.. )
Has anyone successfully FOPENed a '/dev/tty' and used FWRITE to output to
the file without carriage controls being thrown in?
Thanks,
David
Bill Bennett CSY wrote in message <[log in to unmask]>...
>On Wed, 12 Aug 1998 10:49:34 -0700, David Sanders ([log in to unmask])
wrote:
>: "MPE/iX Question:
>
>: I've been trying to use the POSIX functions read() and write()
>: to read and write to/from a /dev/tty ( created using mknod
>: command ) and have noticed that these commands throw
>: in a newline after each call! Is there a way to make this
>: not happen?
>
>: Thanks,
>: David"
>
>David,
>
>I'm not sure what happens with /dev/tty on the 3K, but to control line
feeds
>take a look at FCONTROL 25 and 41. You will also need to use _MPE_FILENO
>(check the C manual for proper spelling/usage) to convert the C file number
>to an MPE file number.
>
>--
>---------------------------------------------------------------------------
>Bill Bennett [log in to unmask]
>
|
|
|