[chuck-users] ChucK and STDIN

Spencer Salazar ssalazar at princeton.edu
Wed Jul 12 10:05:24 EDT 2006


Hey there,
Theres nothing in the docs about the KBHit class, which can read  
input from the terminal, but there are a few examples of how to use  
it.  Check out:

http://chuck.cs.princeton.edu/doc/examples/event/kb.ck
http://chuck.cs.princeton.edu/doc/examples/event/kb2.ck

hope this helps,
spencer

On Jul 11, 2006, at 4:51 PM, DANIEL MAGNUSZEWSKI wrote:

> All,
>
> Is there a way to have a ChucK program take input from STDIN while
> running? I have seen the events page (
> http://chuck.cs.princeton.edu/doc/language/event.html ) where it
> discusses MIDI/OSC events, but I would like to pass information via  
> the
> command line or through a pipe. Does this make sense? Is there a  
> reason
> why this feature is not implemented, or am I just asking for something
> crazy?!
>
> Thoughts?
>
> Thanks.
>
> -Dan
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users



More information about the chuck-users mailing list