HP Forums
View emulated terminal - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: View emulated terminal (/thread-1405.html)



View emulated terminal - Tugdual - 05-25-2014 08:03 AM

The PRINT command outputs on a terminal.
Terminal can be viewed using ON+T keys.
How can we do that with the emulated Prime?


RE: View emulated terminal - Tim Wessman - 05-25-2014 01:58 PM

There is not anything unfortunately as the old MFC based emulator was never designed to handle multiple key press sequences. Best thing to do is just an empty print statement.


RE: View emulated terminal - StephenG1CMZ - 10-02-2015 07:19 PM

(05-25-2014 01:58 PM)Tim Wessman Wrote:  There is not anything unfortunately as the old MFC based emulator was never designed to handle multiple key press sequences. Best thing to do is just an empty print statement.

Just to make that a little clearer, for beginners unsure what an empty print statement is:
In home:
PRINT() will clear the Terminal contents
PRINT("") will display the Terminal (after appending an empty string)

This will have the side effect of inserting a blank line into the Terminal contents, as does
PRINT(CHAR(0))
(Which is presumably the Unicode equivalent of ASCII 0 or NULL).

I think it would be better if sending a NULL character to the Terminal did not introduce a blank line.