Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - editor support for QNX 6.4: Page 1 of 2 (27 Items)
   
editor support for QNX 6.4  
Hi.
Not sure if this is this place to ask this question.
I’m trying out QNX 6.4, self hosted, photon.
I need to get a syntax highlight editor(s) for c.
What are my options? Where can I get them from?
TIA
Augie
RE: editor support for QNX 6.4  
> -----Original Message-----
> From: Augie Henriques [mailto:community-noreply@qnx.com]
> Sent: May-05-09 3:12 PM
> To: general-community
> Subject: editor support for QNX 6.4
> 
> Hi.
> Not sure if this is this place to ask this question.
> I’m trying out QNX 6.4, self hosted, photon.
> I need to get a syntax highlight editor(s) for c.
> What are my options? Where can I get them from?

There is vim/gvim I believe or workspace or like QNX wants you to do, switch to Linux or Windows and use Eclipse.  I 
mean you paid for Momentic, right.  Oh no sorry you paid for it but you can't use it on self hosted, my bad...


> TIA
> Augie
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post28731
Re: RE: editor support for QNX 6.4  
does gvim run on QNX 6.4? Where do I get it?
RE: RE: editor support for QNX 6.4  

> -----Original Message-----
> From: Augie Henriques [mailto:community-noreply@qnx.com]
> Sent: May-05-09 4:01 PM
> To: general-community
> Subject: Re: RE: editor support for QNX 6.4
> 
> does gvim run on QNX 6.4? Where do I get it?
> 

Hum on 6.4 don't know.  I installed it on 6.3.2 via the third party CD, don't know how you would install it in QNX6.4.0.
  Maybe it's in the pkgsrc?

Just try taking the gvim I have on 6.3.2 ( version 6.1) and copy the binary on 6.4.0 and it works!  But if memory serves
 me right it has problem with color?

> _______________________________________________
> General
> http://community.qnx.com/sf/go/post28740
> 
Re: RE: RE: editor support for QNX 6.4  
would I be able to get the gvim to try? do you have .vimrc file to go with this? TIA
Re: RE: RE: editor support for QNX 6.4  
On Thu, May 07, 2009 at 01:12:13PM -0400, Augie Henriques wrote:
> would I be able to get the gvim to try? do you have .vimrc file to go with this? TIA

I got gvim going on the HEAD_641 branch in a new vim-photon
package.  Here's the diff that you can try backporting to
the HEAD_640 branch if you're feeling adventurous.

-seanb
Attachment: Text diff 7.2 KB
Re: RE: editor support for QNX 6.4  
It should run without issue on 6.4, if you have gtk installed. I don't have
a neutrino install up at the moment so I can't answer with absolute
certainty. GVim is just a GUI for Vim, which you can obtain from
www.vim.org (I used version 7.1); to compile gvim, you'll have to look at
the options under ./configure --help (there are a plethora of UI options,
one of them is for a GTK user interface, which is GVim)

-Aaron

On Tue, 5 May 2009 16:00:43 -0400 (EDT), Augie Henriques
<community-noreply@qnx.com> wrote:
> does gvim run on QNX 6.4? Where do I get it?
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post28740
Re: RE: editor support for QNX 6.4  
Is GTK installed on QNX 6.4? How do I check? How do I install it?
Re: RE: editor support for QNX 6.4  
On Thu, May 07, 2009 at 09:21:17AM -0400, Augie Henriques wrote:
> Is GTK installed on QNX 6.4? How do I check? How do I install it?

It's not there unless you installed it.  If I were
to install it I'd use pkgsrc:

http://community.qnx.com/sf/projects/pkgsrc

Installing binary packages is described here:

http://community.qnx.com/sf/wiki/do/viewPage/projects.pkgsrc/wiki/BinaryPackages

The gtk+ binary package is here:

ftp://ftp.netbsd.org/pub/pkgsrc/packages/QNX/i386/6.4.0_head_20081005/All/gtk+-1.2.10nb9.tgz

To check if it's installed I'd use the 'pkg_info' utility.

Regards,

-seanb
Re: RE: editor support for QNX 6.4  
I modified step 1 to modify the PATH and CS_LIBPATH.
Not sure how to go from here? How do I install this?
Re: RE: editor support for QNX 6.4  
On Thu, May 07, 2009 at 10:47:05AM -0400, Augie Henriques wrote:
> I modified step 1 to modify the PATH and CS_LIBPATH.
> Not sure how to go from here? How do I install this?

If you're talking about pkgsrc I wouldn't modify the
steps; just follow them as outlined here:

http://community.qnx.com/sf/wiki/do/viewPage/projects.pkgsrc/wiki/BinaryPackages

If you have a specific question, fire away...

