What cscope reference card do you use? [closed]

2020-06-18 09:05发布

What is the standard/best reference card for cscope shortcuts/usage that I can print for quick reference?

标签: c cscope
2条回答
SAY GOODBYE
2楼-- · 2020-06-18 09:41

I use this (for default vim bindings; at the top is first access key - Ctrl+'\', and capital letter is second key):

         ^\ 
Symbol
Global
Calls to
Text
Egrep
File
Includes
calleD by

This quick reference card is sticked to my monitor here (*) for more than 2 years:

________________
|              |_
|              |*|
|              |-
|              |
|              |
----------------
      |  |
     /____\

Extremely cheap and useful.

查看更多
Ridiculous、
3楼-- · 2020-06-18 09:50

The easiest way I can think of doing this, and its cheap, is to get the hardcopy man page for cscope and create a text file...for instance:

$ man cscope | col -b > cscope.txt 

Or, to convert to ps file for feeding into Ghostscript:

$ man -t cscope > cscope.ps
$ gs cscope.ps -sOutputFile=cscope.pdf
查看更多
登录 后发表回答