tomwalters@0
|
1 bin/ReadMe:
|
tomwalters@0
|
2
|
tomwalters@0
|
3
|
tomwalters@0
|
4 AN INTRODUCTION TO THE AUDITORY IMAGE MODEL
|
tomwalters@0
|
5
|
tomwalters@0
|
6 This is the introduction for those wanting to use AIM to process waves
|
tomwalters@0
|
7 once the software package has been compiled, installed and tested.
|
tomwalters@0
|
8 The instructions for compiling and installing AIM are in the text file
|
tomwalters@0
|
9 ReadMe.First in the top directory of the software package.
|
tomwalters@0
|
10
|
tomwalters@0
|
11
|
tomwalters@0
|
12 CONTENTS
|
tomwalters@0
|
13
|
tomwalters@0
|
14 I. Overview of Aim: A description based on Patterson, Allerhand and
|
tomwalters@0
|
15 Giguere (1995). It illustrates the instructions used to display waves
|
tomwalters@0
|
16 and produce the auditory representations shown in Figures 2 and 3 of
|
tomwalters@0
|
17 the paper.
|
tomwalters@0
|
18
|
tomwalters@0
|
19 II. aimdemo_* Scripts: A selection of demonstrations that illustrate
|
tomwalters@0
|
20 the range of auditory representations produced by AIM. A complete list
|
tomwalters@0
|
21 of demonstrations is contained in docs/aimDemonstrations.
|
tomwalters@0
|
22
|
tomwalters@0
|
23 III. Overview of Documentation: A brief description of the
|
tomwalters@0
|
24 documentation available and how to access it. This information is also
|
tomwalters@0
|
25 available in docs/aimDocumentation.
|
tomwalters@0
|
26
|
tomwalters@0
|
27 IV. Setting Up Paths for AIM and manaim: The modifications to pathnames
|
tomwalters@0
|
28 required to make the AIM instructions and on-line help facilites
|
tomwalters@0
|
29 available from all the user's directories. This information is also
|
tomwalters@0
|
30 available in docs/aimPaths.
|
tomwalters@0
|
31
|
tomwalters@0
|
32
|
tomwalters@0
|
33
|
tomwalters@0
|
34 ______________________________________________________________________
|
tomwalters@0
|
35
|
tomwalters@0
|
36 I. OVERVIEW OF AIM (THE AUDITORY IMAGE MODEL)
|
tomwalters@0
|
37
|
tomwalters@0
|
38 The Section presents a brief tour of the facilities in AIM based on a
|
tomwalters@0
|
39 Letter to the Editor announcing the release of AIM in the Journal of
|
tomwalters@0
|
40 the Acoustical Society of America (1995). It introduces the three
|
tomwalters@0
|
41 auditory representations that AIM was originally developed to simulate
|
tomwalters@0
|
42 -- basilar membrane motion (BMM), neural activty patterns (NAPs), and
|
tomwalters@0
|
43 stabilised auditory images (SAIs). It also introduces the main
|
tomwalters@0
|
44 features of the software platform by example; they are the
|
tomwalters@0
|
45 instructions and options that control the simulations and the displays
|
tomwalters@0
|
46 that present the results.
|
tomwalters@0
|
47
|
tomwalters@0
|
48
|
tomwalters@0
|
49 A. Time-Domain Modelling Of Peripheral Auditory Processing:
|
tomwalters@0
|
50 A Modular architecture and a Software Platform
|
tomwalters@0
|
51
|
tomwalters@0
|
52 The text of the Letter is in PAG95.doc in aim/docs. Figure 1 of the
|
tomwalters@0
|
53 paper is a schematic of the architecture of the auditory image
|
tomwalters@0
|
54 model. It was produced with a drawing package entirely separate from
|
tomwalters@0
|
55 the AIM software package. A postscript version of Figure 1 is
|
tomwalters@0
|
56 contained in PAG95_F1.ps. It can be viewed with a postscript previewer
|
tomwalters@0
|
57 like ghostview.
|
tomwalters@0
|
58
|
tomwalters@0
|
59 The demonstrations are based on the wave for the word 'hat' which is
|
tomwalters@0
|
60 stored in the file 'hat' with 'little-endian' byte order. (This is the
|
tomwalters@0
|
61 order used in DEC, IBM, and SGI machines.) A byte reversed version
|
tomwalters@0
|
62 with 'big-endian' order is provided in 'hat_br'. (This is the order
|
tomwalters@0
|
63 used in SUN, and HP machines.)
|
tomwalters@0
|
64
|
tomwalters@0
|
65 For an automated tour type
|
tomwalters@0
|
66
|
tomwalters@0
|
67 > aimdemo_hat or
|
tomwalters@0
|
68 > aimdemo_hat_br
|
tomwalters@0
|
69
|
tomwalters@0
|
70 depending on the byte order of your machine.
|
tomwalters@0
|
71
|
tomwalters@0
|
72
|
tomwalters@0
|
73 Alternately, you can Execute the instructions individually on the
|
tomwalters@0
|
74 command line.
|
tomwalters@0
|
75
|
tomwalters@0
|
76
|
tomwalters@0
|
77 B. Displaying Waves Prior to Auditory Analysis:
|
tomwalters@0
|
78
|
tomwalters@0
|
79 Waves can be displayed using the initial module of AIM, genwav.
|
tomwalters@0
|
80
|
tomwalters@0
|
81 For a display of the complete hat file, use
|
tomwalters@0
|
82
|
tomwalters@0
|
83 > genwav samplerate=22.05kHz top=2500 bottom=-2500 input=hat
|
tomwalters@0
|
84
|
tomwalters@0
|
85 To restrict the display to the portion of the file with the 'hat'
|
tomwalters@0
|
86 sound wave, use
|
tomwalters@0
|
87
|
tomwalters@0
|
88 > genwav samplerate=22.05kHz start=110 leng=230 top=2500 bottom=-2500 input=hat
|
tomwalters@0
|
89
|
tomwalters@0
|
90 For the BMMs in Figures 2a and 3a, and the NAPs in Figures 2b and 3b,
|
tomwalters@0
|
91 we want to restrict the analysis AIM performs to a stationary segment
|
tomwalters@0
|
92 of the vowel which is 32 ms in duration and which starts just before a
|
tomwalters@0
|
93 glottal pulse. Such a segment can be displayed with
|
tomwalters@0
|
94
|
tomwalters@0
|
95 > genwav samplerate=22.05kHz start=182 leng=32 top=2500 bottom=-2500 input=hat
|
tomwalters@0
|
96
|
tomwalters@0
|
97
|
tomwalters@0
|
98 C. The Three Main Auditory Representations Produced by AIM
|
tomwalters@0
|
99
|
tomwalters@0
|
100 The remainder of this Section presents the AIM instructions used to
|
tomwalters@0
|
101 convert the wave for the word 'hat' into the auditory representations
|
tomwalters@0
|
102 of the sound presented in the individual panels of Figures 2 and 3 of
|
tomwalters@0
|
103 the paper (BMMs, NAPs and auditory images).
|
tomwalters@0
|
104
|
tomwalters@0
|
105 Figure 2: The functional version of AIM (panels a, b and c):
|
tomwalters@0
|
106
|
tomwalters@0
|
107 a> genbmm samplerate=22.05kHz start=182 leng=32 top=600 bot=-600 input=hat
|
tomwalters@0
|
108
|
tomwalters@0
|
109 b> gennap samplerate=22.05kHz start=182 leng=32 top=5000 input=hat
|
tomwalters@0
|
110
|
tomwalters@0
|
111 c> gensai samplerate=22.05kHz start=112 leng=100 top=2000 napdecay=3 input=hat
|
tomwalters@0
|
112
|
tomwalters@0
|
113
|
tomwalters@0
|
114 Figure 3: The physiological version of AIM (panels a, b and c):
|
tomwalters@0
|
115
|
tomwalters@0
|
116 a> genbmm filter=tlf start=182 leng=32 samplerate=22.05kHz top=600 bot=-600 input=hat
|
tomwalters@0
|
117
|
tomwalters@0
|
118 b> gennap compress=off transduction=med start=182 leng=32 samplerate=22.05kHz top=5000 input=hat
|
tomwalters@0
|
119
|
tomwalters@0
|
120 c> The correlogram version of the auditory image is produced by
|
tomwalters@0
|
121 generating a NAP of the sound, converting it into a correlogram with
|
tomwalters@0
|
122 acgram, and then displaying it with the facilites in the auditory
|
tomwalters@0
|
123 image module, gensai. The instruction sequence is as follows:
|
tomwalters@0
|
124
|
tomwalters@0
|
125 > genasi filter=tlf compress=off transduction=med leng=100 samplerate=22.05kHz output=on
|
tomwalters@0
|
126 > acgram start=36ms wid=64ms lag=32ms norm=off frames=1 scale=.000002 hat.nap > hat_acg.sai
|
tomwalters@0
|
127 > gensai -useprevious start=0 top=3000 input=hat_acg
|
tomwalters@0
|
128
|
tomwalters@0
|
129
|
tomwalters@0
|
130
|
tomwalters@0
|
131 ________________________________________________________________________
|
tomwalters@0
|
132
|
tomwalters@0
|
133 II. AIMDEMO_* SCRIPTS
|
tomwalters@0
|
134
|
tomwalters@0
|
135 The following is a list of demonstration scripts available to
|
tomwalters@0
|
136 illustrate the operation of AIM and the different auditory
|
tomwalters@0
|
137 representations that it produces. The scripts are stored in
|
tomwalters@0
|
138 [aimdirectory]/scripts.
|
tomwalters@0
|
139
|
tomwalters@0
|
140 The syntax for the demos can be obtained by typing
|
tomwalters@0
|
141
|
tomwalters@0
|
142 > aimdemo_???_??? help
|
tomwalters@0
|
143
|
tomwalters@0
|
144 where '???_???' is one of the extensions listed below. The simplest
|
tomwalters@0
|
145 way to begin is to copy the wave file "cegc" from the waves directory
|
tomwalters@0
|
146 to the current working directory, and type
|
tomwalters@0
|
147
|
tomwalters@0
|
148 > aimdemo_tlf_all cegc
|
tomwalters@0
|
149
|
tomwalters@0
|
150 NOTE: The byte order for cegc is "little endian" (used by DEC,
|
tomwalters@0
|
151 IBM and SGI machines). A byte reversed version with "big-endian"
|
tomwalters@0
|
152 order is the wave "cegc_br". (This is the order used in SUN and HP
|
tomwalters@0
|
153 machines.)
|
tomwalters@0
|
154
|
tomwalters@0
|
155 The sound in cegc is a set of stationary and gliding click trains that
|
tomwalters@0
|
156 play a lazy major triad (C-E-G) and its octave (C) over 2.1 sec. The
|
tomwalters@0
|
157 click train at the start (C) is a particularly useful test and demo
|
tomwalters@0
|
158 stimulus.
|
tomwalters@0
|
159
|
tomwalters@0
|
160 Once one or two of the aimdemos have been shown to work with cegc, you
|
tomwalters@0
|
161 should be in a position to try them on your own waves.
|
tomwalters@0
|
162
|
tomwalters@0
|
163
|
tomwalters@0
|
164
|
tomwalters@0
|
165 I. The Funcional Version of AIM:
|
tomwalters@0
|
166
|
tomwalters@0
|
167
|
tomwalters@0
|
168 1. aimdemo_gtf_all <wave_file>
|
tomwalters@0
|
169
|
tomwalters@0
|
170 This script illustrates all stages of the functional version of AIM
|
tomwalters@0
|
171 using the "auditory route". It focuses on landscape displays and
|
tomwalters@0
|
172 the instructions involved are:
|
tomwalters@0
|
173
|
tomwalters@0
|
174 genwav (display input waveform),
|
tomwalters@0
|
175 genstp (generate stapes velocity),
|
tomwalters@0
|
176 genbmm (generate basilar membrane motion),
|
tomwalters@0
|
177 gennap (generate neural activity pattern),
|
tomwalters@0
|
178 gensai (generate stabilized auditory image) and
|
tomwalters@0
|
179 genspl (generate spiral version of auditory image).
|
tomwalters@0
|
180
|
tomwalters@0
|
181
|
tomwalters@0
|
182 2. aimdemo_gtf_sai <wave_file>
|
tomwalters@0
|
183
|
tomwalters@0
|
184 This script presents the wave in <wave_file> using genwav, and
|
tomwalters@0
|
185 then produces its rectangular auditory image using gensai. It is
|
tomwalters@0
|
186 the simplest auditory image demo.
|
tomwalters@0
|
187
|
tomwalters@0
|
188
|
tomwalters@0
|
189 3. aimdemo_gtf_spectra <wave_file>
|
tomwalters@0
|
190
|
tomwalters@0
|
191 This script illustrates the functional version of AIM using the
|
tomwalters@0
|
192 "spectral route". It focuses on spactral displays and the
|
tomwalters@0
|
193 instructions involved are:
|
tomwalters@0
|
194
|
tomwalters@0
|
195 genwav (display input waveform),
|
tomwalters@0
|
196 genasa (generate auditory spectral analysis), and
|
tomwalters@0
|
197 genepn (generate excitation pattern)
|
tomwalters@0
|
198
|
tomwalters@0
|
199
|
tomwalters@0
|
200 4. aimdemo_gtf_2dat <wave_file>
|
tomwalters@0
|
201
|
tomwalters@0
|
202 The script illustrates 2-dimensional adaptive-thresholding
|
tomwalters@0
|
203 (2D-AT) using genwav, genstp, genbmm and finally gennap.
|
tomwalters@0
|
204
|
tomwalters@0
|
205
|
tomwalters@0
|
206
|
tomwalters@0
|
207 II. The Physiological Version of AIM:
|
tomwalters@0
|
208
|
tomwalters@0
|
209
|
tomwalters@0
|
210 1. aimdemo_tlf_all <wave_file>
|
tomwalters@0
|
211
|
tomwalters@0
|
212 This demo script illustrates the entire physiological
|
tomwalters@0
|
213 version of AIM using the "auditory route". It uses the
|
tomwalters@0
|
214 transmission-line filterbank (option filter=tlf) and the Meddis
|
tomwalters@0
|
215 neural transduction module (option transduction=Meddis). The
|
tomwalters@0
|
216 instructions involved are:
|
tomwalters@0
|
217
|
tomwalters@0
|
218 genwav (display input waveform),
|
tomwalters@0
|
219 genstp (generate stapes velocity),
|
tomwalters@0
|
220 genbmm (generate basilar membrane motion),
|
tomwalters@0
|
221 gennap (generate neural activity pattern),
|
tomwalters@0
|
222 acgram (generate autocorrelogram).
|
tomwalters@0
|
223
|
tomwalters@0
|
224
|
tomwalters@0
|
225 2. aimdemo_tlf_med <wave_file>
|
tomwalters@0
|
226
|
tomwalters@0
|
227 The script illustrates the Meddis Haircell module. The AIM
|
tomwalters@0
|
228 functions involved are genwav, genbmm and gennap.
|
tomwalters@0
|
229
|
tomwalters@0
|
230
|
tomwalters@0
|
231 3. aimdemo_tlf_spectra <wave_file>
|
tomwalters@0
|
232
|
tomwalters@0
|
233 This script illustrates the "spectral route" through the
|
tomwalters@0
|
234 physiological version of AIM. It focuses on spectral displays and
|
tomwalters@0
|
235 the instructions involved are genwav, genasa and genepn.
|
tomwalters@0
|
236
|
tomwalters@0
|
237
|
tomwalters@0
|
238 4. aimdemo_tlf_lowhigh <wave_file>
|
tomwalters@0
|
239
|
tomwalters@0
|
240 This script illustrates the level dependancies in the physiological
|
tomwalters@0
|
241 version of AIM, and its ability to simulate cochlear damage. The
|
tomwalters@0
|
242 instructions involved are:
|
tomwalters@0
|
243
|
tomwalters@0
|
244 genwav [display input wave],
|
tomwalters@0
|
245 genbmm [cochlea level = 30dB],
|
tomwalters@0
|
246 genbmm [cochlea level = 90dB],
|
tomwalters@0
|
247 gennap [Normal cochlea + Meddis high spont-rate fibre] and
|
tomwalters@0
|
248 genasa [total OHC destruction, with no feedback]
|
tomwalters@0
|
249 Note: - very poor frequency resolution.
|
tomwalters@0
|
250
|
tomwalters@0
|
251
|
tomwalters@0
|
252
|
tomwalters@0
|
253 ________________________________________________________________________
|
tomwalters@0
|
254
|
tomwalters@0
|
255 III. OVERVIEW OF DOCUMENTATION
|
tomwalters@0
|
256
|
tomwalters@0
|
257
|
tomwalters@0
|
258 An introduction to the Documentation for the Auditory Image Model of
|
tomwalters@0
|
259 Peripheral Auditory Processing
|
tomwalters@0
|
260
|
tomwalters@0
|
261
|
tomwalters@0
|
262 A. Initial Contact Points and Aquisition of the Software Package
|
tomwalters@0
|
263
|
tomwalters@0
|
264
|
tomwalters@0
|
265 1. WWW Page.
|
tomwalters@0
|
266
|
tomwalters@0
|
267 Address: http://www.mrc-apu.cam.ac.uk/aim/
|
tomwalters@0
|
268
|
tomwalters@0
|
269 An overview of AIM on the internet with facilities for acquiring
|
tomwalters@0
|
270 the software package.
|
tomwalters@0
|
271
|
tomwalters@0
|
272
|
tomwalters@0
|
273 2. Journal reference.
|
tomwalters@0
|
274
|
tomwalters@0
|
275 The software package is described in a recent article entitled
|
tomwalters@0
|
276
|
tomwalters@0
|
277 "Time-domain modelling of peripheral auditory processing:
|
tomwalters@0
|
278 A modular architecture and a software platform"
|
tomwalters@0
|
279
|
tomwalters@0
|
280 by Roy D. Patterson and Mike H. Allerhand and Christian Giguere,
|
tomwalters@0
|
281 Journal of the Acoustical Society of America, 1995 (in press).
|
tomwalters@0
|
282
|
tomwalters@0
|
283 The text of the article is stored in [aim]/docs/PAG95.doc
|
tomwalters@0
|
284
|
tomwalters@0
|
285
|
tomwalters@0
|
286 3. ftp instructions:
|
tomwalters@0
|
287
|
tomwalters@0
|
288 The instructions for obtaining AIM by ftp are stored in
|
tomwalters@0
|
289 [aim]/docs/ftp.doc
|
tomwalters@0
|
290
|
tomwalters@0
|
291
|
tomwalters@0
|
292
|
tomwalters@0
|
293 B. Installation and Test
|
tomwalters@0
|
294
|
tomwalters@0
|
295 1. ReadMe.First
|
tomwalters@0
|
296
|
tomwalters@0
|
297 This document appears in top directory of aim when the aim.tar file is
|
tomwalters@0
|
298 unpacked. It is the same file as that in the ftp directory
|
tomwalters@0
|
299 /pub/aim. It contains the instructions for compiling AIM, testing
|
tomwalters@0
|
300 the installation, and setting up paths to the instructions, the
|
tomwalters@0
|
301 aimtools, and the online documentation (manual pages accessed
|
tomwalters@0
|
302 through 'manaim').
|
tomwalters@0
|
303
|
tomwalters@0
|
304
|
tomwalters@0
|
305
|
tomwalters@0
|
306 C. Introduction to the Operation of AIM
|
tomwalters@0
|
307
|
tomwalters@0
|
308
|
tomwalters@0
|
309 1. bin/ReadMe
|
tomwalters@0
|
310
|
tomwalters@0
|
311 This is the initial ReadMe file for those wanting to use AIM once it
|
tomwalters@0
|
312 has been installed and tested. It begins with a guided tour of AIM and
|
tomwalters@0
|
313 then describes the user documentation and where to find it.
|
tomwalters@0
|
314
|
tomwalters@0
|
315
|
tomwalters@0
|
316 2. Introduction to AIM instructions: docs/aimInstructions
|
tomwalters@0
|
317
|
tomwalters@0
|
318 An introduction to the instructions and command-line options used to
|
tomwalters@0
|
319 control the auditory model is stored in docs/aimInstructions.
|
tomwalters@0
|
320 The instructions have the form gen???. The command 'gen -help | more'
|
tomwalters@0
|
321 lists the three letter combinations that may replace ??? and
|
tomwalters@0
|
322 briefly describes the operations they invoke.
|
tomwalters@0
|
323
|
tomwalters@0
|
324
|
tomwalters@0
|
325 3. AIM on-line help: gen??? -help
|
tomwalters@0
|
326
|
tomwalters@0
|
327 The instruction 'gen -help | more' lists the AIM instructions.
|
tomwalters@0
|
328
|
tomwalters@0
|
329 The instructions have the form 'gen??? -options <file_name>'.
|
tomwalters@0
|
330
|
tomwalters@0
|
331 The final three letters of the AIM instruction specify the point
|
tomwalters@0
|
332 in the system where the user chooses to observe the output.
|
tomwalters@0
|
333 Instructions of the form 'gen??? -help' cause AIM to list the
|
tomwalters@0
|
334 options that control AIM up to that output point along with a brief
|
tomwalters@0
|
335 description of the option and its current and default value.
|
tomwalters@0
|
336
|
tomwalters@0
|
337
|
tomwalters@0
|
338 4. Manual pages for AIM instructions: manaim gen???
|
tomwalters@0
|
339
|
tomwalters@0
|
340 The documentation for each instruction and its options is
|
tomwalters@0
|
341 provided in standard manual pages accessed by instructions of the
|
tomwalters@0
|
342 form 'manaim gen???'. Begin with 'manaim genwav' which describes
|
tomwalters@0
|
343 non-auditory options such as those for the AIM display and for
|
tomwalters@0
|
344 the input and output files.
|
tomwalters@0
|
345
|
tomwalters@0
|
346 A complete listing of the AIM instructions is included in the listing
|
tomwalters@0
|
347 produced by the instruction 'manaim -k all | more'.
|
tomwalters@0
|
348
|
tomwalters@0
|
349 Manual pages can be printed with commands of the form
|
tomwalters@0
|
350 'manaim gen??? | lpr'.
|
tomwalters@0
|
351
|
tomwalters@0
|
352
|
tomwalters@0
|
353 5. Manual pages for AIM tools: manaim <aimtool_name>
|
tomwalters@0
|
354
|
tomwalters@0
|
355 The software package includes a set of 'aimtools' for generating
|
tomwalters@0
|
356 and manipulating input waves, and for processing the multi-channel,
|
tomwalters@0
|
357 multi-frame output of AIM.
|
tomwalters@0
|
358
|
tomwalters@0
|
359 There are manual pages for the aimtools accessed by instructions of
|
tomwalters@0
|
360 the form 'manaim <aimtool_name>'.
|
tomwalters@0
|
361
|
tomwalters@0
|
362 A complete listing of the aimtools is included in the listing
|
tomwalters@0
|
363 produced by the instruction 'manaim -k all | more'.
|
tomwalters@0
|
364
|
tomwalters@0
|
365
|
tomwalters@0
|
366
|
tomwalters@0
|
367 D. Additional Facilities
|
tomwalters@0
|
368
|
tomwalters@0
|
369
|
tomwalters@0
|
370 1. Silent Options: docs/aimSilentOptions
|
tomwalters@0
|
371
|
tomwalters@0
|
372 AIM includes a number of 'silent options' that are occassionally
|
tomwalters@0
|
373 useful but not sufficiently important to warrant positions on the
|
tomwalters@0
|
374 options lists produced by the on-line help (gen??? -help).
|
tomwalters@0
|
375
|
tomwalters@0
|
376 A list of the silent options is provided in docs/aimSilentOptions
|
tomwalters@0
|
377
|
tomwalters@0
|
378
|
tomwalters@0
|
379 2. File Formats: docs/aimFileFormats
|
tomwalters@0
|
380
|
tomwalters@0
|
381 A description of the layout of information in the output files
|
tomwalters@0
|
382 produced by AIM is presented in docs/aimFileFormats
|
tomwalters@0
|
383
|
tomwalters@0
|
384
|
tomwalters@0
|
385
|
tomwalters@0
|
386 3. AIM list: mail aim@mrc-apu.cam.ac.uk
|
tomwalters@0
|
387
|
tomwalters@0
|
388 An email list for AIM users has been set up. The instructions for
|
tomwalters@0
|
389 joining and retiring from the mail list are presented in
|
tomwalters@0
|
390 docs/aimMailList.
|
tomwalters@0
|
391
|
tomwalters@0
|
392 Note that the list is not moderated. It is a facility whereby users
|
tomwalters@0
|
393 can communicate for their mutual benefit rather than a question
|
tomwalters@0
|
394 answering facility provided by the software developers.
|
tomwalters@0
|
395
|
tomwalters@0
|
396
|
tomwalters@0
|
397
|
tomwalters@0
|
398 ______________________________________________________________________
|
tomwalters@0
|
399
|
tomwalters@0
|
400 IV. SETTING UP PATHS FOR AIM AND MANAIM:
|
tomwalters@0
|
401
|
tomwalters@0
|
402
|
tomwalters@0
|
403 As with all applications, the use of AIM is greatly assisted by the
|
tomwalters@0
|
404 setting up of appropriate pathnames for the executables and on-line
|
tomwalters@0
|
405 help.
|
tomwalters@0
|
406
|
tomwalters@0
|
407 In the following ${DIR} is the pathname of the directory in which AIM is
|
tomwalters@0
|
408 installed in your file system. For example this might be: /usr/local/aim
|
tomwalters@0
|
409
|
tomwalters@0
|
410
|
tomwalters@0
|
411 A. Executables
|
tomwalters@0
|
412
|
tomwalters@0
|
413 The executable files of the model, AIM tools and the script files are located
|
tomwalters@0
|
414 in the ${DIR}/bin directory.
|
tomwalters@0
|
415
|
tomwalters@0
|
416 If the path name is set to this directory, these programs can be executed
|
tomwalters@0
|
417 from anywhere in the system. The best thing to do is to set the PATH
|
tomwalters@0
|
418 variable of the environment to:
|
tomwalters@0
|
419
|
tomwalters@0
|
420 setenv PATH ${DIR}/bin:$PATH
|
tomwalters@0
|
421
|
tomwalters@0
|
422 This can be done in the .login, .profile or any other appropriate start-up
|
tomwalters@0
|
423 script.
|
tomwalters@0
|
424
|
tomwalters@0
|
425
|
tomwalters@0
|
426 B. Manual Pages:
|
tomwalters@0
|
427
|
tomwalters@0
|
428 The `manaim' script prints AIM manual pages with appropriate name in the
|
tomwalters@0
|
429 Unix man page format.
|
tomwalters@0
|
430
|
tomwalters@0
|
431 If the user wishes to view the man pages through "xman", the
|
tomwalters@0
|
432 environment variable MANPATH needs to be setup to search the
|
tomwalters@0
|
433 [aim]/release/man directory along with the other default man
|
tomwalters@0
|
434 directories.
|
tomwalters@0
|
435
|
tomwalters@0
|
436 Add the directory which contains the AIM manual pages to the MANPATH
|
tomwalters@0
|
437 in your environment, for example by including the following in your
|
tomwalters@0
|
438 start-up script:
|
tomwalters@0
|
439
|
tomwalters@0
|
440 setenv MANPATH ${DIR}/man:${MANPATH}
|
tomwalters@0
|
441
|
tomwalters@0
|
442 or, if MANPATH is an undefined variable:
|
tomwalters@0
|
443
|
tomwalters@0
|
444 setenv MANPATH ${DIR}/man
|
tomwalters@0
|
445
|
tomwalters@0
|
446
|
tomwalters@0
|
447 For compatibility with systems which do not conventionally use a
|
tomwalters@0
|
448 MANPATH, the pathname of the AIM pages directory must be the first
|
tomwalters@0
|
449 pathname in the list.
|
tomwalters@0
|
450
|
tomwalters@0
|
451 The AIM man pages will be appear in the "User Commands" section and
|
tomwalters@0
|
452 the "Local" section of xman.
|