> 听说LINUX带终端的能力很强,我想请教在硬件连好后,在软件上要不要做什么设置?

这是我用的方法,在/etc/inittab里加上:

# Serial lines
s1:1235:respawn:/sbin/agetty -L 9600 ttyS0 vt100
s2:1235:respawn:/sbin/agetty -L 9600 ttyS1 vt100

在两个串口上各有一个TVT-7220傻终端。三线连接。

如果你用多串口卡,方法差不多,稍有不同,具体请参见/usr/src/linux/driver/char
里的readme
 

> 我在微机上装了一套Slakware
> 3.4版,另外,我有一台17”的X终端,MOTOROLA产,可惜注册到Linux后,“1”键
> 不能用了,而注册到其他Xserver ( SCO, AIX) 则没有问题,请问如何解决?
> 具体表现是,1键变成了删除键?

用xev程序找出1键的键码然后用xmodmap把改键码定义为"1"。

min
----
 
> 在Slackware 3.4中,文件名根据文件类型有不同的颜色,很好
> 但是在telnet,Netterm中就乱了,可否能屏蔽它,

看看您的telnet,Netterm仿真何种终端机,然后将您的环境变量TERM
设置为该种终端机即可。例如它们仿真的是VT52(DEC产品)您只要说
(csh或tcsh下)
setenv TERM vt52

(sh或bash或ash下)
TERM=vt52

Linux支持的终端机和它们的特性全部开列在/etc/termcap文件中。
如果您的telnet,Netterm可以设置仿真多种终端机,那么你可以
选一种功能最强并且Linux可以支持的终端机,然后正确设置您的
环境变量TERM与之相呼应就行了。值得注意的是M$ telnet的终端
仿真仿得很不好(buggy)!
 

Hi, there:
I meet the problem too, but I solve it.
If you use Netterm just find the color setting dialog "Screen Colors"
and select the check box "Allow Graphics rendition code of 0 to reset
the colors to default" in it . The dialog box can be activate by the
tool bar on the top of your Netterm(a terminal icon) or selected from
[Option]->[Setup]->[Screen Colors] of the menu.
Good luck!
Haley
 

本文转自中文Linux论坛