-seanb
Re: RE: editor support for QNX 6.4  
I was able to download the bootstrap.tar.gz.
I untar under (/). What is the next step? Do I need to install something? I'm I ready to install the GTK?
Re: RE: editor support for QNX 6.4  
On Thu, May 07, 2009 at 11:23:01AM -0400, Augie Henriques wrote:
> I was able to download the bootstrap.tar.gz.
> I untar under (/). What is the next step? Do I need to install something? I'm I ready to install the GTK?

As mentioned in the aforementioned link:

# export PATH=$PATH:/usr/pkg/bin:/usr/pkg/sbin
# setconf CS_LIBPATH $(getconf CS_LIBPATH):/usr/pkg/lib
# mkdir /var/tmp
# export PKG_PATH=ftp://ftp.netbsd.org/pub/pkgsrc/packages/QNX/i386/6.4.0_head_20081005/All
# pkg_add -v gtk+
Re: RE: editor support for QNX 6.4  
ok. Thanks. That was complicated. A labor of love. :-)
Where do I find gvim to install? do I need to reboot after this?
Re: RE: editor support for QNX 6.4  
On Thu, May 07, 2009 at 11:50:44AM -0400, Augie Henriques wrote:
> ok. Thanks. That was complicated. A labor of love. :-)
> Where do I find gvim to install? do I need to reboot after this?

gvim I dunno.  Plain vim works.  But enjoy your gtk+ :)

-seanb
RE: RE: editor support for QNX 6.4  
Try starting vim with -g ( not sure of the option), if it was build with graphical support in it should work.

> -----Original Message-----
> From: Sean Boudreau [mailto:community-noreply@qnx.com]
> Sent: May-07-09 11:53 AM
> To: general-community
> Subject: Re: RE: editor support for QNX 6.4
> 
> On Thu, May 07, 2009 at 11:50:44AM -0400, Augie Henriques wrote:
> > ok. Thanks. That was complicated. A labor of love. :-)
> > Where do I find gvim to install? do I need to reboot after this?
> 
> gvim I dunno.  Plain vim works.  But enjoy your gtk+ :)
> 
> -seanb
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post28948
> 
Re: RE: editor support for QNX 6.4  
On Thu, May 07, 2009 at 11:53:36AM -0400, Mario Charest wrote:
> Try starting vim with -g ( not sure of the option), if it was build with graphical support in it should work.

Looks like this is supposed to be in the vim-gtk package but the
FEAT_GUI_PHOTON support has rotted.

-seanb
Re: RE: editor support for QNX 6.4  
I got the vim72 sources. While compiling I get an error looking for os_qnx.h file. How did you get pas this error? TIA
Re: editor support for QNX 6.4  
You can't go wrong with vim (provided you have syntax highlighting enabled
in your vimrc),
or *shudders* emacs.
I know that vim will compile under neutrino, IIRC there was some
configuration hacking, but it shouldn't be difficult.
I do believe there are also editors under the pkgsrc project that will suit
your needs as well.

Hope this helps, feel free to write back if you need more information.
Cheers,
-Aaron

On Tue, 5 May 2009 15:12:16 -0400 (EDT), Augie Henriques
<community-noreply@qnx.com> wrote:
> Hi.
> Not sure if this is this place to ask this question.
> I’m trying out QNX 6.4, self hosted, photon.
> I need to get a syntax highlight editor(s) for c.
> What are my options? Where can I get them from?
> TIA
> Augie
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post28731
RE: editor support for QNX 6.4  

> -----Original Message-----
> From: Aaron Cripps [mailto:community-noreply@qnx.com]
> Sent: May-05-09 3:46 PM
> To: general-community
> Subject: Re: editor support for QNX 6.4
> 
> You can't go wrong with vim (provided you have syntax highlighting
> enabled
> in your vimrc),
> or *shudders* emacs.

> I know that vim will compile under neutrino, IIRC there was some
> configuration hacking, but it shouldn't be difficult.
> I do believe there are also editors under the pkgsrc project that will
> suit
> your needs as well.
> 

Come on Aaron; vim, what??? A non GUI editor, that's almost as bad and old-fashion as self-hosted itself.  You can't 
seriously recommend one of the most efficient editor over a nice looking editor with graphical menus and stuff???

 
> Hope this helps, feel free to write back if you need more information.
> Cheers,
> -Aaron
> 
> On Tue, 5 May 2009 15:12:16 -0400 (EDT), Augie Henriques
> <community-noreply@qnx.com> wrote:
> > Hi.
> > Not sure if this is this place to ask this question.
> > I’m trying out QNX 6.4, self hosted, photon.
> > I need to get a syntax highlight editor(s) for c.
> > What are my options? Where can I get them from?
> > TIA
> > Augie
> >
> >
> > _______________________________________________
> > General
> > http://community.qnx.com/sf/go/post28731
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post28735
RE: editor support for QNX 6.4  
You know Mario, I'm not sure if you're trying to be sarcastic, or not.
Vim is nice, it's all i ever used when I was at QNX; There are the gui
versions though, like GVim, or Vim/Cream.

