Configuring Vi/bash for C/C++ Prog. on solaris
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Configuring Vi/bash for C/C++ Prog. on solaris




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Configuring Vi/bash for C/C++ Prog. on solaris  
raxitsheth2000@yahoo.co.in


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-16-06 06:27 PM

Sorry for this basic question, but i am stuckup with this for many
days.

I am using solaris 5.8,5.10 and having default vi/bash
i want to configure bash/vi for c/c++ prog.,

i have used linux-bash-vim, on bash tab is for auto completion and ^n
(in vi) for autocompletion and m having c-syntax colored, but Not on
Solaris OS.

can anyone suggest decent bash/vi configuration (colored syntax/auto
completion is must.)


thanks
raxit






[ Post a follow-up to this message ]



    Re: Configuring Vi/bash for C/C++ Prog. on solaris  
Logan Shaw


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-18-06 06:36 AM

raxitsheth2000@yahoo.co.in wrote:
> Sorry for this basic question, but i am stuckup with this for many
> days.
>
> I am using solaris 5.8,5.10 and having default vi/bash
> i want to configure bash/vi for c/c++ prog.,
>
> i have used linux-bash-vim, on bash tab is for auto completion and ^n
> (in vi) for autocompletion and m having c-syntax colored, but Not on
> Solaris OS.
>
> can anyone suggest decent bash/vi configuration (colored syntax/auto
> completion is must.)

No, it's not a must.  People develop C and C++ code without it all the
time.

Nevertheless, if you would like bash to have tab completion on Solaris,
all you must do is run bash.  It is configured that way by default.

If you would like vi to have syntax highlighting on Solaris, you are
out of luck.  vi has never supported syntax highlighting and probably
never will, not on Solaris and not on any other operating system either.
vim, however, does support it, and you can download vim from
http://www.vim.org/ if you'd like that feature[1].  Since you are
developing C and C++ code, it shouldn't be too hard to build vim
from source, although there are probably pre-built binary packages
available as well.

- Logan

[1]  Well, at least you can normally download vim from there.  Right
now the site seems to be down for some reason.





[ Post a follow-up to this message ]



    Re: Configuring Vi/bash for C/C++ Prog. on solaris  
jmcgill


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-18-06 06:29 PM

raxitsheth2000@yahoo.co.in wrote:

> can anyone suggest decent bash/vi configuration (colored syntax/auto
> completion is must.)

Well, you want to make sure bash is built with GNU readline support.
That is what actually drives bash's command history and commandline
editing features.

And as for vim, you want vim to be built with ncurses, and you want to
make sure your terminal is defined in the terminfo database.

I always build a bunch of my own stuff whenever upping a Sun host,
because I tend to disagree with some of the decisions made by the folks
who build the sunfreeware packages.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:00 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register