editor for Neutrino/Photon 2.0

Hi.

What are some of the editor choices for programmers using Neutrino?
Something that can be started from a terminal window or Photon.

Syntax highlighting possible?

TIA

Augie

Augie <augiehenriques@hotmail.com> wrote:
A > Hi.

A > What are some of the editor choices for programmers using Neutrino?
A > Something that can be started from a terminal window or Photon.

A > Syntax highlighting possible?

A > TIA

A > Augie

There are many editors out there for QNX6. So far, I’m not impressed
with any of them. I did like vedit for QNX4, but alas, it will never
exist for QNX6.

Among the most popular choices are vi,vim, jed and workspace. All are
available on the 3rd party products disk (free download).

There is alsp ped which is easy enough to use and comes with QNX6.
It just doesn’t have many decent programmers features.

Of the above list I will usually use workspace. It has a lot of
potential. It does get slow at times for no apparent reason and it
will decide to crash for no reason.

I had a single QNX4 node set up on my network. I would publish my
source directories with Samba, telnet into the QNX4 box and run vedit
to do any serious editing. That was easy to do, but Samba kept screwing
up my date/time stamps so that makes weren’t working properly. So I
finally gave up on that idea.

One of my pet peeves is that the character does not display
properly in Photon. So the colums never line properly when dispalying
source files. QSSL has been threatening to fix that since v 6.01 but
they some how keep forgetting.

If anyone comes up with a decent editor for QNX6 I would gladly PAY
any reasonable amount for it.

This is my second time doing an eval for Neutrino and Photon 2.0.

The lack of a decent editor is a major drawback. We used vedit plus which
was decent enough.

I hate vi, vim and I won’t use them.

TIA

Augie

“Bill Caroselli” <qtps@earthlink.net> wrote in message
news:bvrila$cf2$1@inn.qnx.com

Augie <> augiehenriques@hotmail.com> > wrote:
A > Hi.

A > What are some of the editor choices for programmers using Neutrino?
A > Something that can be started from a terminal window or Photon.

A > Syntax highlighting possible?

A > TIA

A > Augie

There are many editors out there for QNX6. So far, I’m not impressed
with any of them. I did like vedit for QNX4, but alas, it will never
exist for QNX6.

Among the most popular choices are vi,vim, jed and workspace. All are
available on the 3rd party products disk (free download).

There is alsp ped which is easy enough to use and comes with QNX6.
It just doesn’t have many decent programmers features.

Of the above list I will usually use workspace. It has a lot of
potential. It does get slow at times for no apparent reason and it
will decide to crash for no reason.

I had a single QNX4 node set up on my network. I would publish my
source directories with Samba, telnet into the QNX4 box and run vedit
to do any serious editing. That was easy to do, but Samba kept screwing
up my date/time stamps so that makes weren’t working properly. So I
finally gave up on that idea.

One of my pet peeves is that the character does not display
properly in Photon. So the colums never line properly when dispalying
source files. QSSL has been threatening to fix that since v 6.01 but
they some how keep forgetting.

If anyone comes up with a decent editor for QNX6 I would gladly PAY
any reasonable amount for it.

On Wed, 4 Feb 2004 15:28:10 -0500, Augie wrote:

I hate vi, vim and I won’t use them.

TIA

Augie

I know this is likely to start a religious war, but I am curious as to why
you hate vim?

I was a Vedit zealot for a number of years but I must say I am now a
convert to vim. I have vim set up with a number of key definitions to
remind me of vedit (F2,F3,F5,F6,F7,F8,Ctl-L etc) but otherwise it is so
much more powerful that even if I had the option of using Vedit on QNX6 I
would now choose to stick with vim (I can’t believe I just typed that, but
it’s true).

Plus you can get vim on any platform you’d care to name.

Not to mention the needy children in Uganda.

Rob Rutherford

Augie wrote:

Hi.

What are some of the editor choices for programmers using Neutrino?
Something that can be started from a terminal window or Photon.

Syntax highlighting possible?

