终端可以看到彩色
但是用fterm ssh 或者telnet到主机后看不到彩色
看到是这样的东东:
int check_readonly(char *checked)
{ /* Leeward 98.03.28 */
if (checkreadonly(checked)) { /* Checking if DIR access mode is "555"
*/
if (!strcmp(currboard->filename,checked)) {
move(0, 0);
clrtobot();
move(8, 0);
prints(" "); /* 40 spaces */
move(8, (80 - (24 + strlen(checked))) / 2); /* Set text in center */
prints("\033[1m\033[33m很抱歉:\033[31m%s 版目前是只读模式\033[33m\nn
\n 您不能在该版发表或者修改文章\033[m\n", checked);
pressreturn();
clear();
}
return true;
} else
return false;
例如printf 后面的明显应该是彩色的
用 putty telnet上去後倒是能vim看到彩色。。。 可是copy出来就是黑白的了
【 在 Debian@bbs.tongji.edu.cn-SPAM.no (etch) 的大作中提到: 】
: 用fterm先ssh到主机,然后彩色复制彩色粘帖到bbs就可以了
--
FROM 159.226.158.*