nl_tokens: Function for connecting some events
pl_tokens: function connectEvents ( <mask> ) { if ( self . stdout ) { self . stdout . on ( 'data' , function ( d ) { self . emit ( 'data' , d ) ; } ) ; self . stderr . on ( 'data' , function ( d ) { self . emit ( 'error' , d ) ; } ) ; } }