[squeak-dev] stdio support
bert at freudenbergs.de
Thu Nov 4 20:57:00 UTC 2010
On 04.11.2010, at 21:06, blake wrote:
> You would still develop it in headful Squeak, using the full development environment but launching the system on the command line with its stdio hooked to the terminal. At least that's what I'm doing with my listener which is a test case for the threaded (non-blocking FFI) VM I'm working on.
> So, emulate the terminal as an object inside the dev screen? I can see that. How do you get from that to the final, "headless" output?
I don't understand what problem you see.
To write a curses-like UI you simply read keyboard input from stdin, and you issue "drawing commands" to stdout. When deploying you would run the VM headlessly, and while developing you would just use the regular Squeak GUI to write your code, and at the same time stdin/stdout to test your app. No need to "emulate a terminal" because you have the real terminal right there. Ot at least what counts as a real terminal nowadays ;)
- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev