用于屏幕抓取的 vt220 终端的 Java 模拟

发布于 2025-01-01 17:38:02 字数 196 浏览 1 评论 0原文

我必须使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

抱猫软卧 2025-01-08 17:38:02

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文