Currently, I am running Ubuntu Server 16.04 on a 64 bit MacBook Pro. I chose Ubuntu Server because it has no GUI (this was before I learned a number of distros can be run w/o the GUI). Vim, GNU Screen, and Dropbox make up 99% of the computer's usage. However, I am experiencing a number of frustrations with Vim and colors.
After checking to make sure my machine has the /lib/share/.../x/xterm-256color
file, I have tried adding export TERM=xterm-256color
to the end of my ~/.bashrc
. As well as installing ncurses-term
and creating a xsession and xtermdefault.
Everything else I am finding that would allow me to set xterm-256color as the default involves a GUI or GNOME; neither of which is on my machine.
At this point, I do not believe I have the know-how to make this default on Ubuntu Server; hence my question: Are there any Linux distros, that when run without the GUI, have the default $TERM of xterm-256color?
EDIT: I basically would like my console/tty to open already set at TERM=xterm256. I understand that this is possible if I am running a GUI, which I am figuring is because I would not be running tty, I would be using terminal or terminator. So, I guess what I really want to know is it possible, with a GUI, to run terminal instead of tty OR if it is possible to make my tty default to TERM=xterm256 instead of TERM=linux.
UPDATE: I now have the vocabulary for what I was looking for: I wanted to know if there was a distro that came with a framebuffer terminal as default. In the time since posting this, I have learned that, no, there is not, but there are tools such as yaft and fbterm that does excatly what I was hoping for.
TERM
is not something that you can choose as you like out of many options, it has to be consistent with the terminal you're using. For Linux console that'slinux
, notxterm-256color
. – Satō Katsura Jan 31 '17 at 19:03xterm
is, well, "X Terminal". – Satō Katsura Jan 31 '17 at 21:23