HP3000-L Archives

August 1998, Week 3

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:
Bill Bennett CSY <[log in to unmask]>
Reply To:
Bill Bennett CSY <[log in to unmask]>
Date:
Thu, 13 Aug 1998 17:56:20 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
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]

ATOM RSS1 RSS2