发信人: Spirit (妖精雨·雨之魂·天凉好个妖), 信区: ANSI
标 题: 第三章·并排的Fterm
发信站: 日月光华 (2007年02月06日15:33:26 星期二), 站内信件
A类作业(所有正式学员需要完成)
4. 复制本教程中的Fterm图形,复制成并排排列的两个。(需要用到代码的简
化,理解并非所有作品都能在光华很好得显示,可尝试移位但不作要求)
这题放在A类里面是我的失误,我本意只是想让大家了解255个
字符限制对作品的影响,并复习一下前面教的ANSI控制符。但没想
到大家在这题上花的时间那么多。。。orz...
这里说说作业中的问题
1.高低亮
部分同学交上来的作业中没有注意高低亮的细节,这是在
复制他人作品时应当注意的细节。我原图是用AE直接copy出来
的,风格并不是很好,所以在使用fterm 直接复制会出高低亮
的bug。如果想要复制得到最好的效果,建议使用sterm。
如果想要别人复制自己作品的时候没用bug ,尽量不要直
接从AE上复制到文章内。可以先复制到fterm自带的yaae ,再
从yaae复制到文章内。yaae是一个很简单的ansi编辑工具,可
以在fterm的主页上找到。
2.并排的Fterm
其实通过代码简化,只有眼睛那行是无法精简到255个字
符以内的,对于这行,有三种处理方式。虽然这几种方式都能
显示出正确的图像,但是效果上有一定的差别。
A.断开换行处,使用*[1A*[??C上移动一行n列
这种方式非常简单,但是如果按↓滚屏或者翻页的时候,
发现Fterm 断开了。这是因为屏幕在处理滚屏是一行行的
处理,下移一行时,显示的时候是将整个屏幕上移一行,
再解析新出现的一行,补在屏幕末,所以显示的时候会有
问题。所以这种方式不建议在多行签名档里使用。
下面这个Fterm是用这种方式处理的。
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
◤ ▄▄▄ ▄▄▄ ◥ ◤ ▄▄▄ ▄▄▄ ◥
█ █ █ █
▌▌ ▌▌ ▌▌ ▌▌
█ █ █ █
▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄
▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄
◣ ┃ ◢ ◣ ┃ ◢
┃ ┃
SpiritRain ┃ RYGH ▄ SpiritRain ┃ RYGH ▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄◤▄▄▄▄▄▄▄▄◥▄▄▄ ▄▄▄◤▄▄▄▄▄▄▄▄◥▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
B.行内用*[?C右移
这个方式相对上移麻烦得多,但能得到较好的显示效果。
这是hw的作品,有兴趣的可以F回去看看。
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
◤ ▄▄▄ ▄▄▄ ◥ ◤ ▄▄▄ ▄▄▄ ◥
█ █ █ █
▌▌ ▌▌ ▌▌ ▌▌
█ █ █ █
▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄
▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄
◣ ┃ ◢ ◣ ┃ ◢
┃ ┃
SpiritRain ┃ RYGH ▄ SpiritRain ┃ RYGH ▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄◤▄▄▄▄▄▄▄▄◥▄▄▄ ▄▄▄◤▄▄▄▄▄▄▄▄◥▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
C.修改作品
用移位是一种非常不好的方式,对于自己的作品,最好的
方法是通过修改作品来避免255的限制。比如下面monopoly
对Fterm的处理方式,唯一遗憾是在有缝状态下不很完美。
有兴趣的可以F回去自己看看。
|
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
|
◤ ▄▄▄ ▄▄▄ ◥ | ◤ ▄▄▄ ▄▄▄ ◥
▌ █ ▌ █ ▌ ▌█ ▌ █ ▌ | ▌ █ ▌ █ ▌ ▌█ ▌ █ ▌
▌ █ ▌▌▌▌ ▌▌▌▌ █ ▌ | ▌ █ ▌▌▌▌ ▌▌▌▌ █ ▌
▌ █ ▌█ ▌▌██ ▌ █ ▌ | ▌ █ ▌█ ▌▌██ ▌ █ ▌
▄▄▄ ▄▄▄ | ▄▄▄ ▄▄▄
▄▄▄▄▄▄▄ | ▄▄▄▄▄▄▄
◣ ┃ ◢ | ◣ ┃ ◢
┃ | ┃
SpiritRain ┃ RYGH ▄ | SpiritRain ┃ RYGH ▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄ | ▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄◤▄▄▄▄▄▄▄▄◥▄▄▄ | ▄▄▄◤▄▄▄▄▄▄▄▄◥▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
|
--
※ 来源:·日月光华 bbs.fudan.edu.cn·[FROM: 222.69.210.205]
Sender: Spirit Fairy Rain, Soul of Rain, It’s a Cool Day, What a Monster, Message Area: ANSI
Title: Chapter 3 Side by Side Fterm
Sending site: Sun and Moon Guanghua Tuesday, February 06, 2007 15:33:26, site mail
Class Assignments All formal students need to complete
4. Copy the Fterm graphics in this tutorial into two side by side. You need to use the simplified code.
We understand that not all works can be displayed well in Guanghua. You can try to shift but there is no requirement.
It was my mistake to put this question in Category A. My original intention was just to let everyone know about 255
The impact of character restrictions on works and review the ANSI control symbols taught earlier, but I didn’t think about it.
To see everyone spending so much time on this issue orz...
Let’s talk about the problems in the homework here
1. High and low brightness
Some students did not pay attention to the details of high and low light in the homework they submitted. This is because
Details you should pay attention to when copying other people's works. My original picture was copied directly using AE.
The style is not very good, so when you use fterm to copy directly, the high and low highlights will appear.
If you want to copy the bug to get the best effect, it is recommended to use sterm
If you want others to copy your work without using bugs, try not to directly
Then copy it from AE into the article. You can first copy it to yaae that comes with fterm and then
Copy from yaae into the article. Yaae is a very simple ansi editing tool.
to be found on fterm's homepage
2. Side-by-side Fterm
In fact, through code simplification, only the line for the eyes cannot be reduced to 255 words.
Within characters, there are three ways to deal with this line, although these methods can all
Displays the correct image but there is a certain difference in the effect
A. Break the line break and use *[1A*[??C to move one row and n columns
This method is very simple, but if you press to scroll or turn pages,
I found that Fterm was disconnected. This is because the screen is processing the scrolling line by line.
When processing the move down one line, the entire screen is moved up one line when displayed.
Then parse the newly appeared line and append it to the end of the screen, so it will be displayed when it is displayed.
Question: Therefore, this method is not recommended for use in multi-line signature files.
The following Fterm is processed in this way
SpiritRain RYGH SpiritRain RYGH
B. Use *[?C to shift right within the line
This method is much more troublesome than moving up, but it can get better display results.
This is hw's work. If you are interested, you can go back and take a look.
SpiritRain RYGH SpiritRain RYGH
C. Modify the work
Using shift is a very bad way to do your own work. Best
The method is to avoid the 255 limit by modifying the work, such as the following monopoly
The only regret about the way Fterm is handled is that it is not perfect when there is a seam.
If you are interested, you can go back and see for yourself
SpiritRain RYGH SpiritRain RYGH
Source: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 222.69.210.205]