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 <pa…@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 pa…@sdf.org