[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Terminal type term-256color is not defined
From: |
Jeffrey Walton |
Subject: |
Terminal type term-256color is not defined |
Date: |
Sun, 9 Aug 2020 20:34:05 -0400 |
I'm working on a Fedora 1 system.
$ ssh 172.16.4.138
Last login: Sun Aug 9 23:39:18 2020 from 172.16.2.10
unknown terminal "xterm-256color"
unknown terminal "xterm-256color"
and
$ emacs test.txt
emacs: Terminal type term-256color is not defined.
There's one mention of xterm-256color in /etc
# grep -IR xterm-256color /etc
/etc/termcap:# * add xterm-88color and xterm-256color -TD
However, xterm-256color shows up frequently in /usr/local. I think the
xterm-256color may be coming from libtextstyle.
# grep -IR xterm-256color /usr/
/usr/share/emacs/21.3/etc/termcap.src:xterm-256color|xterm with 256 colors:\
/usr/share/emacs/21.3/etc/termcap.src: :Co#88:pa#88:tc=xterm-256color:
/usr/share/emacs/21.3/etc/termcap.src:# * add xterm-88color and
xterm-256color -TD
grep: /usr/lib/mozilla-1.4.1/res/fonts/fontEncoding.properties: No
such file or directory
grep: /usr/lib/libgmpxx.so: No such file or directory
/usr/local/share/doc/libtextstyle/libtextstyle_2.html:<code>TERM=xterm-256color</code>
accordingly:
/usr/local/share/doc/libtextstyle/libtextstyle_2.html:need to set
<code>TERM=xterm-256color</code> or similar; the programs by default
/usr/local/share/doc/libtextstyle/libtextstyle_2.html:sets
<code>TERM=xterm</code>. You need to set
<code>TERM=xterm-256color</code>.
/usr/local/share/doc/libtextstyle/libtextstyle_2.html:<code>TERM=xterm-256color</code>.
/usr/local/share/doc/libtextstyle/libtextstyle_2.html:<code>TERM=xterm-256color</code>
or <code>TERM=konsole-256color</code>.
/usr/local/share/doc/libtextstyle/libtextstyle_2.html:<code>TERM=xterm-256color</code>.
/usr/local/share/doc/libtextstyle/libtextstyle_2.html:<code>TERM=xterm-256color</code>
or <code>TERM=putty-256color</code>.
/usr/local/share/doc/libtextstyle/libtextstyle_2.html:<code>TERM=xterm-256color</code>.
/usr/local/share/doc/libtextstyle/libtextstyle_2.html:<code>TERM=xterm</code>
or <code>TERM=xterm-256color</code>,
/usr/local/share/info/gettext.info: ‘xterm-88color’, or ‘xterm-256color’.
/usr/local/share/info/gettext.info: ‘xterm-256color’ (256 colors),
respectively.
/usr/local/share/gettext/styles/po-emacs-xterm256.css:/* Styling rules
for PO files, imitating emacs 22 in an xterm-256color terminal.
- Terminal type term-256color is not defined,
Jeffrey Walton <=