1
2
3
4Hello new user, and welcome to Xastir!
5
6
7This document will take you through the steps necessary to get
8Xastir up and running in one of the following configurations:
9
10
111) Minimal install, which will get you up and running quickly.  It's
12   recommended that you try this configuration first then add to it.
13
142) Typical install including maps, weather alerts, geo-coding files,
15   etc. so that full regular operation is achieved.
16
173) Maximum install with all configure options enabled and most of
18   the useful maps loaded/enabled.  All the bells and whistles.
19
20
21Note that you can start with either of the first two options and add
22only the options you wish in order to come up with your own custom
23configuration of Xastir.
24
25These instructions are written for Linux users.  Windows users
26should refer to the README.CYGWIN document instead.
27
28Users of other operating systems should refer to the README document
29first, then the INSTALL document and the below instructions for
30further notes, and finally the Installation Notes section of the
31Xastir wiki at http://xastir.org/.  Linux users may also benefit from
32reading the Installation Notes section of the wiki, because each
33distro of Linux has its own quirks, and many of those quirks are
34documented on the wiki.
35
36One question you might ask is whether you can just find a binary on
37the 'net somewhere and install it instead of compiling Xastir from
38sources.  Yes, this is possible, but not what most Xastir users
39ultimately want.  Xastir changes often enough (bug fixes and of course
40adding new features) that you're really limiting yourself by using
41pre-compiled binaries.  Binaries are typically not updated all that
42often, if at all, so you'll forever be behind the curve.  Most
43packaged versions of Xastir in package management systems tend to be a
44couple of years out of date, or even worse.
45
46Another reason to compile from sources is to customize it to use all
47of the features you have available on your system.  As you add more
48libraries that Xastir can use, you can do a quick
49configure/compile/install and Xastir will be able to take advantage
50of them.
51
52For those that really must have the latest-latest:  Download the
53Xastir sources using Git instead, then issue the command "git
54pull" periodically in order to snag the latest changes.  If
55anything comes down the pipe, just configure/make/install and then
56use the latest version.  This avoids large file downloads (after the
57initial download) as it just grabs _changes_ to the sources off the
58'net each time you issue the "git pull" command.  This is the
59power-user's method of keeping Xastir up-to-date.  See README.GIT
60for details.
61
62After the three configuration sections there's a section on
63operating, which simply talks you through the initial configuration
64settings and how things work.  After that you can refer to the Help
65menu option in Xastir itself, plus the INSTALL and README.* text
66files for additional information.  Please note that the non-English
67help files lag severely behind the English help file.
68
69First of all, NEVER RUN XASTIR AS THE ROOT USER!  You're risking the
70security of your system by attempting it.  Create another regular
71user on your system and use that user for all of your normal
72activity.  This goes for any other normal activity on the system as
73well.  Only use the "root" account for maintenance activities, not
74for regular user activities.  You'll thank me later!
75
76Before we begin, consider subscribing to the Xastir mailing list.
77That's where everyone is kept up-to-date on the latest features,
78plus lots of questions are asked/answered there on a weekly or
79sometimes daily basis.  It's a great way to learn and to stay
80connected with the other Xastir users.  See the mailing links on the
81left of the Xastir home page:  http://xastir.org
82You must be subscribed in order to post messages there.
83
84So...  Let's get started!
85
86
87--------------------------------------------------------------------
88--------------------------------------------------------------------
89
90
91Latest info:
92
93*) Xastir starts up with a default world map the first time you run
94it plus pops up a dialog where you can enter your callsign.  Enter
95a callsign, then close/restart Xastir or save the configuration via
96"File->Configure->Save Config Now!".  Either of these methods saves
97the callsign to disk.
98
99*) Xastir includes "Shapefile" map capability by default.  Run the
100script:
101
102    "/usr/local/share/xastir/scripts/get-NWSdata"
103
104as root to download/install NOAA Shapefile maps using the "wget"
105utility.  You'll of course need wget installed in order to fetch the
106files using this method.  Installing the NWS files enables weather
107alert support in Xastir.  Verify that "Map->Enable Weather Alerts" is
108selected and that "Map->Disable All Maps" is _not_ selected, else
109you won't see weather alerts on your screen.
110
111
112--------------------------------------------------------------------
113--------------------------------------------------------------------
114
115
116Sources of help you may find useful:
117
118*) "FAQ" file
119
120*) "INSTALL" file:  Non-Windows instructions for installing Xastir
121   and optional map libraries may be found here.
122
123*) "README.md" file:  General info and some OS-specific notes.
124
125*) "CONTRIBUTING.md" file:  Info on how to contribute to the
126   Xastir project.
127
128*) "README.GIT" file:  Info on a more advanced way to keep up-to-date
129   on the latest Xastir sources.
130
131*) "README.Getting-Started" file:  The file you're reading.
132
133*) "README.MAPS" file:  Much of the info about maps and where to get
134   them may be found here.  Also see the Xastir Documentation
135   section, the Wiki pages, at <http://xastir.org>
136
137*) "README.CYGWIN" file:  For Windows/Cygwin users.
138
139*) "UPGRADE" file:  Useful info for updating some old versions of
140   Xastir.
141
142*) Xastir Web-based documentation, including a set of Wiki pages,
143   found at <http://xastir.org>
144
145*) Xastir man page, accessed by typing "man xastir" on a Unix or
146   Unix-like system.  This page is a bit out-of-date.
147
148*) "Help->Help Index" in the Xastir program itself.  Note that only
149   the English language variation of this is even approximately up-to-date.
150
151*) Mailing lists at <http://xastir.org>
152
153*) User forums at <http://xastir.org>
154
155
156--------------------------------------------------------------------
157--------------------------------------------------------------------
158
159
160Minimal Install:
161----------------
162
163First, let's describe it:  This will get Xastir up and running with
164a few built-in map types.  You'll be on the air or on the 'net
165quickly, then can build upon this working base to add more map
166libraries and other cool features later.
167
168
169Getting the package:
170--------------------
171
172*) Option 1: Download one of release tarballs from
173http://xastir.org.  There are links from that page or you can go to
174the github site (https://github.com/Xastir/Xastir) and click on "Releases"
175to see the entire set that is available.
176
177Once you have the file (which will generally be called
178"Xastir-Release-<number>.tar.gz," create a subdirectory for it to
179reside.  I usually do this:
180
181    cd                      # Go to my home directory
182    mkdir src               # Make a "src" subdirectory
183    cd src                  # Change to it
184    mkdir xastir            # Make an "xastir" subdirectory
185    cd xastir               # Change to it
186    cp /path/filename .     # Copy the downloaded file here
187    tar xzvf filename       # Un-archive the sources
188
189That last step will create a directory called
190Xastir-Release-<release number> underneath the first one, so
191your full path might be something like (starting at your home
192directory): ~/src/xastir/astir-Release-2.1.0
193
194The path just listed is where you'll go in order to run the
195configure and make commands listed below.
196
197    cd  ~/src/xastir/Xastir-Release-2.1.0
198
199from an xterm window should take you there.
200
201*) Option 2: An alternative is to use Git to snag the sources for you.
202Using this method you can periodically update to the latest released
203version, the latest "stable" version, or the latest development
204sources, and even switch back and forth between them at will.  See README.GIT
205for info about that option.  One of the advantages of Git is that you
206only pull down the changes since you last updated, instead of doing
207very large file downloads each time.  Another advantage is that you
208can keep up with the latest features on a daily basis if you wish,
209nearly effortlessly.
210
211
212Configure:
213----------
214In order to complete the configure/compile/install of Xastir, you'll
215need some of the development tools and headers installed.  Here's a
216list of a few items you'll need to have installed.  Look for them in
217the development tools sections on your Linux distribution:
218
219
220    autoconf
221    automake
222    bash
223    binutils
224    gcc
225    gcc development headers
226    cpp
227    glibc
228    glibc development headers?
229    freetype2
230    freetype2 development headers
231    openmotif (or Lesstiff or Motif)
232    openmotif development headers (or Lesstiff or Motif)
233    XFree86
234    XFree86 development headers
235    XFree86 fonts
236    XFree86 libraries
237    make (GNU flavor, not BSD flavor)
238    gzip
239    m4
240    grep
241
242
243Note:  Only install one of the Motif packages and the corresponding
244development package to go with it.  Recommendation:  OpenMotif.
245
246If you'd like to install additional packages at this point that may
247be needed later, install these as well:
248
249
250    patch
251    diffutils
252    perl
253    less
254    bzip2
255    curl
256    curl development headers
257    cvs
258    git
259    rcs
260    tar
261    liblcms
262    liblcms development headers
263    libtiff
264    less
265    pcre
266    pcre development headers
267    tcl
268    tcl development headers
269    tk
270    zip
271    unzip
272    wget
273    ax25-apps
274    ax25-doc
275    ax25-tools
276    libax25
277    festival
278    festival development headers
279    gawk
280    ghostscript-x11
281    ghostscript-fonts
282    ghostview
283    gv
284    ImageMagick
285    ImageMagick development headers
286
287
288Note that some packages may have dependencies on yet more packages.
289Hopefully your package installation tool will take care of those for
290you.  It's also common for at least one of these packages to forget
291to list some of it's dependencies (ImageMagick is known for that).
292In that case you may have to rely on the compiler to tell you what
293is missing, then go back and re-install a package or two.
294
295Now it is necessary to create the "configure" script that will be needed
296to configure Xastir for your system.  In versions prior to release 2.1.8,
297this script was included in the Xastir tarballs, but it is no longer included.
298
299   cd ~/src/xastir/Xastir-Release-2.1.0/
300   ./bootstrap.sh
301
302You will then create a "build" directory in which to run the
303compilation of Xastir, and run Xastir's configure script in that
304directory.  In the instructions below we describe making this build
305directory inside the Xastir source tree, so it would be
306
307    mkdir -p ~/src/xastir/Xastir-Release-2.1.0/build
308    cd  ~/src/xastir/Xastir-Release-2.1.0/build
309    ../configure
310
311If you do this, then the simplest path to Xastir's configure script is
312just "../configure".  You could create this build directory anywhere,
313though, so long as you remember to replace "../configure" with the
314full path to Xastir's script, e.g,
315~/src/xastir/Xastir-Release-2.1.0/configure.
316
317When you run the "../configure" step from the "build" directory, the
318script will attempt to figure out what facilities are available that
319Xastir can take advantage of.  Sometimes the script guesses wrong
320and you must disable an option and try again.  The correct way to do
321this is (Festival speech synthesizer is used as an example, not that
322I'm picking on Festival or anything):
323
324    mkdir build
325    cd build
326    ../configure --without-festival
327
328That will guarantee that configure will skip Festival entirely,
329which will set up the Makefiles to skip it, and the Xastir binary
330will be created without any support for it.
331
332Some operating systems place their packaged third-party libraries into places
333where configure won't find them by default.  In that case you may need to add
334additional options the help it out.  Please look at the Installation Notes
335section of the Xastir wiki, where it is likely you'll find special instructions
336for your operating system.
337
338Other configure options are:
339
340    --without-ax25
341    --without-festival
342    --without-gpsman
343    --without-shapelib
344    --without-imagemagick
345    --without-libproj
346    --without-geotiff
347    --without-pcre
348    --without-dbfawk
349    --without-map-cache
350    --with-errorpopups
351    --with-rtree
352
353
354That said, you probably won't have to use any of these!  Type
355"../configure" all by itself and the script should eventually give
356you a summary of the packages that it will try to compile support
357into Xastir for.  The only time you may want to add some of the
358above options is if the compile hangs up because of one of them.
359You can then add the option to configure, re-create the Makefiles to
360skip that feature, and get Xastir compiled without it.  Once you get
361the problem solved, you can reconfigure and recompile to add that
362feature back in.
363
364At this point, if some things don't appear in the summary that you'd
365like/expect to appear, as long as you get to the "Type 'make' to
366build Xastir" message, you're doing fine.  You can work on getting
367more things in there later.
368
369This is what you'd like to see at the end of the "../configure" run
370(minimum, there may be more "yes" answers):
371
372  AX25.......... : no
373  Festival...... : no
374  GPSMan........ : no
375  ImageMagick... : no
376  libproj....... : no
377  GeoTiff....... : no
378  ShapeLib...... : yes (internal)
379  pcre.......... : no
380  dbfawk........ : no
381  libgc (Debug). : no
382
383In other words, Xastir should build/compile with NO optional
384libraries installed!  This will still give you USGS GNIS maps,
385APRSdos maps, WinAPRS maps, and PocketAPRS maps, plus audio alerts
386if you have a suitable audio player installed on your system.
387You'll also be able to attach a TNC either in command-line or KISS
388mode and connect it to Xastir.  Mobile support will work with an
389attached serial GPS.  Attached weather stations should work fine
390too.  You won't get online maps or weather alerts with this
391configuration though.  Worry about that stuff later once you get the
392minimal configuration working.
393
394
395Make:
396-----
397Type "make".  That stage should complete with no errors.  You may
398have a warning or two show up, depending on your compiler version
399and your operating system.
400
401
402Make install:
403-------------
404For this stage you need to have root privileges.  "root" is the
405user on a Unix/Linux box that has the ultimate authority over
406everything.  Follow these steps:
407
408    su
409    make install
410    chmod 4755 /usr/local/bin/xastir (optional, see below)
411    exit
412
413The first step takes you to root user privileges.  You'll need to
414type in the root password when it asks for it.  The "make install"
415step installs all of the pieces of Xastir in the appropriate places
416on your system.
417
418The "chmod" step sets up the Xastir executable so that it can assume
419root privileges at the points where it needs to, usually when it
420needs to access serial ports or AX.25 kernel networking ports.  Note
421that if you don't need the above chmod command, don't use it.  It
422will prevent creation of "core" files in case Xastir crashes, which
423makes debugging to figure out the root cause much more difficult.
424There are also some security risks in doing "chmod 4755", as it
425makes Xastir run as the root user at times.  We've tried to minimize
426the risk by giving up root permissions when we don't absolutely
427require them, so the risks are smaller.
428
429At this point you have a minimal Xastir installed.  Jump down to the
430"Operating Xastir" step below.
431
432
433--------------------------------------------------------------------
434--------------------------------------------------------------------
435
436
437Typical Install:
438----------------
439
440First, let's describe it:  This will give you a working Xastir with
441local Shapefile maps, online street/topo/satellite-image maps,
442weather alerts, and audio alerts.  Optionally you can add
443synthesized speech to the mix.
444
445You'll need to run /usr/local/share/xastir/scripts/get-NWSdata as root
446after you do the install in order to get the NOAA data files you'll
447need for the weather alerts.  "get-NWSdata" requires "wget" in order
448to work.
449
450This is what you'd like to see at the end of the "./configure" run
451(minimum, there may be more "yes" answers):
452
453
454-------------------------------------------------------------------
455  MINIMUM OPTIONS:
456    ShapeLib (Vector maps) ................. : yes
457
458  RECOMMENDED OPTIONS:
459    GraphicsMagick/ImageMagick (Raster maps) : yes (GraphicsMagick)
460    pcre (Shapefile customization) ......... : yes
461    dbfawk (Shapefile customization) ....... : yes
462    rtree indexing (Shapefile speedups) .... : no
463    map caching (Raster map speedups) ...... : no
464    internet map retrieval ................. : yes (libcurl)
465
466  FOR THE ADVENTUROUS:
467    AX25 (Linux Kernel I/O Drivers) ........ : no
468    libproj (USGS Topos & Aerial Photos) ... : no
469    GeoTiff (USGS Topos & Aerial Photos) ... : no
470    Festival (Text-to-speech) .............. : no
471    GPSMan/gpsmanshp (GPS downloads) ....... : no
472-------------------------------------------------------------------
473
474
475Note:  You may see "ImageMagick" instead of "GraphicsMagick" and/or
476"wget" instead of "libcurl" for your installation of Xastir.  Those
477are alternative packages that give similar functionality.  You may
478also see "(internal)" at the end of the Shapelib line, which is fine
479also.
480
481
482TBD
483
484
485--------------------------------------------------------------------
486--------------------------------------------------------------------
487
488
489Maximum Install:
490----------------
491
492First, let's describe it:  This will give you a working Xastir with
493all of the non-debug "configure" options enabled, local maps, online
494street/topo/satellite-image maps, weather alerts, audio alerts,
495synthesized speech, Garmin RINO support, GPS download support,
496search for street address capability, FCC/RAC callsign lookups, and
497all of the supported map types.
498
499This is what you'd like to see at the end of the "./configure" run:
500
501
502-------------------------------------------------------------------
503  MINIMUM OPTIONS:
504    ShapeLib (Vector maps) ................. : yes
505
506  RECOMMENDED OPTIONS:
507    GraphicsMagick/ImageMagick (Raster maps) : yes (GraphicsMagick)
508    pcre (Shapefile customization) ......... : yes
509    dbfawk (Shapefile customization) ....... : yes
510    rtree indexing (Shapefile speedups) .... : yes
511    map caching (Raster map speedups) ...... : yes
512    internet map retrieval ................. : yes (libcurl)
513
514  FOR THE ADVENTUROUS:
515    AX25 (Linux Kernel I/O Drivers) ........ : yes
516    libproj (USGS Topos & Aerial Photos) ... : yes
517    GeoTiff (USGS Topos & Aerial Photos) ... : yes
518    Festival (Text-to-speech) .............. : yes
519    GPSMan/gpsmanshp (GPS downloads) ....... : yes
520-------------------------------------------------------------------
521
522
523Note:  You may see "ImageMagick" instead of "GraphicsMagick" and/or
524"wget" instead of "libcurl" for your installation of Xastir.  Those
525are alternative packages that give similar functionality.  You may
526also see "(internal)" at the end of the Shapelib line, which is fine
527also.
528
529
530TBD
531
532
533--------------------------------------------------------------------
534--------------------------------------------------------------------
535
536
537Operating Xastir:
538-----------------
539
540Again, NEVER RUN XASTIR AS THE ROOT USER!  You're risking the
541security of your system by attempting it.  Create another regular
542user on your system and use that user for all of your normal
543activity.  This goes for any other normal activity on the system as
544well.  Only use the "root" account for maintenance activities, not
545for regular user activities.  You'll thank me later!
546
547Assuming you want to start Xastir up in the English language, you
548can type (from an xterm window):
549
550    xastir
551
552which will start up the program without giving you back a
553command-prompt in your xterm window (until Xastir exits), or you can
554type (from an xterm window):
555
556     xastir &
557
558which will start Xastir in the background, giving you back your
559xterm for more commands.  The typical way to start it is with
560"xastir &".  Of course you can get fancier and attach it to your
561window manager's menus or create an icon on your desktop which
562starts it.  Those are operating system/window manager-specific, so
563we won't cover how to do that here.
564
565The first time you start Xastir it will show a default map of the
566world plus pop up the File->Configure->Station dialog.  Enter a
567callsign on that dialog and press the OK button.
568
569
570Changing the Language:
571
572If you want to start Xastir using some other language, you do that
573with command-line switches when you start Xastir.  Once you use one
574of these switches, that language option becomes "sticky", meaning
575you won't have to enter that command-line switch again unless you
576wish to change languages.
577
578There are some command-line switches that you can
579If you type "xastir -?", which is an invalid command-line option,
580you'll see this:
581
582  xastir: invalid option -- h
583
584  Xastir Command line Options
585
586  -c /path/dir       Xastir config dir
587  -f callsign        Track callsign
588  -i                 Install private Colormap
589  -geometry WxH+X+Y  Set Window Geometry
590  -l Dutch           Set the language to Dutch
591  -l English         Set the language to English
592  -l French          Set the language to French
593  -l German          Set the language to German
594  -l Italian         Set the language to Italian
595  -l Portuguese      Set the language to Portuguese
596  -l Spanish         Set the language to Spanish
597  -l ElmerFudd       Set the language to ElmerFudd
598  -l MuppetsChef     Set the language to MuppetsChef
599  -l OldeEnglish     Set the language to OldeEnglish
600  -l PigLatin        Set the language to PigLatin
601  -l PirateEnglish   Set the language to PirateEnglish
602  -m                 Deselect Maps
603  -p                 Disable popups
604  -t                 Internal SIGSEGV handler enabled
605  -v level           Set the debug level
606
607
608Ignore those for now unless you need to change the Language.
609
610OK, Xastir should show up on your screen at this point.  We're
611assuming that you're already running X-Windows graphical environment
612at this point.  If you're in command-line Linux/Unix only, Xastir
613won't run.
614
615If you've configured in ShapeLib capability, you'll need to run
616/usr/local/share/xastir/scripts/get-NWSdata as the root user in order
617to get the NOAA data files you'll need for the weather alerts.  The
618script requires "wget" in order to work.  Run this script periodically
619(once every six months perhaps?) to keep your weather alert maps
620up-to-date.  If you're not in the U.S. or one of it's possessions then
621you can safely ignore this download.
622
623
624Various ways to manipulate Xastir:
625
626
627Context-Dependent Operations:
628-----------------------------
629                Normal      Draw-CAD    Measure     Move
630                ------      --------    -------     ----
631Cursor          Arrow       Pencil      Crosshairs  Crosshairs
632LeftClick                                           SelectObject
633LeftDrag        ZoomToArea  ZoomToArea  MeasureArea MoveObject
634MiddleClick     ZoomOut     SetCADPoint ZoomOut     ZoomOut
635
636Alt-F, Alt-V, etc to bring up main menus via the keyboard.  Use
637arrow keys to navigate menus and/or single letters corresponding to
638the "hot" letter (underlined lettter) for each menu item.
639
640"ESC" to back out of the menu system.
641
642
643Global Operations:
644------------------
645LeftClick       Select Menu or GUI Item (when in menus or dialogs)
646LeftDblClick    FetchAlertText (when in View->Wx Alerts dialog)
647RightClick      OptionsMenu
648Home            Center the map on your home station
649PageUp          ZoomOut
650PageDown        ZoomIn
651ArrowUp         PanUp
652ArrowDown       PanDown
653ArrowLeft       PanLeft
654ArrowRight      PanRight
655"="             GridSize++
656"+"             GridSize++
657"Num+"          GridSize++
658"-"             GridSize--
659"Num-"          GridSize--
660"Space"         Activate current widget
661"Tab"           Rotate among widgets
662"Back-Tab"      Rotate among widgets backwards
663
664
665Other Possible External Stimuli:
666--------------------------------
667Send a SIGUSR1 to cause a snapshot to be taken.
668Send a SIGHUP to cause Xastir to save/quit/restart.
669Send a SIGINT, SIGQUIT, or SIGTERM to cause Xastir to quit.
670Connect to TCP port 2023 if Server Port is enabled to send/receive packets.
671Send to UDP port 2023 via the xastir_udp_client program to inject packets.
672
673
674Note that you can also tweak a define/recompile to reverse the
675left/right button functions.
676
677
678
679Configuring Xastir:
680-------------------
681*) Note that the menu's have a dashed line near the top.  If you
682click on that dashed line it acts like a cut-line for the menu and
683detaches that menu from the main menu.  You can then move that menu
684off to another area of your screen.  You might try that with the
685File->Configure menu at this time.
686
687*) Go to File->Configure->Station and set your callsign.  Set up
688other parameters/comment fields on this dialog that may need
689setting.
690
691*) Go to File->Configure->Defaults and set parameters there.
692
693You have the main parameters set now.  Next is to enable some
694interfaces so that you can see some packets come across.  Easiest
695might be the Internet interfaces, assuming the computer you're on
696has Internet access and is hooked up to it currently.
697
698*) Run "callpass" in another Xterm window in order to generate your
699Pass-code number.  Save that number as you'll need it for each
700Interface dialog where you might need to authenticate your callsign.
701Of course you can always run callpass again if you forget it!
702
703*) Go to Interface->Properties then click on "Add".  Click "Internet
704Server".  Another dialog will come up that allows you to enter the
705Host, and the Port.  Enter your Pass-code number here.  People often
706check the "Activate on Startup?" and the "Reconnect on NET failure?"
707options on this box.  You may also assign a comment to this
708interface which describes the interface better for you.  Click "OK"
709to create the interface.  If you checked "Activate on Startup?" then
710the interface will start as well and you'll be receiving packets.
711
712Browse "http://www.aprs2.net/" to find a reasonable set of servers
713to start with.  Another possibility is to use "rotate.aprs2.net"
714port 14580, which theoretically should rotate among the available
715second-tier servers.  See "http://www.aprs2.net" for more info.
716You'll need to put in a filter string, such as "r/35/-106/500" which
717shows you stations that are within 500km of 35dN/106dW (Thanks for
718that one Tom!).  For additional filter settings check out:
719
720    http://www.aprs-is.net/javaprssrvr/javaprsfilter.htm
721
722*) Start that interface from the Interface->Start/Stop dialog if
723it's not started already.  You'll see icons in the lower right
724toggling and see callsigns in the lower left status box if packets
725are coming in.
726
727One thing about configuration:  Most things don't get written to
728Xastir's config file until you choose either "File->Configure->Save
729Config Now!" or you exit Xastir.  Map Selections however are
730immediate.
731
732*) Creating/starting interfaces for other types of devices is
733similar.  If you're wanting to create AX.25 kernel networking ports
734you'll have to refer to the HAM HOWTO documents and perhaps the
735linux-hams mailing list for help.  For AGWPE connections refer to
736that AGWPE docs and mailing list.
737
738It's recommended that if you run a local TNC, you run it in KISS
739mode.  You can do that via the Serial KISS TNC interface, or via
740AX.25 Kernel Networking ports.
741
742Some of the more esoteric types of interfaces may require some
743questions on the Xastir list.  Don't be afraid to ask them as we've
744all been there before.
745
746
747A Note About Paths:
748-------------------
749New path methods were discussed early April, 2005, and are being
750implemented world-wide:
751
752    "WIDE2-2" for fixed stations, balloons, aeronautical-mobile
753    "WIDE1-1,WIDE2-1" for mobiles/portables
754
755With this system, "WIDE1-1" has replaced "RELAY".  Never use
756"WIDE1-1" in anything but the first path slot.  "RELAY", "WIDE",
757"TRACE", and "TRACEn-N" are deprecated and should not be used
758anymore.
759
760If you want to insert a single hop callsign later in the path use
761"WIDE2-1" instead, for example:  "WIDE1-1,WIDE2-1" will go exactly
762two hops and use _either_ home fill-in digi's or mountaintop digi's
763for the first hop, mountaintop digi's only for the second hop.
764
765Home fill-in digi's (only where absolutely needed) should be set up
766to respond to "WIDE1-1" instead of "RELAY".
767
768
769A Note About the Map Directory:
770-------------------------------
771The map directory (/usr/local/share/xastir/maps/) is free-form,
772meaning you can have links in there, subdirectories, etc.  Organize
773it in any way that makes sense to you.  From within the Map Chooser
774you can select a directory name, which will select every map
775underneath that directory, so keep that in mind while organizing
776your maps.
777
778
779Enabling Weather Alerts:
780------------------------
781You must have Shapelib compiled into Xastir.  Xastir now comes with
782Shapelib support built-in.  PRCE/dbfawk are optional.  Install NOAA
783shapefile maps as specified in README.MAPS.  These files must be
784installed into the /usr/local/share/xastir/Counties/ directory.  You
785may use this script to download/install them for you:
786
787    "/usr/local/share/xastir/scripts/get-NWSdata"
788
789which must be run as the root user, and requires "wget" to work.
790
791A neat trick:  You can copy some of these maps into the
792/usr/local/share/xastir/maps directory somewhere (a new subdirectory
793under there is always fine), then you can select some of these maps
794as regular Xastir maps as well.
795
796
797Enabling FCC/RAC Callsign Lookup:
798---------------------------------
799
800Run the /usr/local/share/xastir/scripts/get-fcc-rac.pl script as root,
801which will download and install the proper databases into the
802/usr/local/share/xastir/fcc/ directory.  At that point the callsign
803lookup features in the Station Info dialog and in the "Station->Find
804Station" menu option should be functional.
805
806
807Enabling Map Feature Lookup:
808----------------------------
809Install USGS GNIS files into the /usr/local/share/xastir/GNIS/
810directory.  Call out the proper file when invoking the "Map->Locate
811Map Feature" menu option.  Note that if you also link a subdirectory
812name under the maps directory back to the
813/usr/local/share/xastir/GNIS/ directory, you'll be able to use the
814GNIS files as maps under the Map Chooser as well.  See README.MAPS
815for how to do this.
816
817
818Enabling Street Address Lookup:
819-------------------------------
820Download the USA.geocode file and install it into the
821/usr/local/share/xastir/GNIS/ directory.  This will enable the
822"Map->Find Address" menu option to work.  Xastir will place a big
823"X" on the map at the street address it finds for you.  This file is
824sometimes available at http://www.dementia.org/geocoder/tgr2003/
825As an alternative you can download the individual state files that
826are located there.
827
828
829Enabling Audio Alarms:
830----------------------
831Download and install sample audio files from Xastir's GitHub
832download site:
833
834  git clone http://github.com/Xastir/xastir-sounds
835
836Copy the files to your Xastir sounds directory, for instance:
837  /usr/local/share/xastir/sounds/
838
839Install a command-line audio player.  Call out the path/name of that
840player in the File->Configure->Audio Alarms dialog.  Common ones are
841vplay and auplay, but there are many others.  Enable the types of
842alarms you desire in that same dialog.
843
844You should be able to test it manually from a shell by typing the
845command in something like this:  vplay filename
846
847Once you find a command that works, type it into Xastir's Audio
848Alarms dialog exactly the same except omit the filename.
849
850
851Enabling Synthesized Speech:
852----------------------------
853*) MacOSX
854    TBD
855
856*) Windows
857    TBD
858
859*) Linux/FreeBSD/Solaris
860Install the Festival Speech Synthesizer.  Configure/compile support
861for it into Xastir.  Start up the Festival server before starting
862Xastir.  Xastir should start up and connect to the server.  Use the
863options in File->Configure->Speech to decide which things you'd like
864Xastir to speak to you about.
865
866Note that the Proximity Alert option in the File->Configure->Speech
867dialog uses the distances set in the File->Configure->Audio Alarms
868dialog.
869
870
871Enabling GPS Waypoint/Track/Route Download Support:
872---------------------------------------------------
873Install GPSMan and gpsmanshp.  Configure/compile support for it in
874Xastir.  Start up GPSMan separately and configure it for your GPS
875and serial port.  You'll see download options for each type on the
876Interface menu.
877
878Note that Xastir requires a version of gpsman at least as recent as 6.1.  Older
879versions of gpsman may not work.
880
881
882Enabling Garmin RINO Support:
883-----------------------------
884Install GPSMan (and gpsmanshp if you wish normal GPS download
885support as well).  Configure/compile support for it in Xastir.
886Start up GPSMan separately and configure it for your GPS and serial
887port.  In the "File->Configure->Timing" dialog you'll see an option
888for "RINO -> Objects Interval".  That sets the interval at which
889Xastir will download waypoints from an attached RINO unit.  Any
890waypoints that begin with "APRS" will have the "APRS" chopped off,
891and the remaining name will be used to create APRS(tm) Objects.  Those
892objects will be plotted on the map and transmitted as well if
893transmit for objects/items is enabled.
894TBD
895
896
897Transmit Enable/Disable Options:
898--------------------------------
899Each interface has a separate transmit enable.  The Interface menu
900also has a few global transmit enables.  All of these must be
901enabled for a particular interface to transmit.  Also, for Internet
902servers, you typically need to authenticate with the server using
903your callsign/pass-code before you're allowed to inject packets into
904the Internet stream which may get gated out to RF.  If you just want
905to talk to other Internet users, you don't need a pass-code to
906authenticate to the servers.
907
908
909Igating Options:
910----------------
911There are igating options on each local TNC interface.  There are
912other global igating options on the File->Configure->Defaults
913dialog.  The global option sets restrictions on all igating.
914
915
916Where stuff is kept:
917--------------------
918
919Per-user configurations are kept in each user's ~/.xastir directory, by
920default.  In particular the ~/.xastir/config/xastir.cnf file is where most
921of the configs are kept.  This directory can be optionally specified using
922the -c /path/dir command line option.  Make sure you specify a directory,
923not a file!  Xastir will create the directory and several subdirectories if
924they do not exist when you start up.
925
926A few executables are installed in /usr/local/bin/.
927
928Scripts are installed in /usr/local/share/xastir/scripts.
929
930Maps are installed in /usr/local/share/xastir/maps/.  Lots of other
931directories are under /usr/local/share/xastir/.
932
933
934More?
935-----
936Anything else?  Let's hear about what's still confusing or needs to
937be expanded in this document.  Thanks!
938
939
940APRS(tm) is a Trademark of Bob Bruninga
941
942Copyright (C) 2000-2019 The Xastir Group
943
944