发信人: comeonfulin (小猪呼噜噜), 信区: ASCIIArt
标 题: ASCIIArt短期培训班第六讲
发信站: 南京大学小百合站 (Mon Sep 12 14:32:23 2005)
ASCIIArt短期培训班第六讲
签名当和说明档的制作
前面几节讲了ASCIIArt的基础知识,从这节开始讲ASCIIArt的具体应用。
首先介绍签名档和说明档(即qmd和smd)的制作。一般来说,一个签名档要占六
行,而一个说明档要占十六行左右。
下面以小百合BBS为例具体介绍。用telnet模式登录小百合进入主选单界面,
然后依次选择(I)nfo [个人工具箱]-(W)riteFiles 修编个人档案-[2] 签名档,
按shift+e开始编辑。一般是先在ANSIEditor中设计好签名档。然后粘贴进去,按
ctrl+w保存,系统就设定并读入你的签名档。具体的制作过程这里就不多说了,大
家已经学会了基本操作,只要充分发挥你们的创造力,就可以让ASCII字符组合出
不同的美丽图案。
小百合的每个ID有5个签名档,其中每个签名档都占6行。也就是说第1~6行
是第1个签名档,第7~12行是第2个签名档,第13~18行是第3个签名档,第19~24
行是第4个签名档,第25~30行是第5个签名档。当telnet下发表文章时可以选择不
同的签名档。另外还可以设置乱数签名档。用telnet模式登陆小百合进入主选单,
依次选择(I)nfo [个人工具箱]-(U)serDefine 个人参数设定,选择V. 使用乱数
签名档。
制作签名档时大家需要注意一些问题。首先,和其他ASCIIArt作品一样,不要
在一个作品中使用过多的颜色,包括高亮色和暗色的变化,一般使用3~5种颜色就
可以。其次,签名档不能喧宾夺主,像闪烁、延时等效果一定要慎重使用,如果使
用不当就会影响网友的正常阅读,分散他们的注意力。另外,签名档的主色调最好
不要使用暗青色( ),因为回帖时原文中的文本默认颜色就是暗青色,这样你的签
名档就跟原文的文本区分不开了。
说明档的制作方法与签名档类似。telnet进入小百合主选单后依次选择(I)nfo
[个人工具箱]-(W)riteFiles 修编个人档案-[1] 个人说明档,按shif+e开始编
辑,ctrl+w保存。
下面把我现在使用的签名档和说明档列出来供大家参考,做的不好还请大家多
多见谅。
签名档:
欢迎访问小百合ASCIIArt版: http://asciiart@bbs.nju.edu.cn
█ ┏━━┳━━┳━━┳━━┳━━┳━┳┳━━┳━┳┳━┓┏━┳━┳┓ █
█ ┃ ┃ ┃ ┃ ━┫ ┃ ┃┃ ━┫ ┃┃ ┃┃ ┃ ┃┃ █
█ ┃ ━┫ ┃┃┃┃┃ ━┫ ┃┃┃ ┃ ┏┫ ┃ ┗┫ ┃┃ ┃ █
█ ┗━━┻━━┻┻┻┻━━┻━━┻┻━┻━┛┗━━┻━━┻━┻┻━┛ █
说明档:
╭╮ ╭╮ ╭╮ ╭╮
╰─·─┬──*┴──┬──*──┼────╮ │
│ │ │ ╰·─┼──*╮
╭─┴─╮ ╭─┼─╯ ╭─┴───╮ │ ╯
│ │ │ │ · ╲ ╱ │ ╭─╯
├*──┤ ╭┴·┼── │──┬*─│ * ╰─╮
│ · │ │──┼──│ │ ╭─╯
╰───╯ ╰ ╰ ╯ ╯ ╯ ╰─·╯
. ﹡ . ﹡ . ﹡ ﹡
╭╮ ˙ ╮╭╮╭╮╭╮ ﹡ ˙ ╭╮╭╮╭╮╭╮ . ╭╮
╭╭╮╮ ﹡│╰│││╭╯ ──── ╭╯││││╭╯ ╭╭╮╮
╰╰╯╯ . ╰ ╯╰╯└╯. ﹡ ˙ └╯╰╯╰╯└╯﹡˙╰╰╯╯
┌╮│╭┐ ╭╮╭╮╭╮╭╮╭╮╭╮╭╮╭╮╭╮╭╮╭╮ ┌╮│╭┐
╰╰╯╯╯ ╯╰╯╰╯╰╯╰╯╰╯╰╯╰╯╰╯╰╯╰╯╰ ╰╰╰╯╯
作业
这一讲讲了说明档和签名档的制作,请各位学员给自己制作一个签名档和或明
档,内容自选,但是不允许使用组合字编辑器把自己的id写出来做为作业。希望大
家充分发挥自己的想象力,制作出漂亮的作品。制作时注意我上面提到的问题。另
外严谨抄袭别人现成的代码。作业完成后请信件寄给各自的老师。
超过六行的签名档(选学)
一般来说一个签名档最多占六行,但是通过使用一些特殊的ANSI转义序列就可
以制作出超过六行的签名档。具体有如下两种方法:
a. 使用光标定位
这种方法需要用到如下光标移动代码:
*[nA 光标上移n个单位 *[nC 光标右移n个单位
*[nB 光标下移n个单位 *[nD 光标左移n个单位
一般结合使用*[nB和*[nD就可以完成超过六行的签名档。例如使用如下代码:
文本1*[B*[80D文本2,*[B下移一行,*[80D确保光标移到开头。这样在telnet下查
看含有这个签名档的文章时,“文本2”的内容就显示在第七行了。根据实际情况�
可以选择不同的n值。使用这种签名档,文章不要太长,最好所有内容都在一屏之
内显示完毕,过长的话或许会有问题,影响到效果。
b. 制作超过六行的签名档还有一种变通的方法,那就是发文时直接在--这两
横下面写内容,那么要写多长就写多长了,但不像前两种方法发帖时自动帖出,可
以通过使用剪贴板来减少重复劳动。
彩色ID和彩色昵称(选读)
在签名档中编辑如下代码:
*[1;9H*[1;33mcomeonfulin *[31m(小猪呼噜噜)*[m
发帖后屏幕左上角显示如下:
发信人: comeonfulin (小猪呼噜噜), 信区: ASCIIArt
标 题: ASCIIArt短期培训班第六讲
发信站: 南京大学小百合站 (Mon Sep 11 12:00:00 2005)
使用这种方法也有很多弊端。例如如果文章较长,翻页才解释到光标定位这一
行,这时候第一行已经不是原来的发信人等内容了,会将其他内容覆盖掉,也有可
能造成乱码。如果别人用人r/a引言模式回你的文章,是会引用你的签名档的,而
代码并不认人,还是会去覆盖第一行内容,明明是别人的文章,显示出来的却是你
的ID,这就不妙了。而且这是个没有办法解决的问题,好在默认的方式不会引用你
的签名档(因此不要在文章正文里面写这种代码,会影响到回文的人)。
右方垂直的签名档(选读)
有些网友的签名档在屏幕右边显示,其原理和彩色ID、彩色昵称是一样的,都
是使用光标控制符,在屏幕的指定位置书写。需要用到的控制符包括前几讲提到的
光标定位*[H,光标移动*[nA、*[nB、*[nC、*[nD和光标存储恢复*[s、*[u等。
这种签名档可能会覆盖正文内容,如果不巧造成半个汉字还可能有乱码。因此
使用这种签名档需要该控制正文中每行的字符数,免得被签名档覆盖。
为了最大限度避免乱码的出现,可以考虑开始覆盖某一行时,用*[K删掉当前
光标位置起直至行末的内容,并以一个空格开始。
例如: *[s*[7;75H*[K *[1;32m 小 *[u
*[s*[8;75H*[K *[1;32m 百 *[u
*[s*[9;75H*[K *[1;32m 合 *[u
这样可以把竖写的“小百合”3个字放在屏幕右边,用*[K删除原有内容以免覆
盖半个汉字造成乱码。
第七讲内容预告: 活动看版的制作
Sender: comeonfulin piggy snoring, message area: ASCIIArt
Title: Lecture 6 of ASCIIArt short-term training course
Sending station: Nanjing University Sayuri Station Mon Sep 12 14:32:23 2005
ASCIIArt short-term training course lecture 6
Production of signature documents and documentation
The previous sections have talked about the basic knowledge of ASCIIArt. From this section we will talk about the specific applications of ASCIIArt.
First, we will introduce the signature file and description file, that is, the production of qmd and smd. Generally speaking, a signature file takes up to six
OK, and a description file takes up about sixteen lines.
The following is a detailed introduction using Sayuri BBS as an example. Log in to Sayuri in telnet mode to enter the main menu interface.
Then select I nfo [Personal Toolbox] WriteFiles to modify personal files [2] Signature file
Press shift e to start editing. Generally, you design the signature file in ANSIEditor first and then paste it in. Press
ctrl w to save. The system will set up and read your signature file. I won’t go into details about the specific production process here.
You have learned the basic operations. As long as you give full play to your creativity, you can combine ASCII characters to create
Different beautiful patterns
Each ID of Sayuri has a signature file, and each signature file occupies 6 lines, that is, lines 1 and 6
It is the first signature file. Lines 7 and 12 are the second signature file. Lines 13 and 18 are the third signature file. Lines 19 and 24
Line 25 is the 4th signature file. Line 30 is the 5th signature file. When publishing an article under telnet, you can choose not to
In addition, you can also set random signature files. Use telnet mode to log in to Sayuri and enter the main menu.
Select I nfo [Personal Toolbox] U serDefine Personal Parameter Settings Select V. Use Random Numbers
signature file
You need to pay attention to some issues when making signature files. First of all, it is the same as other ASCIIArt works.
Using too many colors in one work, including changes in highlights and dark colors, generally uses 3 to 5 colors
Yes. Secondly, the signature file should not dominate the scene. Effects such as flashing and delay must be used with caution. If used,
Improper use will affect the normal reading of netizens and distract their attention. In addition, the main color of the signature file is best.
Do not use dark cyan because the default color of the text in the original post when replying is dark cyan. In this way, your signature
The famous file is indistinguishable from the original text.
The preparation method of the description file is similar to the signature file. Telnet to enter the main menu of Sayuri and select Info
[Personal Toolbox] WriteFiles Edit personal files [1] Personal description file Press shift e to start editing
edit ctrl w save
Below is a list of the signature files and description files I am currently using for your reference. If you are not good at it, please give me more.
Please forgive me
Signature file:
Welcome to Sayuri ASCIIArt version: http: asciiart@bbs.nju.edu.cn
Help file:
﹡ ﹡ ﹡ ﹡
*
*
﹡ ﹡
Operation
This lecture talks about the production of description files and signature files. Please create a signature file and/or signature file for yourself.
The content of the file is optional, but you are not allowed to use the combined word editor to write out your own ID as homework. I hope you will
Give full play to your imagination and create beautiful works. Pay attention to the issues I mentioned above when making. Another
Be careful not to plagiarize other people’s ready-made codes. After completing the assignment, please send a letter to the respective teacher.
Signature file with more than six lines
Generally speaking, a signature file can take up to six lines, but by using some special ANSI escape sequences, it can be
To create a signature file with more than six lines, there are two specific methods:
a. Use cursor positioning
This method requires the following cursor movement code:
*[nA Move the cursor up n units *[nC Move the cursor n units to the right
*[nB Move the cursor down n units *[nD Move the cursor n units left
Generally, a combination of *[nB and *[nD can be used to complete a signature file with more than six lines. For example, use the following code:
Text 1*[B*[80D Text 2 *[BMove down one line *[80D Make sure the cursor moves to the beginning. Check it under telnet
When reading an article containing this signature file, the content of text 2 is displayed on the seventh line. According to the actual situation,
You can choose different n values. Use this signature file. The article should not be too long. It is best to have all the content on one screen.
The display is completed within. If it is too long, there may be problems and the effect will be affected.
b. There is another alternative way to create a signature file with more than six lines, which is to directly add these two lines when posting.
Write the content below the horizontal line. You can write it as long as you want. But it won’t be automatically posted when posting with the first two methods.
to reduce duplication of effort by using the clipboard
Color ID and Color Nickname Optional Reading
Edit the following code in the signature file:
*[1;9H*[1;33mcomeonfulin *[31m Piggy snoring *[m
After posting, the upper left corner of the screen displays as follows
Sender: comeonfulin piggy snoring, message area: ASCIIArt
Title: Lecture 6 of ASCIIArt short-term training course
Sending station: Nanjing University Sayuri Station Mon Sep 11 12:00:00 2005
There are also many disadvantages to using this method. For example, if the article is long, the cursor positioning will not be explained until you turn the page.
OK. At this time, the first line is no longer the original sender and other contents, and other contents will be overwritten. It is also possible
It can cause garbled characters. If someone replies to your article using r a quotation mode, they will quote your signature file.
The code does not recognize the person, and will still overwrite the first line of content. It is obviously someone else’s article, but it is yours that is displayed.
This is not good, and there is no way to solve the problem. Fortunately, the default method will not refer to you.
Signature file, so don’t write this kind of code in the body of the article. It will affect people who reply.
Vertical signature file on the right Optional reading
Some netizens’ signature files are displayed on the right side of the screen. The principle is the same as that of color ID and color nickname.
It is to use the cursor control character to write at the specified position on the screen. The control characters that need to be used include those mentioned in the previous lectures.
Cursor positioning*[H Cursor movement*[nA *[nB *[nC *[nD and cursor storage recovery*[s *[u, etc.
This kind of signature file may cover the main text content. If it happens to cause half a Chinese character, it may also be garbled. Therefore
When using this kind of signature file, you need to control the number of characters in each line of the text to avoid being overwritten by the signature file.
In order to avoid the appearance of garbled characters to the greatest extent, you can consider using *[K to delete the current line when you start to overwrite it.
Content from the cursor position to the end of the line starting with a space
For example *[s*[7;75H*[K *[1;32m small *[u
*[s*[8;75H*[K *[1;32m hundred *[u
*[s*[9;75H*[K *[1;32m together *[u
In this way, the three characters "Sayuri" written vertically can be placed on the right side of the screen. Use *[K to delete the original content to avoid overwriting.
Covering half a Chinese character causes garbled characters
Preview of the seventh lecture: Production of event viewing version