Looking for an IDE or C editor

SN is designed to work with the insight debugger (also GPL’d by Red Hat,
but which I haven’t attempted to port yet); fortunately, since SN is
written in tcl (and tcl is interpreted) the source for the module that
launches the debugger is in /opt/share/sourcenav/gui/gdbtk.tcl (it is a
small module). This file can be modified to launch any debugger, and
will be a spill file, once modified. If you do this, just remember to
tell pkg-installer to keep that spill file if you ever upgrade SN
(unless of course you intend to use insight at that time :slight_smile:

-----Original Message-----
From: Marty Doane [mailto:marty.doane@rapistan.com]
Posted At: Monday, October 15, 2001 5:54 AM
Posted To: newuser
Conversation: Looking for an IDE or C editor
Subject: Re: Looking for an IDE or C editor


I’ve downloaded SN from Rennie’s repository, and it looks great.
However, I
haven’t yet figured out how to launch ddd from SN. If I put “ddd” on the
Xterm line, ddd comes up, but complains “GDB could not be started.” It
looks
like SN is invoking ddd with a gazillion command-line options, ddd
passes
some of them to gdb, and gdb can’t handle them.

Does anyone know how to set it up?

Thanks,
Marty

“Rennie Allen” <RAllen@csical.com> wrote in message
news:64F00D816A85D51198390050046F80C90103A2@exchangecal.hq.csical.com

There is a repository at
http:://developers.cogentrts.com/rallen/repository (thanks to Cogent
Real-time Systems for hosting the repository) that contains a binary
distribution of Source Navigator 5.0. It is a ported version of Red
Hat
Source Navigator 5.0 (thanks to Red Hat for releasing Source Navigator
under the GPL), which is a full-featured IDE. The repository has not
received much testing (due to some technical constraints at my end),
but
it should work. If you have problems email me at > rallen@csical.com> ,
and
I’ll see what I can do. Being that Source Navigator is implemented
largely in TCL (you don’t require TCL to be installed, it is part of
the
SN package) it requires Xphoton.

You can download the source to Source Navigator from
http://sources.redhat.com/sourcenav> .

HI…

Got it! Like Rennie said, it is a repository, not a web page. I was
trying to download a .qpr from a browser. But you must use the
installer. Thanks.

Regards…

Miguel.


“Bill Caroselli (Q-TPS)” wrote:

“Marty Doane” <> marty.doane@rapistan.com> > wrote in message
news:9qf2kb$m2v$> 1@inn.qnx.com> …
I accessed it from the QNX 6 package installer. I "Add"ed a repository
with
the location > http://developers.cogentrts.com/rallen/repository

Ditto.

I did not use a browser.

my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.

Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com

I tried a few things too and couldn’t get it to work. Are the help fies
local or do I have to be on the net to use help?

BTW, Is this a bug or a feature?
In the snavigator script there is a line that looks something like (from
memory)
if [ -f …/something ];then
etcdir=cd ../something; pwd
else
etcdir=cd ../../something; pwd
endif

The problem is that I have overloaded my ‘cd’ to display a line like:
Changing from directory to <yadda/yadda>

This screwed up the etcdir definition. So I changed these two lines to:
if [ -f …/something ];then
etcdir=builtin cd ../something; pwd
else
etcdir=builtin cd ../../something; pwd
endif

But no luck. So I tried:
if [ -f …/something ];then
cd …/something
else
cd …/…/something
endif
etcdir=pwd

But these lines didn’t work either.

Does anyone know what would be the correct way to deal with these tweo
lines?

“Marty Doane” <marty.doane@rapistan.com> wrote in message
news:9qf2un$mav$1@inn.qnx.com

That’s controlled in “File” “Project Preferences” “Others” “HTML viewer”.
Unfortunately, I don’t know what you should set it to. If you find out,
let
us know. Rennie?

Marty

“Bill Caroselli (Q-TPS)” <> qtps@earthlink.net> > wrote in message
news:9qeov3$gou$> 1@inn.qnx.com> …
Looks good. But If I try to display any help for it I get a messsage on
the
text console that launched Photon that says it couldn’t load NetScape.
How
can I view help files?

“Rennie Allen” <> RAllen@csical.com> > wrote in message
news:> 64F00D816A85D51198390050046F80C90103A2@exchangecal.hq.csical.com> …
There is a repository at
http:://developers.cogentrts.com/rallen/repository (thanks to Cogent
Real-time Systems for hosting the repository) that contains a binary
distribution of Source Navigator 5.0. It is a ported version of Red
Hat
Source Navigator 5.0 (thanks to Red Hat for releasing Source Navigator
under the GPL), which is a full-featured IDE. The repository has not
received much testing (due to some technical constraints at my end),
but
it should work. If you have problems email me at > rallen@csical.com> ,
and
I’ll see what I can do. Being that Source Navigator is implemented
largely in TCL (you don’t require TCL to be installed, it is part of
the
SN package) it requires Xphoton.

