Hi,

This is not really a bug; files, pipes and sockets are buffered in
Factor. The UI listener is not buffered. So in general, you need to
flush before reading input to ensure the other end receives it.

Slava

On Thu, Jul 29, 2010 at 4:41 AM, от меня <[email protected]> wrote:
> Hi all,
> type in fuel listener:
>
> ( scratchpad ) "input x: " print readln
> 2
> input x:
>
> --- Data stack:
> "2"
>
> input x appears after promt of readln instead of before.
>
> modified version:
> ( scratchpad ) "input x: " print flush readln
> input x:
>
> but buffer becomes "Text is read only"
>
> Such problem doesn't exist in gui listener
>
> Thanks, Evgeny
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to