<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 04.11.2010, at 21:06, blake wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div class="im"><div><br></div></div><div>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. &nbsp;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.</div>
<div class="im">
<div></div></div></div></blockquote></div><br><div>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?</div></blockquote><br></div><div>I don't understand what problem you see.</div><div><br></div><div>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 ;)</div><div><br></div><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Lucida Grande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">- Bert -</span></div><br class="Apple-interchange-newline"></span>
</div>
<br></body></html>