Cscope has the following menu options:
Find this C symbol:
Find this global definition:
Find functions called by this function:
Find functions calling this function:
Find this text string:
Change this text string:
Find this egrep pattern:
Find this file:
Find files #including this file:
Find assignments to this symbol:
Among them, I find the most annoying being the Change this text string
option. Because whenever I stumble upon it by accident, I am stuck in the To:
dialog. I cannot break myself out of it. ^C
, ^D
and even ^Z
won't get me out of it. I have to type some garbage and let it start searching before I can use ^Z
to break out of it and kill cscope. And I will lose all my session's history.
In addition, when I actually want to use the feature, only when I am about to apply change, cscope will inform me that I didn't have editor defined so it will not do anything.
So my question is, is there a better way to escape out of the dialog. Or is there a way to disable the option altogether so I don't ended up using it by mistake?