You can download the source to Source Navigator from
http://sources.redhat.com/sourcenav> .

-----Original Message-----
From: Philippe BAUCOUR [mailto:> philippe.baucour@ni.com> ]
Posted At: Thursday, October 11, 2001 12:59 AM
Posted To: newuser
Conversation: Looking for an IDE or C editor
Subject: Looking for an IDE or C editor


To be honest, I’m new to Qnx, it works find, I’m impressed by the
quality of
the technical documentation, help files and so on. However, for more
than 2
weeks now I try to find out a C Editor or a working IDE and I did’nt
find
anything… Here are some results and comments about my experiences

Ped : only for editing, not really a C editor even if some cool stuff
have
been added
Jed : not really easy to use for a guy coming from Linux KDE or Win
2000.
There is no project management and obviously it seem you need time
before to
become efficient. It seems there is an ide mode but you need to
configure a
.jedrc file and I did’nt try it.
XJed : X lib are not installed on my system.
Nedit : see above
Vedit Plus : I’m not ready to pay the prize
Rhide : may be the best one (still in beta). Old fashion looking
(remember
Turbo C under DOS ?) but it manage Makefile and projects, had windows
etc…
The problem is that I can’t use the mouse with Rhide on my system (I
already
sent feedback about it) and it hangs quite often (for examle, trying a
scanf
function on my configuration, the keyboard can’t be used and I need to
kill
Rhide)

For everyone
Now, I woud like to know what kind of editor/IDE people are using on
an
every day basis. For example does most of you use a basic text editor
and
manage your project throught Makefile or are you all working with a
tool
I
did’nt mentioned ? May be I’m wrong (remember I’m discovering QNX)
looking
for an efficient IDE please tell me what should I do.

For Qnx people mainly
Finally I would like to point out that in my opinion, one of the big
strengh
of KDE was to come with ready to use devt tools. This obviously also
apply
to Microsoft (see recent effort about .net). Anyway, yes, I know there
is
PhAB (the killing Qnx application) but you know more than me that,
even
if
it works fine, it is not an IDE.So I’m surprise to see how it is hard,
for a
newbee like me, to find a C Editor or IDE and I would suggest to
include
one
on the next version of distribution CD.

All your advises will be more than welcome. Regards, Philippe



\

Oops, SN thinks the manuals are in /usr/html, but they’re actually in
/opt/html.

“Rennie Allen” <RAllen@csical.com> wrote in message
news:64F00D816A85D51198390050046F80C9010C5D@exchangecal.hq.csical.com

In order to be able to launch voyager from SN (rather than the default
netscape) simply open “File->Project Preferences”, and select the other
tab. In the field labeled “HTML viewer” type “voyager -u %s”.

-----Original Message-----
From: Marty Doane [mailto:> marty.doane@rapistan.com> ]
Posted At: Monday, October 15, 2001 9:48 AM
Posted To: newuser
Conversation: Looking for an IDE or C editor
Subject: Re: Looking for an IDE or C editor


The documentation is in /opt/html, and also on the redhat site listed
below.

Marty

“Marty Doane” <> marty.doane@rapistan.com> > wrote in message
news:9qf2un$mav$> 1@inn.qnx.com> …
That’s controlled in “File” “Project Preferences” “Others” “HTML
viewer”.
Unfortunately, I don’t know what you should set it to. If you find
out,
let
us know. Rennie?

Marty

“Bill Caroselli (Q-TPS)” <> qtps@earthlink.net> > wrote in message
news:9qeov3$gou$> 1@inn.qnx.com> …
Looks good. But If I try to display any help for it I get a
messsage on
the
text console that launched Photon that says it couldn’t load
NetScape.
How
can I view help files?

“Rennie Allen” <> RAllen@csical.com> > wrote in message

news:> 64F00D816A85D51198390050046F80C90103A2@exchangecal.hq.csical.com> …
There is a repository at
http:://developers.cogentrts.com/rallen/repository (thanks to
Cogent
Real-time Systems for hosting the repository) that contains a
binary
distribution of Source Navigator 5.0. It is a ported version of
Red
Hat
Source Navigator 5.0 (thanks to Red Hat for releasing Source
Navigator
under the GPL), which is a full-featured IDE. The repository has
not
received much testing (due to some technical constraints at my
end),
but
it should work. If you have problems email me at
rallen@csical.com> ,
and
I’ll see what I can do. Being that Source Navigator is
implemented
largely in TCL (you don’t require TCL to be installed, it is part
of
the
SN package) it requires Xphoton.

