On Fri, Jul 27, 2012 at 7:13 AM, Roland Mainz <roland.ma...@nrubsig.org> wrote:
> Hi!
>
> ----
>
> Attached (as "astksh_builtin_poll20120725_001.diff.txt") is the
> _prototype_ patch for a poll(1) builtin and a demo application
> (attached as "shircbot.sh.txt") which shows it's usage.
>
> Basic usage example:
> -- snip --
> $ ksh -c 'builtin poll ; function l { compound -a pl=( fd=0
> events="POLLIN" ) ; poll pl ; print -v pl ; } ; l '
> <enter a character>
> (
>         (
>                 events=POLLIN
>                 fd=0
>                 revents=POLLIN
>         )
> )
> -- snip --
>
> See output of $ poll --man # for usage and
> https://mailman.research.att.com/pipermail/ast-developers/2012q3/001585.html
> for further comments...

WOW! Cool stuff. Very cool stuff. This is so much much better than all
the whacked read loops we had in all the years.

Do you have time to make binaries for Linux, please?

Simon
_______________________________________________
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to