Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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. dynodns.net 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2016-07-01 00:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (405 votes). Check out past polls.