与 Gotoxy 类似的功能并在 HP TANDEM - GUARDIAN 上打印一行
我通过 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
假设您的终端是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