From: Mike Stramba Date: 2013-05-29T07:31:28+09:00 Subject: tn3270 terminal negotiation I am trying to simulate / replicate the Hercules console.c function in a Ruby script to connect to a tn3270 emulator. I'm using Tom Brennan's Vista tn3270, haven't tried another one yet. https://github.com/rbowler/spinhawk/blob/master/console.c lines 672-823 I *do* get the terminal "activated", but when I send "#{IAC}#{DO}#{TERMINAL_TYPE}",0 is executed, it's also displaying "255 253 24 " (IAC DO TERMINAL_TYPE) on the screen, while a 'normal' hercules connection does not, so I wonder what I'm missing? Possibly a tcp option ? Mike -- Posted via http://www.ruby-forum.com/.