🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #4411

JPI Modula-2

#4411
From: fred sullivan
Date: Sat, 27 Aug 1988 17:08
22 lines
1685 bytes
Can anyone tell me if JPI Modula-2 handles I/O redirection properly?

Logitech Modula-2 cannot detect end-of-file on console input, and
the system HANGS if end-of-file is reached on standard input which
has been redirected to a disk file.  (I am aware of the technical
reasons for this, and I know how to write a module to fix it.  I am
also aware that using redirection provided by the operating system
may not be quite fit the usual (I hesitate to say standard) way of
doing things, but so much the worse for the usual way.)  I was also
appalled to discover that with Logitech Modula-2, standard input and
output are unbuffered, even if redirected to a disk file.  Try running
the obvious program to copy input to output on a 300K file (but not if
you're in a hurry).

This problems, together with the blazing speed of the Logitech compiler
have kept me writing in Turbo-C, although I really prefer Modula-2.  I'm
hoping that JPI Modula-2 is just what I want.

Fred Sullivan				SUNY at Binghamton
Dept. Math. Sciences			Binghamton, NY 13903
					sullivan@marge.math.binghamton.edu
First you make a roux!
Technical Details
Message-ID: <1380@bingvaxu.cc.binghamton.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uwmcsd1!leah!bingvaxu!marge.math.binghamton.edu!sullivan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uwmcsd1!leah!bingvaxu!marge.math.binghamton.edu!sullivan
From: sullivan@marge.math.binghamton.edu (fred sullivan)
Newsgroups: comp.lang.modula2
Subject: JPI Modula-2
Summary: Does it handle redirection properly?
Message-ID: <1380@bingvaxu.cc.binghamton.edu>
Date: 27 Aug 88 17:08:25 GMT
Sender: news@bingvaxu.cc.binghamton.edu
Reply-To: sullivan@marge.math.binghamton.edu (fred sullivan)
Organization: Dept. of Mathematical Sciences, SUNY at Binghamton
Lines: 22