用于屏幕抓取的 vt220 终端的 Java 模拟
我必须使用 Java 1.6 对 vt200 telnet 连接进行屏幕抓取。
我试图欺骗并使用带有InputStrem和OutputStream的简单telnet连接,但是服务器很挑剔,当它发现我不是具有80列的vt220终端时,它会关闭连接。
我正在寻找开源或免费库,但找不到。
你能帮助我吗?
谢谢, 马里奥
I have to do a screen scraping of a vt200 telnet connection using Java 1.6.
I have tried to cheat and use a simple telnet connection with InputStrem and OutputStream but the server is picky and, when it discovers that I am not a vt220 termina with 80 columns it closes the connection.
I am searching for an opensource or free library but I am not able to find one.
Can you help me?
Thanks,
Mario
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Apache Commons Net 项目支持 Telnet 协议。包含的 TerminalOptionTypeHandler看起来是支持特定终端的正确方法。
The Apache Commons Net project supports the Telnet protocol. The included TerminalOptionTypeHandler looks like the correct way to support a specific terminal.