I have downloaded cscope 15.6 on MacOSX.
But when i try launching it in MacOS Terminal or Tterm, the UP/DOWN
key does not work. I can’t move it from 1 query to another in the
cscope interface.
Only CTRL-P CTRL-N works.
Can you please tell me how can I fix my problem?
Thank you.
Very odd…I have cscope 15.6 installed in /usr/bin on MacOS X 10.5.7 – which means it must have come with Xcode (new machine; I don’t put programs into /usr/bin except under extreme provocation).
Is there a reason not to use the Xcode version – since it works?
Well, there are a variety of possibilities. The first step is to check whether you have /usr/bin/cscope. Assuming yes, the next step is to look at your PATH variable, and to ensure that /usr/bin appears before /opt/local/bin. Alternatively, you can simply remove the execute permissions on /opt/local/bin/cscope, or you can rename it, or remove it. (Note that removing execute permissions from programs can sometimes confuse configuration scripts – I had a
/usr/gnu/bin/rm(or some similar utility) that was non-executable on my PATH ahead of/usr/bin/rmand that caused some issues until I removed it. The shells and things weren’t confused; configure scripts were.There, I’m afraid, you’re ahead of me on the learning curve…I’ve not yet done enough with Xcode to know the answers to those questions. I have it installed; I’ve not done much, if anything, with it. I’ve still got some other configuration stuff to deal with first (tedious stuff like work-mandated email client).
I’ve downloaded both 15.6 and 15.7a, and when I try to build them on Leopard (10.5.8), the configure script appears to work but the build generates the error:
This bug is also reported to the cscope project at SourceForge by someone else, with the o/s claimed as Snow Leopard (so it is actually a problem in at least two versions – later versions of Leopard and Snow Leopard).