Downloading and Installing tk92
on Linux-Based Systems

Version 0.7

tk92 runs in the X Windows System graphical environment and is independent of your desktop manager (e.g., KDE or Gnome). tk92 has been tested on a 1400 MHz AMD Athlon® based computer running Red Hat® Linux® 7.3 with kernel 2.4.18-4. and Tcl/Tk version 8.4, patchlevel 8.4.1.

This is experimental software and probably contains defects. It remains under development. When available, newer versions of tk92 will be made available for download at this web site.

Downloading and Installing tk92 for Linux

  1. You will need tcl/tk version 8.4 or later. At the time this is being written, version 8.4 is new and is not yet available in RPM format. Therefore, you will have to download the binary file and run the install.sh script.

    View the installation notes for tcl/tk version 8.4. Download and install the free tcl/tk software from: http://downloads.activestate.com/ActiveTcl/Linux/8.4.1/ActiveTcl8.4.1.0-linux-ix86.tar.gz . (The file size is about 10.4 MB.)

  2. Create a new installation directory on your system, e.g.,
    mkdir /home/username/tk92
    
  3. Download the gzipped version of tk92, tk92-0.7.tar.gz into the installation directory you created earlier.
  4. Decompress and untar the file after downloading it:
    cd /home/username/tk92
    tar -zxvf tk92-0.7.tar.gz
    
    This will create a new subdirectory, named tk92.0.7 and place the files there.
  5. Define and export tk92, a new environment variable to point to the installation subdirectory just created.
    tk92=/home/username/tk92/tk92.0.7
    export tk92
    
    To make the change permanent, you must add the two lines above to your shell's profile, e.g., /home/username/.bash_profile if you use the bash shell.
  6. Remove the .tk92rc configuration file if you have one from a previous installation.
  7. To ensure the tk92 environment variable is made known within X Windows, you should logout, login again, then restart your graphical user interface before using tk92 for the first time.

Notes

  1. Make sure your serial port has both read and write permissions for the user who will run the program.

    For example, I use /dev/ttyS1 as the serial port to connect the radio. If I type in a console window:

    ls -l /dev/ttyS1
    
    the output shows the permissions:
    crw-rw-rw-    1 root     uucp       4,  65 Aug 15 06:40 /dev/ttyS1
    
    Notice that /dev/ttyS1 is readable and writeable by everyone (user, group, and others).

    Login as root or run the su program to assume root privileges. Then, change the permissions and exit.

    chmod   ugo+rw   /dev/ttyS1
    exit
    
  2. Be sure to read a memory image from your radio and save it in a template (.spg) file as a backup before making any changes.
  3. See the Release notes.
  4. tk92 presumes the wish windowing shell is in your PATH.

Revised December 17, 2002