l*l 发帖数: 225 | 1 perlgolf already answer your question, here I add some,
please see your termcap to know more details of term. also, if you know
how to using escape char like \\033, you maybe have some of idea of the
process term handle.
cat /etc/termcap
ls /usr/share/lib/term for UNIX
ls /usr/share/term for linux |
|
p*u 发帖数: 2454 | 2 【 以下文字转载自 Programming 讨论区 】
发信人: pxu (大四喜~~十八罗汉), 信区: Programming
标 题: 在ubuntu下安装emacs问题
发信站: BBS 未名空间站 (Sun Jul 24 19:01:32 2005), 站内
发信人: pxu (大四喜~~十八罗汉), 信区: Linux
标 题: 在ubuntu下安装emacs问题
发信站: BBS 未名空间站 (Sun Jul 24 19:01:22 2005), 转信
error message:"emacs: cannot open termcap database file",网上找不到很好的处
理方法,好像是debian的老问题了,哪位大侠帮帮忙? |
|
l****h 发帖数: 272 | 3 另外screen缺省是不支持256色的,同样需要在.screenrc里添加一下内容:
# terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".I"
# tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# erase background with current bg color
defbce "on"
term xterm-256color |
|
e******a 发帖数: 176 | 4 After following the steps as prompted, I typed "cxterm"
but I was told that:
Can not find a usable termcap entry.
And I typed CXterm instead:
Can not identify a Chinese font in X window system.
But I really installed the Chinese fonts and I can see
the properly displayed chinese fonts when cxterm installation
almost finished (a popup window and a quit button). And
also I can see Chinese characters well in Netscape.
Could anyone tell me why?
Thanks. |
|
q********u 发帖数: 6 | 5 在M-x term 选/bin/csh,但显示
csh: Cannot open /etc/termcap.
csh: using dumb terminal settings.
请教各位在emacs中如何把csh作为shell.
thx |
|