I have in my .bashrc
export TERM=xterm-256color
but this cause blinking all colored text (ls --color, in vim etc.) in real console (CTRL + ALT + F1) .
So is there any possibility to recognize in which console I am (real or virtual) so I can export TERM variable with valid value?
[EDIT]
I found alternative solution only:
for vim user (in .vimrc)
set t_Co=256
or for xterm in .Xdefaults (after that xrdb -load .Xdefaults)
XTerm*termName: xterm-256color
or for screen (.screenrc)
term screen-256color
