Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am running cscope in Terminal on Macos by using cscope -d. But the arrow keys ( / ) do not work, as i need to navigate from 1 query to another.

Can you please tell me how can I fix that?

Thank you.

share|improve this question

migrated from stackoverflow.com Jun 13 '11 at 8:20

This question came from our site for professional and enthusiast programmers.

    
They work fine for me... –  Jason Coco Apr 3 '09 at 17:07
    
I can only get ^P and ^J to work, as described in one of the answers below. It would be nice if they arrow keys just worked. –  Mike Jun 13 '11 at 7:06

3 Answers 3

Terminal.app gets a little weird about keys; are you using the arrow keys on the numeric keypad? If so, those will always map to digits whether or not you've got the NumLock turned on.

If not, try shift-arrow.

share|improve this answer
    
i am using the actual arrow keys. Using shift-arrow does not work either. I need to navigate up/down by using Ctrl-N, Ctrl-P now. I am hoping arrow keys work. –  yinglcs Apr 7 '09 at 17:57

I see the same issue. term is xterm, arrow work for bash, its just cscope? ^J and enter work for down, but no up. I can hit down several times and it loops to the top, but it would be nice to be able to map my arrow keys to something?

share|improve this answer

Try using Ctrl+p for up key and Ctrl+j for down keys.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.