You can download the source to Source Navigator from
http://sources.redhat.com/sourcenav> .

-----Original Message-----
From: Philippe BAUCOUR [mailto:> philippe.baucour@ni.com> ]
Posted At: Thursday, October 11, 2001 12:59 AM
Posted To: newuser
Conversation: Looking for an IDE or C editor
Subject: Looking for an IDE or C editor


To be honest, I’m new to Qnx, it works find, I’m impressed by the
quality of
the technical documentation, help files and so on. However, for
more
than 2
weeks now I try to find out a C Editor or a working IDE and I
did’nt
find
anything… Here are some results and comments about my
experiences

Ped : only for editing, not really a C editor even if some cool
stuff
have
been added
Jed : not really easy to use for a guy coming from Linux KDE or
Win
2000.
There is no project management and obviously it seem you need time
before to
become efficient. It seems there is an ide mode but you need to
configure a
.jedrc file and I did’nt try it.
XJed : X lib are not installed on my system.
Nedit : see above
Vedit Plus : I’m not ready to pay the prize
Rhide : may be the best one (still in beta). Old fashion looking
(remember
Turbo C under DOS ?) but it manage Makefile and projects, had
windows
etc…
The problem is that I can’t use the mouse with Rhide on my system
(I
already
sent feedback about it) and it hangs quite often (for examle,
trying a
scanf
function on my configuration, the keyboard can’t be used and I
need to
kill
Rhide)

For everyone
Now, I woud like to know what kind of editor/IDE people are using
on
an
every day basis. For example does most of you use a basic text
editor
and
manage your project throught Makefile or are you all working with
a
tool
I
did’nt mentioned ? May be I’m wrong (remember I’m discovering QNX)
looking
for an efficient IDE please tell me what should I do.

For Qnx people mainly
Finally I would like to point out that in my opinion, one of the
big
strengh
of KDE was to come with ready to use devt tools. This obviously
also
apply
to Microsoft (see recent effort about .net). Anyway, yes, I know
there
is
PhAB (the killing Qnx application) but you know more than me that,
even
if
it works fine, it is not an IDE.So I’m surprise to see how it is
hard,
for a
newbee like me, to find a C Editor or IDE and I would suggest to
include
one
on the next version of distribution CD.

All your advises will be more than welcome. Regards, Philippe





\

Hi Rennie

Unfortunately I have given up on Source Navigator. I really wish I could
have used it. My problems are that:

  1. I really need to see help files
  2. It crashed too often. The most recent time I found this on a text
    console:

X Error of failed request: BadAlloc (Insufficient resources for operation)
Major opcode of failed rfequest 53 (X CreatePixMap)
Serial number of failed request: 14382
Current serial numer in output stream: 14410


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net

Ahhh, yes, I have docs hanging around in /usr/local/html from a prior
(1.5 years ago) install. It seems that there might be a problem with
the configure script for SN (since I built it to install in /opt).
Well, that’s why there’s version numbers for packages I guess :wink:

-----Original Message-----
From: Marty Doane [mailto:marty.doane@rapistan.com]
Posted At: Tuesday, October 16, 2001 5:00 AM
Posted To: newuser
Conversation: Looking for an IDE or C editor
Subject: Re: Looking for an IDE or C editor


Oops, SN thinks the manuals are in /usr/html, but they’re actually in
/opt/html.

“Rennie Allen” <RAllen@csical.com> wrote in message
news:64F00D816A85D51198390050046F80C9010C5D@exchangecal.hq.csical.com

In order to be able to launch voyager from SN (rather than the default
netscape) simply open “File->Project Preferences”, and select the
other
tab. In the field labeled “HTML viewer” type “voyager -u %s”.

-----Original Message-----
From: Marty Doane [mailto:> marty.doane@rapistan.com> ]
Posted At: Monday, October 15, 2001 9:48 AM
Posted To: newuser
Conversation: Looking for an IDE or C editor
Subject: Re: Looking for an IDE or C editor


The documentation is in /opt/html, and also on the redhat site listed
below.

Marty

“Marty Doane” <> marty.doane@rapistan.com> > wrote in message
news:9qf2un$mav$> 1@inn.qnx.com> …
That’s controlled in “File” “Project Preferences” “Others” “HTML
viewer”.
Unfortunately, I don’t know what you should set it to. If you find
out,
let
us know. Rennie?

