OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: terryleung83 on January 17, 2006, 10:49:16 am
-
i want to ask anyone here can get vim display color(syntax highlight) with qkonsole?
qkonsole dont even display any color(except black and write)
i download the vim full from cacko feed and the vim setting there as well
-
add a little bit more detail
i try vim in qpe terminal and it has least has some different color
i suspect that it's the problem of the terminal rather than vim
but i am not very sure if there is anyway to make qkonsole work
-
Maybe TERM is set to a non-color terminal?
-
Maybe TERM is set to a non-color terminal?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111404\"][{POST_SNAPBACK}][/a][/div]
i have tried to set this
export TERM=xterm
but it doesnt work
-
export TERM=xterm
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111406\"][{POST_SNAPBACK}][/a][/div]
TERM=linux works for me.
-
export TERM=xterm
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111406\"][{POST_SNAPBACK}][/a][/div]
TERM=linux works for me.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111414\"][{POST_SNAPBACK}][/a][/div]
thx
finally , i can make it syntax on by adding "syntax=on" in the .vimrc
-
@terryleung83
I´ve the same problem. I have a SL-C3100 Zaurus using vim via qkonsole and no syntax higlighting possible.
Do you really add "syntax=on" in the .vimrc or "syntax on". The version "syntax on" is actuall set at my .vimrc but it doesn`t work.
Maybe i try "export TERM=linux" this hopefuly it work.
Thanks,
climber
-
@terryleung83
I´ve the same problem. I have a SL-C3100 Zaurus using vim via qkonsole and no syntax higlighting possible.
Do you really add "syntax=on" in the .vimrc or "syntax on". The version "syntax on" is actuall set at my .vimrc but it doesn`t work.
Maybe i try "export TERM=linux" this hopefuly it work.
Thanks,
climber
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111653\"][{POST_SNAPBACK}][/a][/div]
in .profile
export TERM=linux
in .vimrc
set syntax=on
-
Where do i find .profile to enter "export TERM=linux"? Please could you send me the link or mail me to get the same .vimrc as you have. Only to exclude my .vimrc as bad one.
eMail: WehrleT@gmx.de
Thanks,
climber
-
Where do i find .profile
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111664\"][{POST_SNAPBACK}][/a][/div]
It's a file in your home directory (/home/zaurus) that is read when using bash as a login shell. From the bash man page:
When bash is invoked as an interactive login shell, or as a non-inter-
active shell with the --login option, it first reads and executes com-
mands from the file /etc/profile, if that file exists. After reading
that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
in that order, and reads and executes commands from the first one that
exists and is readable. The --noprofile option may be used when the
shell is started to inhibit this behavior.
If it's not there yet, simply create it.
HTH