Article View: comp.lang.pl1
Article #21SYSIN trouble with Iron Spring compiler for Linux
From: David Meyer
Date: Sat, 24 Oct 2026 01:18
Date: Sat, 24 Oct 2026 01:18
57 lines
2758 bytes
2758 bytes
I am a PL/I newbie trying to set up the Iron Spring compiler on my Linux
(Devuan Excalibur 6) box.
I think I have followed all the installation steps, and can use SA_make
to compile a "Hello, World!" program that runs as expected.
However, while slightly more complex programs that read input from SYSIN
(see example below) appear to compile normally, the program behaves
unexpectedly when run:
1. The initial prompt message ('input data:') is not displayed. In its
place is just the cursor at the beginning of new line.
2. All input appears to be ignored unless each input line has at least
one space character immediately preceeding the carriage return at the
end of the line.
3. After all data has been entered as in 2., the 'input data:' prompt is
displayed below the echoed input data and one line above
'answer:'. (After displaying 'answer:', the result is printed as
expected.)
(The program runs and reads SYSIN data as expected ('input data:'
displayed first, input lines don't require space before carriage return)
on OpenVMS with the Kednos compiler.)
Any clues what my problem is?
====================
/* CA001 - Code Abbey Problem #1 - Sum "A+B"
* 2026/10/16 David Meyer <papa@sdf.org> +JMJ
*
* Language: PL/I (ANSI X3.74 1981)
* Compiler: Kednos PL/I V3.8 for OpenVMS VAX
* System: VAX 7000/640 "Rosencrantz"
*/
CA001: PROCEDURE OPTIONS (MAIN);
DECLARE (a, b) FIXED BINARY;
PUT LIST ('input data:');
PUT SKIP;
GET LIST (a, b);
PUT LIST ('answer:');
PUT SKIP;
PUT LIST (a + b);
END;
====================
--
David Meyer
Takarazuka, Japan
papa@sdf.org
Technical Details
Message-ID:
<87h5ibuc9x.fsf@localhost>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: David Meyer <papa@sdf.org> Newsgroups: comp.lang.pl1 Subject: SYSIN trouble with Iron Spring compiler for Linux Date: Sat, 24 Oct 2026 10:18:18 +0900 Organization: A noiseless patient Spider Lines: 57 Message-ID: <87h5ibuc9x.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Sat, 24 Oct 2026 01:08:45 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2443582"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/wgIVRsIWW3KqsYSUgC2ww"; posting-host="1555494d55baa44569189ef199093be2" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:WUMD03jg16ACKD2PFKhWkpH/pU8= sha1:9n99dzrKipjZGLgPtxQFshA4zhI= sha256:Jra0YEiNPjfhMQxYZZzG2NjtXVivCh4+cGaxwPrOLcY= sha1:SOWEvEM8DQY1XyeTH/LbrYspV8U= sha256:qBoCR/KvnNqV5+adu2YQW66tv3sUHdJKcQlVBrLuquo=