I can't get this to work:
~/felix>FLX_DEBUG_DRIVER=1 ./networking_01 2>tmp.tmp NETWORKING_01: MAINLINE: flx tcp stream test NETWORKING_01: MAINLINE 01: Got port: 49580 NETWORKING_01: MAINLINE 02: listener created on socket 11 NETWORKING_01: MAINLINE 03: spawning server NETWORKING_01: SERVER 01: listening on socket 11 NETWORKING_01: MAINLINE 04: spawning client NETWORKING_01: CLIENT 01: trying to connected to server NETWORKING_01: MAINLINE 05: waiting for job to complete NETWORKING_01: SERVER 02: Server accepted connection on socket 13 NETWORKING_01: SERVER 03: Attempting write NETWORKING_01: CLIENT 02: connected to server on socket is 12 NETWORKING_01: CLIENT 03: Attempting read NETWORKING_01: SERVER 04: write complete NETWORKING_01: SERVER 05: Attempting read ^C tmp.tmp looks like this: prun: After running: Sync state is delegated/Next request pos [prun: svc_general] from fthread=0x100200980 [prun: svc_general] async=0x100200b20, ptr_create_async_hooker=0x100008bc0 [prun: svc_general] Async system created: 0x100200b20, count 2 [prun: svc_general] Request object 0x1002022f0 [prun: svc_general] Request object 0x1002022f0 captured fthread 0x100200980 [prun: svc_general] Request object 0x1002022f0 [prun: svc_general] request dispatched.. prun: sync_run prun: Before running: Sync state is delegated/Out of active threads frun: entry ft=0x0, active size=0 prun: After running: Sync state is blocked/Out of active threads prun: out of active synchronous threads, trying async, count=2 prun: Async Retrieving fthread 0x100200980 So fine, I want to save the merged output .. ~/felix>FLX_DEBUG_DRIVER=1 ./networking_01 &>tmp.tmp Loses stdout ~/felix>FLX_DEBUG_DRIVER=1 ./networking_01 >tmp.tmp 2>&1 Loses stdout I know stdout is buffered.. but this works fine in a terminal: prun: out of active synchronous threads, trying async, count=2 prun: Async Retrieving fthread 0x1003006d0 prun: Async Retrieving fthread 0x1002008a0 prun: sync_run prun: Before running: Sync state is blocked/Next request pos frun: entry ft=0x1002008a0, active size=1 NETWORKING_01: SERVER 05: Attempting read prun: After running: Sync state is delegated/Next request pos [prun: svc_general] from fthread=0x1002008a0 [prun: svc_general] async=0x100200b40, ptr_create_async_hooker=0x100008bc0 [prun: svc_general] Async system created: 0x100200b40, count 1 What am i doing wrong here? -- john skaller skal...@users.sourceforge.net http://felix-lang.org ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language