Any options for better interactive terminal-style I/O?
|
07-25-2018, 10:59 PM
Post: #1
|
|||
|
|||
Any options for better interactive terminal-style I/O?
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. |
|||
07-26-2018, 03:56 PM
(This post was last modified: 07-26-2018 04:06 PM by compsystems.)
Post: #2
|
|||
|
|||
RE: Any options for better interactive terminal-style I/O?
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? . |
|||
07-26-2018, 04:42 PM
Post: #3
|
|||
|
|||
RE: Any options for better interactive terminal-style I/O?
(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. — Ian Abbott |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)