[comp.sys.hp] ctags in HP-UX 6.5

seg@smsdpg.uu.net (Scott Garfinkle) (06/09/89)

The "ctags" that came with HP-UX 6.5 on our 300 series machines doesn't
seem to produce a tags file from C programs that's usable by HP-UX "vi".

The purpose of this note is mainly to let people in the same situation know
that "ctags.Z" from comp.sources.unix volume 3 works just fine.  The only
"porting" involved is that you need to add a line to the effect of
	#define index strchr
near the top.

seg@smsdpg.uu.net (Scott Garfinkle) (06/10/89)

From article <4640016@hpirs.HP.COM>, by wk@hpirs.HP.COM (Wayne Krone):
>> The "ctags" that came with HP-UX 6.5 on our 300 series machines doesn't
>> seem to produce a tags file from C programs that's usable by HP-UX "vi".
> 
> I just tried this with a couple of C programs and didn't find any problems.
> Can you provide a sample C program that we can use to duplicate the
> problem you're experiencing?  Thanks,
> 
> Wayne Krone

I can't stand it.  I can't reproduce the result any more, either!  I have
been working on several projects, though, and will continue to try.  When
I succeed, I'll continue the conversation by email.  In the meantime, my
apologies to the engineers at HP.
	with great chagrin, Scott E. G.

wk@hpirs.HP.COM (Wayne Krone) (06/13/89)

> The "ctags" that came with HP-UX 6.5 on our 300 series machines doesn't
> seem to produce a tags file from C programs that's usable by HP-UX "vi".

I just tried this with a couple of C programs and didn't find any problems.
Can you provide a sample C program that we can use to duplicate the
problem you're experiencing?  Thanks,

Wayne Krone

rer@hpfcdc.HP.COM (Rob Robason) (07/23/89)

> The only
> "porting" involved is that you need to add a line to the effect of
> 	#define index strchr
> near the top.

Or link in libBSD.a (-lBSD on the compile line).  It has index().

Rob Robason