CentOS 5.7에서 TERM = screen-256color를 어떻게 얻습니까? 6.0은 TERM을로 설정할 수 screen-256color있습니다. 그러나

CentOS 6.0은 TERM을로 설정할 수 screen-256color있습니다. 그러나 CentOS 5.7에서는 작동하지 않습니다.

CentOS 5.7을 어떻게 지원할 수 screen-256color있습니까?



답변

CentOS 6 상자가 편리한 경우 screen-256color에 대한 terminfo 파일의 소스를 가져 와서 CentOS 5 상자에서 컴파일 할 수 있어야합니다.

보세요:

http://tldp.org/HOWTO/Text-Terminal-HOWTO-16.html

나는 그것을 시도하지 않았지만 다음과 같은 것 :

CentOS 6 : infocmp screen-256color > /tmp/screen-256color.terminfo에서 출력 파일을 CentOS 5 상자로 가져옵니다. 에 CentOS 5 상자, tic screen-256color.terminfo. 맨 페이지에서 루트로 컴파일 된 terminfo 파일을 / usr / share / terminfo에 배치해야합니다.

물론 문서와 매뉴얼 페이지 등을 읽으십시오.


답변

xterm-256color가능? CentOS를 많이 사용하지는 않았지만 xterm은 오랫동안 사용되었습니다.