Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: bidirectional challange

by my_nihilist (Sexton)
on Mar 14, 2008 at 14:25 UTC ( #674209=note: print w/replies, xml ) Need Help??

in reply to bidirectional challange

I posted a working version of THCB in the Code Catacombs, which uses halfcountplus's suggestion w/ the Ctrl-C interrupt. I am still surprised there is no/no one provided a simple way to just "channel STDIN->TNOUT". ikegami also suggested
open2(*TNIN, '<&STDIN', "telnet desert-island. 4040");
Which actually works, except that STDIN then seems to become divorced from keyboard input at a certain point. Frankly, after much tooling around with IO::Select and what have you, i am suspicous of ikegami's ideas here in general. But if anyone can demonstrate them working in THCB, I'd love to see it!

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://674209]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2022-05-21 21:57 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (78 votes). Check out past polls.