发信人: hw (好玩), 信区: ANSI
标 题: Re: [转载]两个妖精
发信站: 日月光华 (2007年08月06日22:47:37 星期一), 站内信件
不写太多了。嗯,H这个控制码的参数是指当解释到这行代码时当前屏幕的坐标,左上角
是*[1;1H,右下角是*[24;80H,其实一般只到23行,第24行是状态条
在写代码时,上面没有文章头(3行,信头4行)和一个附加空行,文章发出来后就有这些
行了,用于第一屏的定位代码不能忘了这几行
并排"妖精"并不一定用H做,当然用H是可以的,不过坐标要写对
【 在 hw (好玩) 的大作中提到: 】
: 可怜的,我在想要不要专门写点什么
: 【 在 BOneFiveER (onlyone) 的大作中提到: 】
: 看来光华的系统跟未名的差别很多
: 我加了三处代码
: *[5;70H,*[6;62H,*[7;68H
: 应该可以理解吧
: 在esc+c下观看也没有问题
: 最后贴出来的时候,应该是*[H失控的原因
: 不明白阿不明白。。。。
--
BBS客户端探测程序(仅支持cterm、fterm、sterm、qterm以及WinXP telnet)
您当前所使用的是:
ctermIII fterm sterm Win telnet qterm <SFC(100,222,255) T(0,-10,"CTERMIII")>
※ 来源:·日月光华 bbs.fudan.edu.cn·[FROM: 222.70.15.29]
※ 修改:·hw 於 08月06日23:16:32 修改本文·[FROM: 10.8.225.9]
Sender: hw fun, message area: ANSI
Title: Re: [Reprint] Two Goblins
Sending site: Sun and Moon Guanghua Monday, August 06, 2007 22:47:37, site mail
Don’t write too much. Well, the parameter of the H control code refers to the coordinates of the current screen when this line of code is interpreted, the upper left corner.
It is *[1;1H and the lower right corner is *[24;80H. In fact, it usually only goes to line 23. Line 24 is the status bar.
When writing the code, there are no 3 lines of article header, 4 lines of letterhead and an additional blank line. These will be there after the article is published.
Okay, don’t forget these lines for the positioning code for the first screen.
Side-by-side "fairy" does not necessarily need to be done with H. Of course it is possible to use H, but the coordinates must be written correctly.
Mentioned in hw's fun masterpiece:
: Poor, I’m wondering if I should write something specifically
: Mentioned in BOneFiveER onlyone's masterpiece:
: It seems that Guanghua’s system is very different from Weiming’s.
: I added three codes
: *[5;70H,*[6;62H,*[7;68H
: It should be understandable
: There is no problem when viewing under esc c
: When I finally posted it, it should be the reason why *[H lost control
: I don’t understand. I don’t understand.
BBS client detection program only supports cterm fterm sterm qterm and WinXP telnet
You are currently using
ctermIII fterm sterm Win telnet qterm <SFC 100,222,255 T 0, 10,"CTERMIII" >
Source: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 222.70.15.29]
Modification: hw modified this article at 23:16:32 on August 06 [FROM: 10.8.225.9]