Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: ctags generator?

4 views
Skip to first unread message
Message has been deleted

Heiko Nitzsche

unread,
Dec 13, 2006, 6:45:46 PM12/13/06
to
> On Linux I frequently use a ctags generator that greatly eases my
> programming with VIM. Somehow I cannot find one for OS/2. Any ideas
> where I should be looking?

Exuberant Ctags:

http://ctags.sourceforge.net/index.html
http://sourceforge.net/projects/ctags

I have found a binary for OS/2 (latest version) here:
http://sourceforge.net/mailarchive/forum.php?thread_id=19873616&forum_id=6668
(http://mb9x.ginps.com/files/ctags_os2emx_5-6.zip)

I'm not sure if this contains the regex support that is required
for some tagging options. At least the regex requirement is mentioned
in the OS/2 makefile. The sources have OS/2 makefiles for gcc and
autoconf but miss the mentioned regex lib. This note is from 2001,
so it may be that new gcc supports this out of the box.

I did not try the above binary but some years ago I had an old
version that worked fine. Too bad, I cannot find it anymore.

Heiko Nitzsche

unread,
Dec 13, 2006, 7:00:52 PM12/13/06
to
There is a regex lib port on Hobbes in case you want to compile ctags:
http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&button=Search&key=regex-0_12&stype=all&sort=type&dir=%2F

Michael Greene

unread,
Dec 13, 2006, 7:56:25 PM12/13/06
to
Peter Weilbacher wrote:
> On Linux I frequently use a ctags generator that greatly eases my
> programming with VIM. Somehow I cannot find one for OS/2. Any ideas
> where I should be looking?

Peter,

You can try this one:

http://www.mgreene.org/os2/files/ctags.zip

I did this awhile back to try with fte and if I remember correctly it
worked. It has regex compiled in and I recompiled with OW1.6 to verify
it still builds. It is from the CTAGS-5.5.4 source I downloaded from
gnu.org and is still listed as Version 5.5.4 (stable) released on
2004-03-29 (http://directory.fsf.org/ExuberantCtags.html).

Michael

Message has been deleted

Michael Greene

unread,
Dec 14, 2006, 6:08:17 PM12/14/06
to
Peter Weilbacher wrote:

> On Thu, 14 Dec 2006 00:56:25 UTC, Michael Greene wrote:
>
>> http://www.mgreene.org/os2/files/ctags.zip
>>
>> I did this awhile back to try with fte and if I remember correctly it
>> worked. It has regex compiled in and I recompiled with OW1.6 to verify
>> it still builds. It is from the CTAGS-5.5.4 source I downloaded from
>> gnu.org and is still listed as Version 5.5.4 (stable) released on
>> 2004-03-29 (http://directory.fsf.org/ExuberantCtags.html).
>
> Thanks, Michael. Exactly what I was looking for. Seems to work fine so
> far. :-)
> (Heiko, thank you, too, but I didn't really want to compile it myself.)
>
> Cheers,
> Peter.

Great. I guess I should upload it to hobbes, just been lazy. :)

Michael

Michael Greene

unread,
Dec 16, 2006, 3:57:12 PM12/16/06
to
Peter Weilbacher wrote:
> On Thu, 14 Dec 2006 00:56:25 UTC, Michael Greene wrote:
>
>> http://www.mgreene.org/os2/files/ctags.zip
>>
>> I did this awhile back to try with fte and if I remember correctly it
>> worked. It has regex compiled in and I recompiled with OW1.6 to verify
>> it still builds. It is from the CTAGS-5.5.4 source I downloaded from
>> gnu.org and is still listed as Version 5.5.4 (stable) released on
>> 2004-03-29 (http://directory.fsf.org/ExuberantCtags.html).
>
> Thanks, Michael. Exactly what I was looking for. Seems to work fine so
> far. :-)
> (Heiko, thank you, too, but I didn't really want to compile it myself.)
>
> Cheers,
> Peter.

Well, try this one - ctags-5_6_ow.zip, I just uploaded to hobbes. It is
the 5.6 version from this year which Heiko posted about.

Michael

Message has been deleted

Richard Steiner

unread,
Dec 19, 2006, 11:25:37 PM12/19/06
to
Here in comp.os.os2.programmer.tools,
"Peter Weilbacher" <news...@weilbacher.org> spake unto us, saying:

>On Sat, 16 Dec 2006 20:57:12 UTC, Michael Greene wrote:
>
>> Well, try this one - ctags-5_6_ow.zip, I just uploaded to hobbes. It is
>> the 5.6 version from this year which Heiko posted about.
>

>Works just as well, thanks. :-)

Hey, thanks for all the updated ctags variants, guys. :-)

--
-Rich Steiner >>>---> http://www.visi.com/~rsteiner >>>---> Mableton, GA USA
Mainframe/Unix bit twiddler by day, OS/2+Linux+DOS hobbyist by night.
WARNING: I've seen FIELDATA FORTRAN V and I know how to use it!
The Theorem Theorem: If If, Then Then.

Michael Greene

unread,
Dec 21, 2006, 3:21:55 PM12/21/06
to
As I was digging for my ctags patches the other day I came across part
of the source when I tried to compile grep. So, I dusted it off and gave
it another try. Here is the executable only:

http://www.mgreene.org/os2/files/grep.zip

It is grep-2.5.1a compiled with Open Watcom 1.6, sorry NLS is but
enabled. The final was 210K so I used LxLite on it which has the size
down to 128K. Here are my changes:

1. pulled the wildcard expansion from indent so wildcard stuff looks
like it works from cmd.exe and 4os2.exe.

2. it is static linked so no other dlls are need which added to the size.

3. link with PCRE 6.7 so the -P option (Perl Regular Expressions) should
work and this really added to the size.


Any grep freaks want to try this so I know it works?

Michael

Heiko Nitzsche

unread,
Dec 21, 2006, 4:49:14 PM12/21/06
to
> It is grep-2.5.1a compiled with Open Watcom 1.6, sorry NLS is but
> enabled. The final was 210K so I used LxLite on it which has the size
> down to 128K. Here are my changes:

> Any grep freaks want to try this so I know it works?

Excellent!

The basic things I tried so far work fine. It also resolves some
issues I had with existing versions when piping stdout through
the more filter.

Many thanks.

Michael Greene

unread,
Dec 21, 2006, 5:58:27 PM12/21/06
to

Ok... yes I had this problem where the output from more would be
scrolled all over the screen? It is a define in config.h:
HAVE_DOS_FILE_CONTENTS. I thought, hey OS/2 is like DOS so I need
this... nope. I am surprised how far Open Watcom has come in the last
couple years - real easy to get gnu stuff up and running.

Oh, and thanks for the updated GBM packages Heiko.

Michael

Andreas Schnellbacher

unread,
Dec 22, 2006, 2:57:59 PM12/22/06
to
On 21.12.06 23:58, Michael Greene wrote:

> Heiko Nitzsche wrote:
>
>>> It is grep-2.5.1a compiled with Open Watcom 1.6,

Yeah, I remember your initial posting. Good that you're getting back
to that again: Having >= v2.5 on Hobbes is very impotant, since
they've added recursive searching with it. (And I'm waiting to point
on a Hobbes link for an application I do "contribute" to.)

