1. readline and ncurses
   For example in ubuntu,
   sudo apt-get install libncurses5-dev
   sudo apt-get install libreadline6-dev

2. vxi11 libraray
   Download vxi11 libraray
   from https://github.com/applied-optics/vxi11
   linked from http://optics.eee.nottingham.ac.uk/vxi11/
   place vxi11-master at some directory and make a symbolic link.
   $ ln -s ./vxi11-master/libraray ./vxi11


3. scopeman
   Extract scopeman in the same directory as the vxi11.
   $ tar xvzf scopeman.tgz
   Then you have directoris, 
      scopeman, vxi11-mater, vxi11(sympblic link)

4. Compile
   (0) Only for MAC OSX, apply patch, otherwise skip.
   $ cd scopeman
   $ patch -p1 -d ../vxi11-master < vxi11_osx.patch 
   $ cd ..
   
   (1) Compile vxi11
   $ cd ./vxi11-master/
   $ make
   $ cd ..
   
   (2) Compile scopeman
   $ cd scopeman
   $ make
   Then you have scopeman and dump

5. How to run
   ./scopeman [ip of the tektornix oscillosocpe]
    Then you can type "help" in the prompot to see how to use.

6. Comment on GETIMG
   You need a viewer of png files.
   The "display" command is assigned in the scopeman.cc
   You may change the command by editting the source code.
   The name of the image file stored in the oscilloscope 
   is assumed to be "image.png" or "Image.png".
   You may change it by editing the source code.
   
   
   
   