Any options for better interactive terminal-style I/O? - 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: Any options for better interactive terminal-style I/O? (/thread-11126.html) |
Any options for better interactive terminal-style I/O? - Dave Britten - 07-25-2018 10:59 PM Right now, the Prime just has PRINT(), which can clear the screen, or print a line of text. There's also the INPUT() function, but that displays full-screen input forms, much like INFORM on the 48. Are there any libraries floating around that provide more traditional interactive terminal I/O? Like the sort of thing you'd get with Disp/Input on a TI, or Write/WriteLn/ReadLn in Turbo Pascal, or PRINT/INPUT in just about any old version of BASIC. RE: Any options for better interactive terminal-style I/O? - compsystems - 07-26-2018 03:56 PM Hello, this is a very requested requirement, I do not know what is the difficulty of incorporating it, hardware? The first step is to include xcas printf cmd An example of code between HP-PRIME_XCAS and XCAS, notice how difficult and ugly/primitive it is to read mathematical expressions in 1D XCAS HPPRIME CODE PHP Code: #cas XCAS CODE PHP Code: terminalViewTest():={ poll Is anyone else interested in having a better terminal view? . RE: Any options for better interactive terminal-style I/O? - ijabbott - 07-26-2018 04:42 PM (07-26-2018 03:56 PM)compsystems Wrote: The first step is to include xcas printf cmd That's a great idea, although I guess the Terminal widget will only support the current plain text output, like a traditional terminal. Displaying textbook-formatted output would require a different sort of widget more like the notebook format used for interactive calculations. |