Author Topic: Vim And Qkonsole  (Read 4486 times)

terryleung83

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Vim And Qkonsole
« 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

terryleung83

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Vim And Qkonsole
« Reply #1 on: January 17, 2006, 12:26:09 pm »
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

tml

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Vim And Qkonsole
« Reply #2 on: January 18, 2006, 03:39:45 am »
Maybe TERM is set to a non-color terminal?
SL-C3100

terryleung83

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Vim And Qkonsole
« Reply #3 on: January 18, 2006, 03:41:34 am »
Quote
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

tml

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Vim And Qkonsole
« Reply #4 on: January 18, 2006, 04:49:59 am »
Quote
export TERM=xterm
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111406\"][{POST_SNAPBACK}][/a][/div]

TERM=linux works for me.
SL-C3100

terryleung83

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Vim And Qkonsole
« Reply #5 on: January 18, 2006, 06:35:25 am »
Quote
Quote
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

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Vim And Qkonsole
« Reply #6 on: January 20, 2006, 04:11:53 am »
@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

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Vim And Qkonsole
« Reply #7 on: January 20, 2006, 04:59:54 am »
Quote
@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
Quote
export TERM=linux

in .vimrc
Quote
set syntax=on
« Last Edit: January 20, 2006, 05:00:32 am by terryleung83 »

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Vim And Qkonsole
« Reply #8 on: January 20, 2006, 05:58:21 am »
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

tml

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Vim And Qkonsole
« Reply #9 on: January 20, 2006, 06:25:17 am »
Quote
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:

Quote
       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
SL-C3100