Editors are always a religious issue, but I have been using emacs (in
QNX) since the 6.0 release. I get everything I want (syntax
highlighting, auto formating, integration with everything including the
kitchen sink :slight_smile:.

I always thought emacs and vim were the big choices - lots of platform
support, lots of features. In the end, basically anything which has
open source is either available, or easy enough to port.

Rick…

Rick Duff Internet: rick@astranetwork.com
Astra Network URL: http://www.astranetwork.com
QNX Consulting and Custom Programming Phone: +1 (204) 997-NETW (6389)

Robert Rutherford <ruzz@nospamplease.ruzz.com> wrote:
RR > I know this is likely to start a religious war, but I am curious as to why
RR > you hate vim?

RR > I was a Vedit zealot for a number of years but I must say I am now a
RR > convert to vim. I have vim set up with a number of key definitions to
RR > remind me of vedit (F2,F3,F5,F6,F7,F8,Ctl-L etc) but otherwise it is so
RR > much more powerful that even if I had the option of using Vedit on QNX6 I
RR > would now choose to stick with vim (I can’t believe I just typed that, but
RR > it’s true).

RR > Plus you can get vim on any platform you’d care to name.

RR > Not to mention the needy children in Uganda.

I told you not to mention them. Oh, never mind.

Rob, how is the learning curve for vim?
Are there any decent tutorials out there?

RR > Rob Rutherford

Bill Caroselli <qtps@earthlink.net> wrote:

I told you not to mention them. Oh, never mind.

Rob, how is the learning curve for vim?
Are there any decent tutorials out there?

/usr/share/vim/vim61/tutor

-seanb

Definitly vim is number one.
I compiled vim6.2 for QNX4.5 with few mods - works like a charm.

Are there any decent tutorials out there?

http://www.newriders.com/books/opl/ebooks/0735710015.html
http://www.vim.org
And of couse, when in vim simply try :help

cheers,
Igor

On a personal side I don’t have time to learn a complicated editor every
time I need to try a new platform/gui/os. And try to remember the key
combinations for different editors… and deal with the change every time
you switch from on system to the other…

If you have seen Windows development and other systems like it, you will
know the easy of use and features provided by the editors.

vi and vim are just so archaic they ought to put them in a museum… :slight_smile:

also consider…

Our system is tailored for scientists which are extremely smart about the
science they do, but not very technical when it comes to computers. In
order to modify and configure our system, the user need to use the editor to
modify the project ASCII text configuration tables. Try to explain to them
that they need to learn vi, vim, emacs, etc…

Augie


“Robert Rutherford” <ruzz@NoSpamPlease.ruzz.com> wrote in message
news:19l0sns0uq2ot.1a7zzjiixub9a.dlg@40tude.net

On Wed, 4 Feb 2004 15:28:10 -0500, Augie wrote:

I hate vi, vim and I won’t use them.

TIA

Augie


I know this is likely to start a religious war, but I am curious as to why
you hate vim?

I was a Vedit zealot for a number of years but I must say I am now a
convert to vim. I have vim set up with a number of key definitions to
remind me of vedit (F2,F3,F5,F6,F7,F8,Ctl-L etc) but otherwise it is so
much more powerful that even if I had the option of using Vedit on QNX6 I
would now choose to stick with vim (I can’t believe I just typed that, but
it’s true).

Plus you can get vim on any platform you’d care to name.

Not to mention the needy children in Uganda.

Rob Rutherford

“Augie” <augiehenriques@hotmail.com> wrote in message
news:bvtmhk$6os$1@inn.qnx.com

On a personal side I don’t have time to learn a complicated editor every
time I need to try a new platform/gui/os. And try to remember the key
combinations for different editors… and deal with the change every time
you switch from on system to the other…

All the more reason to learn vi/vim - it’s pretty much available everywhere.

If you have seen Windows development and other systems like it, you will
know the easy of use and features provided by the editors.

This is a question of preference, I see vi/vim as much more powerful than
most of those editors.

vi and vim are just so archaic they ought to put them in a museum… > :slight_smile:

And so should debates about editors - it’s pretty simple… right tool for
the right job. Everyone favours their own set of tools, and there is no
point in knocking someone elses choice.

Our system is tailored for scientists which are extremely smart about the
science they do, but not very technical when it comes to computers. In
order to modify and configure our system, the user need to use the editor
to
modify the project ASCII text configuration tables. Try to explain to
them
that they need to learn vi, vim, emacs, etc…

Well, then you don’t need an editor which caters to developers - Heck, I
think any basic editor would fit that bill (you could even make one and be
done with it).


Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>

Our system is tailored for scientists which are extremely smart about the
science they do, but not very technical when it comes to computers. In
order to modify and configure our system, the user need to use the editor to
modify the project ASCII text configuration tables. Try to explain to them
that they need to learn vi, vim, emacs, etc…

You could also try using Eclipse as the editor. It is a very simple
graphical system to use and includes syntax highting, etc.

chris

\

Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Chris McKillop wrote:

You could also try using Eclipse as the editor. It is a very simple
graphical system to use and includes syntax highting, etc.

Is there any hope of being able to upgrade the CDT editor with, say,
Slickedit in Momentics ? It would be very nice if this was an officially
supported aftermarket upgrade…

Rennie

If “simple” and “easy” are your preferences, then try the “Easy Editor” ee.
It doesn’t have very many features, but it is console based, and very simple
to use.

The source is available from http://www.users.qwest.net/~hmahon/ Just click
on the “EE” link to download the file. It compiles on QNX6 with no trouble
(there is a complaint about “min” being redifined, it is safe to ignore
this). ee requires that the terminal be put into raw mode, so here is a
simple script to do that for you:

eedit.sh:

#!/bin/sh
stty +raw
ee $1
stty +edit


David


Augie <augiehenriques@hotmail.com> wrote in message
news:bvrhkr$bnt$1@inn.qnx.com

Hi.

What are some of the editor choices for programmers using Neutrino?
Something that can be started from a terminal window or Photon.

Syntax highlighting possible?

TIA

Augie

Igor Levko <spama@huxpeha.het> wrote:
IL > Definitly vim is number one.
IL > I compiled vim6.2 for QNX4.5 with few mods - works like a charm.

Are there any decent tutorials out there?

IL > http://www.newriders.com/books/opl/ebooks/0735710015.html
IL > http://www.vim.org
IL > And of couse, when in vim simply try :help


I’ve been playing with vim for most of today. It isn’t too painful to
learn.

One of te first commands I had to learn was :set ts=4 to set my
displayed tab width to 4 characters instead of the default 8.

How can I save this as my default preference?

Set it in your .vimrc file in your home dir. Other commands of interest
might be ‘syntax on’ and ‘tags=’


Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>

“Bill Caroselli” <qtps@earthlink.net> wrote in message
news:bvude1$o57$1@inn.qnx.com

Igor Levko <> spama@huxpeha.het> > wrote:
IL > Definitly vim is number one.
IL > I compiled vim6.2 for QNX4.5 with few mods - works like a charm.

Are there any decent tutorials out there?

IL > > http://www.newriders.com/books/opl/ebooks/0735710015.html
IL > > http://www.vim.org
IL > And of couse, when in vim simply try :help


I’ve been playing with vim for most of today. It isn’t too painful to
learn.

One of te first commands I had to learn was :set ts=4 to set my
displayed tab width to 4 characters instead of the default 8.

How can I save this as my default preference?

On Thu, 5 Feb 2004 17:29:55 -0500, Adam Mallory wrote:

Set it in your .vimrc file in your home dir. Other commands of interest
might be ‘syntax on’ and ‘tags=’

Also look at the :mkv command (and its variants). It lets you take your
current settings and create a .vimrc from that.

Also (as an aside) if you want the vim :make command to work, you need the
following settings:

set errorformat=%f:%l:%c:%t:%m
set shellpipe=2>&1|ccfilter\ -e|tee

This also requires you to have the ‘ccfilter’ program in your PATH, I can
send this to you if you don’t have it.

Between this and ctags, vim is pretty much a complete IDE as far as I’m
concerned :slight_smile:

Did you try gvim?

Rob Rutherford

Robert Rutherford <ruzz@nospamplease.ruzz.com> wrote:

On Thu, 5 Feb 2004 17:29:55 -0500, Adam Mallory wrote:

Set it in your .vimrc file in your home dir. Other commands of interest
might be ‘syntax on’ and ‘tags=’

Also look at the :mkv command (and its variants). It lets you take your
current settings and create a .vimrc from that.

Also (as an aside) if you want the vim :make command to work, you need the
following settings:

set errorformat=%f:%l:%c:%t:%m
set shellpipe=2>&1|ccfilter\ -e|tee

This also requires you to have the ‘ccfilter’ program in your PATH, I can
send this to you if you don’t have it.

Between this and ctags, vim is pretty much a complete IDE as far as I’m
concerned > :slight_smile:

Someone recently added support for debugging with gdb from inside vim,
but I’m not sure if it would work in QNX as there a few vim features I
haven’t added support for yet. The vim developer is also working
on a system for packaging and developing software, plus an IDE that
works with vim. That’s all talked about at http://www.a-a-p.org

Did you try gvim?

For people who want a modeless editor, evim might be the answer. It is
just gvim with ‘insertmode’ always on.

There are example .vimrcs in /usr/share/vim/vim62 (gvimrc_example.vim and
vimrc_example.vim). There is an extensive user manual (:help
user-manual or use the Help menu), and you can view and set all the
options by using the :options window (or Edit->Settings Window menu).

Julian Kinraid

Rennie Allen <rgallen@attbi.com> wrote:

Chris McKillop wrote:

You could also try using Eclipse as the editor. It is a very simple
graphical system to use and includes syntax highting, etc.

Is there any hope of being able to upgrade the CDT editor with, say,
Slickedit in Momentics ? It would be very nice if this was an officially
supported aftermarket upgrade…

You can do it under Windows (it uses a lot of JNI).

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

“Rennie Allen” <rgallen@attbi.com> wrote in message
news:bvv1gd$a6m$1@inn.qnx.com

Chris McKillop wrote:

You could also try using Eclipse as the editor. It is a very simple
graphical system to use and includes syntax highting, etc.

Is there any hope of being able to upgrade the CDT editor with, say,
Slickedit in Momentics ? It would be very nice if this was an officially
supported aftermarket upgrade…

There is Slickedit plugin for Eclipse (not free, but they have eval). I have
tried it and it was quite all right. Much better outline support and better
C autocompletion (than CDT C editor) - for example it can work with your own
functions rather than just libc.

– igor

Adam Mallory <amallory@qnx.com> wrote:
AM > Set it in your .vimrc file in your home dir. Other commands of interest
AM > might be ‘syntax on’ and ‘tags=’

AM > –
AM > Cheers,
AM > Adam

Thank you. Works great.

Let me ask one more. How can I start gvim in full screen mode?
The usual -Sm doesn’t do the trick.