CS(1)

NAME
cs - interactively examine C source code

SYNOPSIS
cs [-bdul] [-f file] [file...]

DESCRIPTION
cs builds an index of the C (.c and .h) source files that are specified as arguments or located in specified directories and allows interactive browsing through this index to examine the C sources. If no arguments are specified, the current directory is searched for source files.

The input fields are used by:

Tab Go to next input field.

Cursor up,  Cursor down
    Go to next/previous input field.

Return
    Query index with the contents of the input field.

You can browse through the index with:

Cursor up,  Cursor down
    Move up or down.

+, Space, Next page
    Go to next page.

-, Backspace, Prev page
    Go to previous page.

Return
    Edit selected file.

Control d
    Exit from browser.

Control r
    Update database.

OPTIONS

-b  Build the index only.

-d  Do not update the index.

-u  Unconditionally build a new index.

-f file
    Store the index in the file instead of cs.out.

-l  Work line-oriented. This mode is useful if you want to use cs with another program as front-end instead of using the builtin user interface.

ENVIRONMENT

TERM
    The used terminal type.

CSCOPE_VIEWER
    A special editor/viewer used only for cscope. This is used by several people to start an editor session in a separate window in background.

VISUAL
    The preferred screen editor, used if CSCOPE_VIEWER is not set. Emacs users might be interested in using the supplied cemacs shell script.

EDITOR
    The preferred line editor. This will be used if VISUAL is not set.

FILES
cs.out    Default index file

AUTHOR
cs is copyright (c) by Michael Haardt, 1995–1998. You may use and modify this program or derived works without charge for personal use and at work under the condition that no copyright notices are removed or changed. Distributing cs under different conditions and any commercial use like charging for copying or selling it or derived works, alone or as part of a bigger product, needs a written license from me. The source code is at ftp://cantor.informatik.rwth-aachen.de/pub/unix/cs.tar.gz.

I can be reached by:
Snail mail:
Michael Haardt
Fuhrweg 33
53229 Bonn
Germany
Email:
michael@cantor.informatik.rwth-aachen.de
Disclaimer: I am in no way responsible for anything caused by using this program, so if your computer or house blows up, that's your problem. :)

SEE ALSO
cc(1), ctags(1)