Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!unmvax!deimos.cis.ksu.edu!uxc!uxc.cso.uiuc.edu!m.cs.uiuc.edu!gillies From: gillies@m.cs.uiuc.edu Newsgroups: comp.sys.mac.programmer Subject: Re: Think C Includes (was "APDA on a di Message-ID: <42200010@m.cs.uiuc.edu> Date: 25 May 89 02:28:00 GMT References: <2022@internal.Apple.COM> Lines: 23 Nf-ID: #R:internal.Apple.COM:2022:m.cs.uiuc.edu:42200010:000:981 Nf-From: m.cs.uiuc.edu!gillies May 24 21:28:00 1989 Here is a suggestion for LSC access to header files. This is the method used in the XDE/MESA development environment: The editor/compiler has a source-file search path. The path is part of the LSC configuration information, set via "Preferences" or something. It would normally have a list of directories, such as "PRO80:LSC:Mac.h PRO80:LSC:Unix.h ...". Imagine editing a source file (start.c) and you want to refer to "stdio.h". You first select the text "stdio.h" and then invoke the menu command "QuickOpen" or something. The system takes the selection "stdio.h", and looks for the file along the search path. If it finds the file, then it opens it in a new window. This is a really speedy way to follow links (not just "include" links) between source files; I unconditionally recommend it. Don Gillies, Dept. of Computer Science, University of Illinois 1304 W. Springfield, Urbana, Ill 61801 ARPA: gillies@cs.uiuc.edu UUCP: {uunet,harvard}!uiucdcs!gillies