stdout not working as expected under "cmd" in Windows XP

new topic     » topic index » view thread      » older message » newer message

I've created an extremely simple Euphoria program that looks like this:

C:\EUPHORIA\DEMO>type b1.ex
puts(1, "this is a test\n")
printf(1, "%s", "this is another test\n")

I run "cmd" under Windows XP, set PATH and EUPATH correctly and then try to "ex b1.ex":

Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>cd c:\EUPHORIA

C:\EUPHORIA>set PATH=%PATH%;C:\EUPHORIA\BIN

C:\EUPHORIA>set EUPATH=C:\EUPHORIA

C:\EUPHORIA>cd DEMO

C:\EUPHORIA\DEMO>ex b1.ex
this is a test
t
C:\EUPHORIA\DEMO>

Why am I not seeing the two sentences I'm outputting? The same happens when running under "command" instead of "cmd".

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu