另一个ASCII格式问题 [英] Another ASCII Formatting Question

查看:71
本文介绍了另一个ASCII格式问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



为此找到正确的ESC序列一直在努力。


使用Win XP DOS提示符建立telnet会话。


我提供了一个自定义的telnet屏幕 - 而不是Server 2003

telnet。我使用.NET中可用的基本

API工具来控制端口23会话。


我希望会话具有蓝色背景和白色

或红色字母(或者,一些白色,一些红色)。


任何人都知道正确的序列是什么,以及如何

我是否保持会话的蓝色"直到连接是否
掉线?细节赞赏。


谢谢!

Peter


Been struggling with find the correct ESC sequence for this.

A telnet session is established using Win XP DOS prompt.

I have provided a custom telnet screen - not the Server 2003
telnet. I am taking control of the port 23 session using the basic
API tools available to me in .NET.

I want the session to have a BLUE background and either white
or red letters (or, some white, some red).

Anybody out there know what the correct sequence is and, how
do I maintain the session''s "blueness" until the connection is
dropped? Details appreciated.

Thanks!
Peter

推荐答案

1月23日,4:09 pm,pbd22< dush ... @ gmail.comwrote:
On Jan 23, 4:09 pm, pbd22 <dush...@gmail.comwrote:

为此找到正确的ESC序列一直在努力。


使用Win XP DOS提示符建立telnet会话。
Been struggling with find the correct ESC sequence for this.

A telnet session is established using Win XP DOS prompt.



这是默认的Windows telnet客户端吗?使用什么终端类型



Jon

Is this the default Windows telnet client? What terminal type is being
used?

Jon


没有。这只是MS DOS的:


C:\ telnet 172.33.2.30

连接到自定义telnet服务器。


我很确定这是VT 100,但不知道
知道怎么检查。如果这听起来有点错,

也许你可以告诉我?


谢谢。

彼得

no. this is just MS DOS with:

C:\telnet 172.33.2.30

connecting to the custom telnet server.

I am pretty sure this is VT 100 but don''t
know how to check. If any of this sounds wrong,
maybe you could tell me?

Thanks.
Peter


1月23日下午4:46,pbd22< dush ... @ gmail.comwrote:
On Jan 23, 4:46 pm, pbd22 <dush...@gmail.comwrote:

没有。这只是MS DOS的:


C:\ telnet 172.33.2.30

连接到自定义telnet服务器。


我很确定这是VT 100,但不知道
知道怎么检查。如果这听起来不对,

也许你可以告诉我?
no. this is just MS DOS with:

C:\telnet 172.33.2.30

connecting to the custom telnet server.

I am pretty sure this is VT 100 but don''t
know how to check. If any of this sounds wrong,
maybe you could tell me?



在我的XP盒子上,我默认将ansi作为首选终端类型。

要检查,只需输入远程登录"然后从提示符输入d。 (在它自己的
上),看看首选术语类型是什么是。当然,如果你愿意的话,你可以在你的服务器上进行终端协商......


Jon

On my XP box, by default I''ve got ansi as the preferred terminal type.
To check, just type "telnet" and then from the prompt, enter "d" (on
its own) and see what the "Preferred term type" is. Of course, you can
do terminal negotiation in your server if you want...

Jon


这篇关于另一个ASCII格式问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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