| Date Of Receipt: 30-AUG-1995 10:51:43.18
From: SMURF::QUARRY::"[email protected]" "30-Aug-1995 1047"
To: [email protected]
CC: [email protected], [email protected]
Subj: Re: How to setup for cscope?
Well, the mechanism is all in place, but was still in Beta Test mode as it
hadn't been officially announced yet. Feel free to join the ranks of testers.
We'll probably announce it generally later next week.
In a workon to a sandbox backed by any active nightly tree, there is a new
tool to access the databases called bcscope. Invoked without any arguments it
will return the following usage message:
Usage: bcscope [-kernel | -libs | -cmds] [ -sb ]
There are three separate cscope databases, one each for kernel files,
libraries and commands. You may access them separately.
By default bcscope references the backingtree for your sandbox, passing the
-sb flag will still use the same database, but select files from your sandbox
to view. This requires a populated sandbox.
Within the tool, online help is available by typing ?
----------------
When invoked with an argument, cscope looks like this:
Cscope version 13.3 Press the ? key for help
Find this C symbol:
Find this definition:
Find functions called by this function:
Find functions calling this function:
Find assignments to:
Change this grep pattern:
Find this egrep pattern:
Find this file:
Find files #including this file:
__________________________
and the internal commands are:
Press the TAB key repeatedly to move to the desired input field, type the
pattern to search for, and then press the RETURN key. For the first 4 and
last 2 input fields, the pattern can be a regcmp(3X) regular expression.
If the search is successful, you can use these command characters:
1-9 Edit the file containing the displayed line.
space Display next lines.
+ Display next lines.
- Display previous lines.
^E Edit all lines.
> Write all lines to a file.
>> Append all lines to a file.
< Read lines from a file.
^ Filter all lines through a shell command.
| Pipe all lines to a shell command.
At any time you can use these command characters:
^P Move to the previous input field.
^A Search again with the last pattern typed.
^B Recall previous input field and search pattern.
^F Recall next input field and search pattern.
^C Toggle ignore/use letter case when searching.
^R Rebuild the symbol database.
! Start an interactive shell (type ^D to return to cscope).
^L Redraw the screen.
? Display this list of commands.
^D Exit cscope.
Let me know if you find any problems.
-Grant
| Hi.
|
| Can somebody tell me how to run cscope using the nightly build and cscope
| indexes? Is there a web page or something I could look at?
|
| Thanks,
|
| Tim
-Grant
|