与 Gotoxy 类似的功能并在 HP TANDEM - GUARDIAN 上打印一行

发布于 2024-12-21 20:56:16 字数 121 浏览 2 评论 0原文

我通过 C 编程在 HP tandem 机器的 Guardian 环境中工作。任何人都可以告诉我一个函数,我可以使用它通过移动到 X 行和 Y 列来打印输出。就像卫报上的诅咒库一样。

当我尝试包含它时无法识别它。

I am working in Guardian environment of HP tandem machines through C programming. Can any one please let me know a function which i can use to print output by moving to an X row and Y column. like a curses library on Guardian.

When i try to include it does not recognize it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

君勿笑 2024-12-28 20:56:16

假设您的终端是6530终端(或者用户正在运行6530仿真),那么您需要使用标准Guardian I/O过程调用(WRITE、READ、WRITEREAD、CONTROL、SETMODE)并发送相关的控制代码、转义序列和显示数据到终端。

Curses 库在 Guardian 上没有对应的库,除非您能找到第三方产品。

对于此类工作,6530 程序员指南(Google)是一个很好的参考。 这里还有一个关于转义序列的简短教程

Assuming your terminals are 6530 terminals (or users are running 6530 emulation), then you need to use the standard Guardian I/O procedure calls (WRITE, READ, WRITEREAD, CONTROL, SETMODE) and send the relevant control code, escape sequences and display data to the terminal.

The curses library doesn't have an equivalent on Guardian unless you can find a third party product.

A good reference for this type of work is the 6530 Programmers Guide - Google for that. There is also a brief tutorial on escape sequences here

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