From owner-freebsd-hackers Tue Mar 12 09:52:19 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA01395 for hackers-outgoing; Tue, 12 Mar 1996 09:52:19 -0800 (PST) Received: from nixpbe.pdb.sni.de (mail.sni.de [192.109.2.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id JAA01375 for ; Tue, 12 Mar 1996 09:52:16 -0800 (PST) Received: (from nerv@localhost) by nixpbe.pdb.sni.de (8.6.12/8.6.12) id SAA02458 for hackers@freebsd.org; Tue, 12 Mar 1996 18:23:50 +0100 Message-Id: <199603121723.SAA02458@nixpbe.pdb.sni.de> Subject: Re: SCO bin.compat. - slight problem. To: rashid@rk.ios.com (Rashid Karimov) Date: Tue, 12 Mar 96 18:20:15 MET From: Greg Lehey Cc: hackers@freebsd.org (Hackers; FreeBSD) In-Reply-To: <199603121524.KAA14539@rk.ios.com>; from "Rashid Karimov" at Mar 12, 96 10:24 am X-Mailer: xmail 2.4 (based on ELM 2.2 PL16) Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I have this problem with running my favorite > binary from SCO , which is cscope , under FreeBSD. > The thing is source code browser,which I have been > using for a few years already. I find it _very useful > when 1 want's to take a dive into source code,especially > big chunk of it written by some1 else. Well, I've seen your followup message, but I thought you might be interested in an alternative. I'm working here at SNI, and of course they use cscope, but I have so far found it to be of only limited use: for one thing, it's too slow. You might like to compare Emacs etags. You create a tags file, rather like cscope.out, typically by entering $ cd /usr/src/sys $ find . -name "*.[csh]" | xargs etags -a Within emacs, you use the find-tag command, (typically bound to M-.) to search a tag. By default, it will look for a name where the cursor is, so if you just place your cursor on a function name and press M-. Emacs will open the file with the first occurrence of the name and position the cursor on the definition. About the only problem I have is that it doesn't handle data definitions. If somebody knows how to do that too, I'll be grateful. Greg