HP3000-L Archives

June 1997, Week 1

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:
Lance Costanzo <[log in to unmask]>
Reply To:
Lance Costanzo <[log in to unmask]>
Date:
Mon, 2 Jun 1997 10:40:07 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (20 lines)
>After we run some of our programs via a DTC session the linefeed is
>missing when we press the RETURN key!
>
>When we log on the RETURN key generates the usual CR LF : D1 prompt and
>we get a new line... all is OK up to this stage.
>
it may be that your code is calling the 'fsetmode' intrinsic on stdin
with modeflags.(13:1) = 1.  this disables the automatic lf after cr.
it may also be that this functionality is passed on to the dtc.
and it may also be that the dtc's aren't responding to the request
to set it back to normal cr/lf.

try writing a program to fopen stdin and fsetmode'ing it back to normal.
  q&d spl from memory:
    stdin := fopen(,%644,%0);
    fsetmode(stdin,0);
    fclose(stdin);

Lance

ATOM RSS1 RSS2