Marty

“Bill Caroselli (Q-TPS)” <> qtps@earthlink.net> > wrote in message
news:9qeov3$gou$> 1@inn.qnx.com> …
Looks good. But If I try to display any help for it I get a
messsage on
the
text console that launched Photon that says it couldn’t load
NetScape.
How
can I view help files?

“Rennie Allen” <> RAllen@csical.com> > wrote in message


news:> 64F00D816A85D51198390050046F80C90103A2@exchangecal.hq.csical.com> …
There is a repository at
http:://developers.cogentrts.com/rallen/repository (thanks to
Cogent
Real-time Systems for hosting the repository) that contains a
binary
distribution of Source Navigator 5.0. It is a ported version of
Red
Hat
Source Navigator 5.0 (thanks to Red Hat for releasing Source
Navigator
under the GPL), which is a full-featured IDE. The repository
has
not
received much testing (due to some technical constraints at my
end),
but
it should work. If you have problems email me at
rallen@csical.com> ,
and
I’ll see what I can do. Being that Source Navigator is
implemented
largely in TCL (you don’t require TCL to be installed, it is
part
of
the
SN package) it requires Xphoton.

You can download the source to Source Navigator from
http://sources.redhat.com/sourcenav> .

-----Original Message-----
From: Philippe BAUCOUR [mailto:> philippe.baucour@ni.com> ]
Posted At: Thursday, October 11, 2001 12:59 AM
Posted To: newuser
Conversation: Looking for an IDE or C editor
Subject: Looking for an IDE or C editor


To be honest, I’m new to Qnx, it works find, I’m impressed by
the
quality of
the technical documentation, help files and so on. However, for
more
than 2
weeks now I try to find out a C Editor or a working IDE and I
did’nt
find
anything… Here are some results and comments about my
experiences

Ped : only for editing, not really a C editor even if some cool
stuff
have
been added
Jed : not really easy to use for a guy coming from Linux KDE or
Win
2000.
There is no project management and obviously it seem you need
time
before to
become efficient. It seems there is an ide mode but you need to
configure a
.jedrc file and I did’nt try it.
XJed : X lib are not installed on my system.
Nedit : see above
Vedit Plus : I’m not ready to pay the prize
Rhide : may be the best one (still in beta). Old fashion looking
(remember
Turbo C under DOS ?) but it manage Makefile and projects, had
windows
etc…
The problem is that I can’t use the mouse with Rhide on my
system
(I
already
sent feedback about it) and it hangs quite often (for examle,
trying a
scanf
function on my configuration, the keyboard can’t be used and I
need to
kill
Rhide)

For everyone
Now, I woud like to know what kind of editor/IDE people are
using
on
an
every day basis. For example does most of you use a basic text
editor
and
manage your project throught Makefile or are you all working
with
a
tool
I
did’nt mentioned ? May be I’m wrong (remember I’m discovering
QNX)
looking
for an efficient IDE please tell me what should I do.

For Qnx people mainly
Finally I would like to point out that in my opinion, one of the
big
strengh
of KDE was to come with ready to use devt tools. This obviously
also
apply
to Microsoft (see recent effort about .net). Anyway, yes, I know
there
is
PhAB (the killing Qnx application) but you know more than me
that,
even
if
it works fine, it is not an IDE.So I’m surprise to see how it is
hard,
for a
newbee like me, to find a C Editor or IDE and I would suggest to
include
one
on the next version of distribution CD.

All your advises will be more than welcome. Regards, Philippe





\

In order to see the help files, you need only do one of the following

a) link /opt/html /usr/local/html. I will have a new repository shortly
with a fix for this.
b) cd /opt/html and type “voyager -u file://$PWD/index.html”.

I use it a great deal, and I experience a crash maybe once per week
under heavy use. There are a lot of interface annoyances, but these
appear to be related to Xphoton, since I also see the same things
happening in other Xphoton apps. The most annoying of these, is that
when using the “Alt-1” key-chord to switch from console X back to
console 1, a number 1 will be deposited in the editor where the cursor
is positioned. I have learned to use other methods to switch consoles.
The same thing happens with nedit. I suspect that SN will be much more
usable with the arrival of the new Xphoton.

btw: The message below simply means you ran out of memory (i.e. it
wouldn’t have crashed if swapping was happening). I wouldn’t recommend
using Source Navigator with anything less than 100MB of RAM free before
you load it (this probably means 256MB RAM if you are doing anything
else significant on the machine), and a minimum 800Mhz PIII or better.
I had it “crash” (run out of memory) a lot when I ran it on a machine
with less than 100MB free.