Cheers,
-Aaron
On Tue, 5 May 2009 15:49:22 -0400 (EDT), Mario Charest
<community-noreply@qnx.com> wrote:
>> -----Original Message-----
>> From: Aaron Cripps [mailto:community-noreply@qnx.com]
>> Sent: May-05-09 3:46 PM
>> To: general-community
>> Subject: Re: editor support for QNX 6.4
>> 
>> You can't go wrong with vim (provided you have syntax highlighting
>> enabled
>> in your vimrc),
>> or *shudders* emacs.
> 
>> I know that vim will compile under neutrino, IIRC there was some
>> configuration hacking, but it shouldn't be difficult.
>> I do believe there are also editors under the pkgsrc project that will
>> suit
>> your needs as well.
>> 
> 
> Come on Aaron; vim, what??? A non GUI editor, that's almost as bad and
> old-fashion as self-hosted itself.  You can't seriously recommend one of
> the most efficient editor over a nice looking editor with graphical menus
> and stuff???
> 
>  
>> Hope this helps, feel free to write back if you need more information.
>> Cheers,
>> -Aaron
>> 
>> On Tue, 5 May 2009 15:12:16 -0400 (EDT), Augie Henriques
>> <community-noreply@qnx.com> wrote:
>> > Hi.
>> > Not sure if this is this place to ask this question.
>> > I’m trying out QNX 6.4, self hosted, photon.
>> > I need to get a syntax highlight editor(s) for c.
>> > What are my options? Where can I get them from?
>> > TIA
>> > Augie
>> >
>> >
>> > _______________________________________________
>> > General
>> > http://community.qnx.com/sf/go/post28731
>> 
>> _______________________________________________
>> General
>> http://community.qnx.com/sf/go/post28735
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post28736
RE: editor support for QNX 6.4  

> -----Original Message-----
> From: Aaron Cripps [mailto:community-noreply@qnx.com]
> Sent: May-05-09 4:05 PM
> To: general-community
> Subject: RE: editor support for QNX 6.4
> 
> You know Mario, I'm not sure if you're trying to be sarcastic, or not.

I'll let you dwell on that ;)

> Vim is nice, it's all i ever used when I was at QNX; There are the gui
> versions though, like GVim, or Vim/Cream.
> 
> Cheers,
> -Aaron
> On Tue, 5 May 2009 15:49:22 -0400 (EDT), Mario Charest
> <community-noreply@qnx.com> wrote:
> >> -----Original Message-----
> >> From: Aaron Cripps [mailto:community-noreply@qnx.com]
> >> Sent: May-05-09 3:46 PM
> >> To: general-community
> >> Subject: Re: editor support for QNX 6.4
> >>
> >> You can't go wrong with vim (provided you have syntax highlighting
> >> enabled
> >> in your vimrc),
> >> or *shudders* emacs.
> >
> >> I know that vim will compile under neutrino, IIRC there was some
> >> configuration hacking, but it shouldn't be difficult.
> >> I do believe there are also editors under the pkgsrc project that
> will
> >> suit
> >> your needs as well.
> >>
> >
> > Come on Aaron; vim, what??? A non GUI editor, that's almost as bad
> and
> > old-fashion as self-hosted itself.  You can't seriously recommend one
> of
> > the most efficient editor over a nice looking editor with graphical
> menus
> > and stuff???
> >
> >
> >> Hope this helps, feel free to write back if you need more
> information.
> >> Cheers,
> >> -Aaron
> >>
> >> On Tue, 5 May 2009 15:12:16 -0400 (EDT), Augie Henriques
> >> <community-noreply@qnx.com> wrote:
> >> > Hi.
> >> > Not sure if this is this place to ask this question.
> >> > I’m trying out QNX 6.4, self hosted, photon.
> >> > I need to get a syntax highlight editor(s) for c.
> >> > What are my options? Where can I get them from?
> >> > TIA
> >> > Augie
> >> >
> >> >
> >> > _______________________________________________
> >> > General
> >> > http://community.qnx.com/sf/go/post28731
> >>
> >> _______________________________________________
> >> General
> >> http://community.qnx.com/sf/go/post28735
> >
> >
> > _______________________________________________
> > General
> > http://community.qnx.com/sf/go/post28736
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post28742
Re: editor support for QNX 6.4  
vim does't show color in c file. I have syntax = on in .vimrc file. what is missing?
Re: editor support for QNX 6.4  
On Thu, May 07, 2009 at 01:11:15PM -0400, Augie Henriques wrote:
> vim does't show color in c file. I have syntax = on in .vimrc file. what is missing?

Here's my .vimrc

-seanb
Attachment: Text .vimrc 2.71 KB
Re: editor support for QNX 6.4  
Thanks for the file.