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:
David Sanders <[log in to unmask]>
Reply To:
David Sanders <[log in to unmask]>
Date:
Wed, 19 Aug 1998 10:33:44 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
On MPE/iX:

( After making a tty file using:
        MKNOD "/dev/tty c,0,20" )

The command:
---------------------
echo 'Hello\nThis is a test' >/dev/tty

Does this:
-------------
Hello

This is a test


Rather than this:
----------------------
Hello
This is a test


In fact, if one were to open the /dev/tty file
and write() to it, the same would happen.

The intrinsic FWRITE to STDOUT does the
same thing unless I give it a %320 control mode.
But I haven't got it to work with a /dev/tty.

Does anyone know the correct combination
of HPFOPEN, and FWRITE to get this to work
correctly for /dev/tty files?

Thanks,
David

ATOM RSS1 RSS2