使用VT100 / ANSI支持解析win32 [英] Curses for win32 with VT100/ANSI support

查看:71
本文介绍了使用VT100 / ANSI支持解析win32的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一旦我的sourceforge.net项目获得批准,我将打开

构建一个ncurses端口,以便win32可绑定到套接字,例如允许

VT100 / ANSI终端以及创建简单的终端服务器使用

用于UI的ncurses API。我计划最初只支持ncurses lib的一个子集

,让lib打开扩展/完成。


如果我要去,请阻止我重新发明轮子,并告诉我是否有这样的图书馆。


1.不,我不想使用cygwin

2.是的,我知道pdcurses,很棒,我打算将它用于正常的

ncurses控制台但是我需要一个套接字的vt100终端库...


谢谢!


-

Daniele C.

解决方案

" Daniele C." <乐******** @ users.sourceforge.net>写道:

一旦我的sourceforge.net项目获得批准,我将建立一个ncurses端口,win32可绑定到套接字,例如允许使用
VT100 / ANSI终端以及使用ncurses API为UI创建简单的终端服务器。我计划最初只支持ncurses lib的一个子集,让lib打开扩展/完成。

如果我要重新发明轮子,请阻止我,并告诉我是否
有这样的图书馆。




对不起,这是错误的地方。尝试Windows编程

新闻组,可能是comp.os.ms-windows.programmer.win32。 (或者Google

搜索。)


-

Keith Thompson(The_Other_Keith) ks *** @ mib.org < http://www.ghoti.net/~kst>

圣地亚哥超级计算机中心< * GT; < http://users.sdsc.edu/~kst>

我们必须做点什么。这是事情。因此,我们必须这样做。


在文章< ln ************ @ nuthaus.mib.org> ;, Keith Thompson< ; kst-
u@mib.org >写道

Daniele C. <乐******** @ users.sourceforge.net>写道:

一旦我的sourceforge.net项目获得批准,我将建立一个ncurses端口,win32可绑定到套接字,例如允许使用
VT100 / ANSI终端以及使用ncurses API为UI创建简单的终端服务器。我计划最初只支持ncurses lib的一个子集,让lib打开扩展/完成。

如果我要重新发明轮子,请阻止我,并告诉我是否
有这样的图书馆。



抱歉,这是一个错误的地方。尝试Windows编程
新闻组,可能是comp.os.ms-windows.programmer.win32。 (或谷歌
搜索。)




这与bug有关。 Curses是一个便携式屏幕

终端窗口处理系统。我在Atari ST,Dos,Win9 *(在dos窗口中)MAC和各种

unix上使用了相同的诅咒

库。它是一个便携式系统。


这正是讨论

curses库的大部分代码的地方。许多终端

类型的唯一区别是转义序列。这些通常都保存在一个文本文件中,所以

你可以轻松地交换终端类型。


很少这将是windows或任何其他操作系统特定的/>

-

\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\

\ / \ / \ / \ / \ Chris Hills Staffs England / \ / \ / \ / \ /

/ \ / \ / ch *** @ phaedsys.org www.phaedsys.org \ / \ / \

\ / \ / \ / \ / \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ /


Chris Hills写道:

在文章< ln ******** **** @ nuthaus .mib.org>,Keith Thompson< kst-
u@mib.org >写道

Daniele C. <乐******** @ users.sourceforge.net>写道:

一旦我的sourceforge.net项目获得批准,我将建立一个ncurses端口,win32可绑定到套接字,例如允许使用
VT100 / ANSI终端以及使用ncurses API为UI创建简单的终端服务器。我计划最初只支持ncurses lib的一个子集,让lib打开扩展/完成。

如果我要重新发明轮子,请阻止我,并告诉我是否
有这种类型的库。对不起,这是一个错误的地方。尝试Windows编程
新闻组,可能是comp.os.ms-windows.programmer.win32。 (或谷歌
搜索。)



这与bug有关。 Curses是一种用于终端窗口的便携式屏幕处理系统。我在Atari ST,Dos,Win9 *(在dos窗口中)和各种
unix上使用了相同的curses
库。它是一个便携式系统。



OP正在尝试*在特定的
平台上实现*联网的ncurses。这将涉及操作系统或特定于库的东西,除非你相信魔法。

这正是谈论一个<的大部分代码的地方curses库。许多终端
类型的唯一区别是转义序列。这些通常保存在文本文件中,因此您可以轻松地交换终端类型。

很少有这些将是Windows或任何其他特定操作系统



很少有这个也是C特定的,这就是这个新闻组

的意思。这里没有关于C语言的问题。如果有关于什么是便携式和什么不可用的问题,那将是另一回事。


S.


As soon as my sourceforge.net project gets approved, I am going to
build a ncurses port to win32 bindable to sockets, e.g. allowing
VT100/ANSI terminals and the creation of simple terminal servers using
the ncurses API for the UI. I plan to initially support only a subset
of the ncurses lib, leaving the lib open to expansion/completion.

Please stop me if I am going to reinvent the wheel, and tell me if
there are any libraries of this kind.

1. No, I don''t want to use cygwin
2. Yes, I know pdcurses, it is great and I plan to use it for normal
ncurses consoles but I need a socket-bound vt100 terminal library...

Thank you!

--
Daniele C.

解决方案

"Daniele C." <le********@users.sourceforge.net> writes:

As soon as my sourceforge.net project gets approved, I am going to
build a ncurses port to win32 bindable to sockets, e.g. allowing
VT100/ANSI terminals and the creation of simple terminal servers using
the ncurses API for the UI. I plan to initially support only a subset
of the ncurses lib, leaving the lib open to expansion/completion.

Please stop me if I am going to reinvent the wheel, and tell me if
there are any libraries of this kind.



Sorry, this is the wrong place to ask. Try a Windows programming
newsgroup, possibly comp.os.ms-windows.programmer.win32. (Or a Google
search.)

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.


In article <ln************@nuthaus.mib.org>, Keith Thompson <kst-
u@mib.org> writes

"Daniele C." <le********@users.sourceforge.net> writes:

As soon as my sourceforge.net project gets approved, I am going to
build a ncurses port to win32 bindable to sockets, e.g. allowing
VT100/ANSI terminals and the creation of simple terminal servers using
the ncurses API for the UI. I plan to initially support only a subset
of the ncurses lib, leaving the lib open to expansion/completion.

Please stop me if I am going to reinvent the wheel, and tell me if
there are any libraries of this kind.



Sorry, this is the wrong place to ask. Try a Windows programming
newsgroup, possibly comp.os.ms-windows.programmer.win32. (Or a Google
search.)



This has bugger all to do with windows. Curses is a portable screen
handling system for terminal windows. I have used the same curses
library on an Atari ST, Dos, Win9* (in a dos window) MAC and various
unix. It is a portable system.

This is precisely the place to talk about the majority of the code for a
curses library. The only difference for the many dozens of terminal
types are the escape sequences. These are usually held in a text file so
you can swap terminal types easily.

Very little of this will be windows or any other OS specific

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/


Chris Hills wrote:

In article <ln************@nuthaus.mib.org>, Keith Thompson <kst-
u@mib.org> writes

"Daniele C." <le********@users.sourceforge.net> writes:

As soon as my sourceforge.net project gets approved, I am going to
build a ncurses port to win32 bindable to sockets, e.g. allowing
VT100/ANSI terminals and the creation of simple terminal servers using
the ncurses API for the UI. I plan to initially support only a subset
of the ncurses lib, leaving the lib open to expansion/completion.

Please stop me if I am going to reinvent the wheel, and tell me if
there are any libraries of this kind. Sorry, this is the wrong place to ask. Try a Windows programming
newsgroup, possibly comp.os.ms-windows.programmer.win32. (Or a Google
search.)



This has bugger all to do with windows. Curses is a portable screen
handling system for terminal windows. I have used the same curses
library on an Atari ST, Dos, Win9* (in a dos window) MAC and various
unix. It is a portable system.


The OP is trying to *implement* a networked ncurses on a particular
platform. This is going to involve OS or library-specific stuff, unless you
believe in magic.
This is precisely the place to talk about the majority of the code for a
curses library. The only difference for the many dozens of terminal
types are the escape sequences. These are usually held in a text file so
you can swap terminal types easily.

Very little of this will be windows or any other OS specific


Very little of this will be C specific too, and that''s what this newsgroup
is about. There are no questions about the C language here. If there are
questions about what''s portable and what''s not, that would be another matter.

S.


这篇关于使用VT100 / ANSI支持解析win32的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