>>> Any grep freaks want to try this so I know it works?

Sorry, I haven't run any complicated terms, but didn't find issues.

>> Excellent!
>>
>> The basic things I tried so far work fine. It also resolves some
>> issues I had with existing versions when piping stdout through the
>> more filter.

Yes, that's the first issue with all the other ports arise and what
I've tested: Apparently the line end char is set to CRLF, so that the
buggy MORE.COM can handle it.

>> Many thanks.

From here as well.

> Ok... yes I had this problem where the output from more would be
> scrolled all over the screen? It is a define in config.h:
> HAVE_DOS_FILE_CONTENTS. I thought, hey OS/2 is like DOS so I need
> this... nope.

...and I don't understand why other compilings got that wrong.

> I am surprised how far Open Watcom has come in the last couple years
> - real easy to get gnu stuff up and running.

Ok, another item, setting HAVE_DOS_FILE_CONTENTS apparently isn't an
OW benefit (as far as I do interpret that). But not needing any huge
GCC runtime DLL is (in that case) an advantage.

> Oh, and thanks for the updated GBM packages Heiko.

From here as well.

--
Andreas Schnellbacher

Michael Greene

unread,
Dec 22, 2006, 4:20:49 PM12/22/06
to
Andreas Schnellbacher wrote:
> On 21.12.06 23:58, Michael Greene wrote:
>
>> Heiko Nitzsche wrote:
>>
>>>> It is grep-2.5.1a compiled with Open Watcom 1.6,
>
> Yeah, I remember your initial posting. Good that you're getting back
> to that again: Having >= v2.5 on Hobbes is very impotant, since
> they've added recursive searching with it. (And I'm waiting to point
> on a Hobbes link for an application I do "contribute" to.)
>
>>>> Any grep freaks want to try this so I know it works?
>
> Sorry, I haven't run any complicated terms, but didn't find issues.

I started working through a couple of the included test and found the
the wildcard expansion needs to be *after* the option are processed. I
will be uploading a corrected version to hobbes tonight.

>>> Excellent!
>>>
>>> The basic things I tried so far work fine. It also resolves some
>>> issues I had with existing versions when piping stdout through the
>>> more filter.
>
> Yes, that's the first issue with all the other ports arise and what
> I've tested: Apparently the line end char is set to CRLF, so that the
> buggy MORE.COM can handle it.
>
>>> Many thanks.
>
> From here as well.

Thank you both for giving it a try.

>> Ok... yes I had this problem where the output from more would be
>> scrolled all over the screen? It is a define in config.h:
>> HAVE_DOS_FILE_CONTENTS. I thought, hey OS/2 is like DOS so I need
>> this... nope.
>
> ...and I don't understand why other compilings got that wrong.
>
>> I am surprised how far Open Watcom has come in the last couple years
>> - real easy to get gnu stuff up and running.
>
> Ok, another item, setting HAVE_DOS_FILE_CONTENTS apparently isn't an
> OW benefit (as far as I do interpret that). But not needing any huge
> GCC runtime DLL is (in that case) an advantage.

Agreed even though Knut's gcc as allowed a number of large projects to
be easily ported to ECS-OS2.


MikeG

irc.netlabs.org #netlabs

0 new messages