-----Original Message-----
From: Bill Caroselli (Q-TPS) [mailto:qtps@earthlink.net]
Posted At: Tuesday, October 16, 2001 9:56 AM
Posted To: newuser
Conversation: Looking for an IDE or C editor
Subject: Re: Looking for an IDE or C editor


Hi Rennie

Unfortunately I have given up on Source Navigator. I really wish I
could
have used it. My problems are that:

  1. I really need to see help files
  2. It crashed too often. The most recent time I found this on a text
    console:

X Error of failed request: BadAlloc (Insufficient resources for
operation)
Major opcode of failed rfequest 53 (X CreatePixMap)
Serial number of failed request: 14382
Current serial numer in output stream: 14410


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net

Oh Well. My system has a mere 64 MB with just over 50 MB available.

I know that X in general is a memory pig. Is this (memory requirement)
expected to improve with the newer XPhoton?


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net


“Rennie Allen” <RAllen@csical.com> wrote in message
news:64F00D816A85D51198390050046F80C9010FF2@exchangecal.hq.csical.com

In order to see the help files, you need only do one of the following

a) link /opt/html /usr/local/html. I will have a new repository shortly
with a fix for this.
b) cd /opt/html and type “voyager -u file://$PWD/index.html”.

I use it a great deal, and I experience a crash maybe once per week
under heavy use. There are a lot of interface annoyances, but these
appear to be related to Xphoton, since I also see the same things
happening in other Xphoton apps. The most annoying of these, is that
when using the “Alt-1” key-chord to switch from console X back to
console 1, a number 1 will be deposited in the editor where the cursor
is positioned. I have learned to use other methods to switch consoles.
The same thing happens with nedit. I suspect that SN will be much more
usable with the arrival of the new Xphoton.

btw: The message below simply means you ran out of memory (i.e. it
wouldn’t have crashed if swapping was happening). I wouldn’t recommend
using Source Navigator with anything less than 100MB of RAM free before
you load it (this probably means 256MB RAM if you are doing anything
else significant on the machine), and a minimum 800Mhz PIII or better.
I had it “crash” (run out of memory) a lot when I ran it on a machine
with less than 100MB free.

-----Original Message-----
From: Bill Caroselli (Q-TPS) [mailto:> qtps@earthlink.net> ]
Posted At: Tuesday, October 16, 2001 9:56 AM
Posted To: newuser
Conversation: Looking for an IDE or C editor
Subject: Re: Looking for an IDE or C editor


Hi Rennie

Unfortunately I have given up on Source Navigator. I really wish I
could
have used it. My problems are that:

  1. I really need to see help files
  2. It crashed too often. The most recent time I found this on a text
    console:

X Error of failed request: BadAlloc (Insufficient resources for
operation)
Major opcode of failed rfequest 53 (X CreatePixMap)
Serial number of failed request: 14382
Current serial numer in output stream: 14410


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net

“Bill Caroselli (Q-TPS)” wrote:

Oh Well. My system has a mere 64 MB with just over 50 MB available.

I know that X in general is a memory pig. Is this (memory requirement)
expected to improve with the newer XPhoton?

SN is based on TCL/TK and interpreter-type languages have nasty tendency
to abuse memory, especially realloc() which makes them fat and slow like
pigs with any large application.

I don’t think new Xphoton would help. Perhaps enabling swapping in
TCL/TK/SN might.

  • igor

Swapping obviously wouldn’t help with speed, it would simply enable one
to run with less memory. I do think that there are problems with
Xphoton, although these are mostly functional rather than memory
consumption related.

Since SN is a development tool, and since a 1+Ghz processor with 256MB
of ram is less than $1000 these days, I think simply throwing hardware
at it is a reasonable approach in this case, especially since it is the
only truly full featured IDE available for QNX 6.1 at this time.

-----Original Message-----
From: Igor Kovalenko [mailto:Igor.Kovalenko@motorola.com]
Posted At: Monday, October 22, 2001 2:56 PM
Posted To: newuser
Conversation: Looking for an IDE or C editor
Subject: Re: Looking for an IDE or C editor


“Bill Caroselli (Q-TPS)” wrote:

Oh Well. My system has a mere 64 MB with just over 50 MB available.

I know that X in general is a memory pig. Is this (memory
requirement)
expected to improve with the newer XPhoton?

SN is based on TCL/TK and interpreter-type languages have nasty tendency
to abuse memory, especially realloc() which makes them fat and slow like
pigs with any large application.

I don’t think new Xphoton would help. Perhaps enabling swapping in
TCL/TK/SN might.

  • igor