Previous Next Table of Contents

6. Sunsite Packages

Each package comes with its own README files, and you should read them. However it often helps to read an example installation, to get an quick intro to what the manual is talking about.

Annotate each step with additional settings you used on that installation.

6.1 xearth

This is a program that build out of the box. It becomes the wall paper. You can find it on sunsite=disk4

        cd /tmp/pkgs_cd
        tar -zxf /cdrom/X11/xapps/graphics/xearth-0.92.tar.gz    
        cd xearth-0.92
        xmkmf
        make install
        make install.man

        xearth
        xearth   -pos "fixed 62.4 -51.1" -grid &
        man xearth

6.2 eject - cdrom

This is a utility that opens the CDROM drive tray. The kernel driver used to do that automatically when closing the device, but apparently, people complained about excessive tray activity during reboots.

The eject utility won't work if the device is held open by another application, such as workman, or mount.

Do the ususal installation: (HINT use mc to help you)

        cd /tmp/pkgs_cd 
        tar -zxf /cdrom/utils/disk-management/eject-1.1.tar.gz
        cd eject-1.1
        make install

6.3 Arena

Mosaic and netscape are deleted from the InfoMagic (and other) CDROM distributions of sunsite, for copywrite reasons (ie at request of author). They are Licensed for anonymous-ftp, and are on several ftp sites. Look in /sunsite/system/Network/info-systems.

Arena IS available on the CDROM's. Not as source (yet) but as a simple jigsaw of linkable pieces.

#       /cdrom = sunsite disk4

        cd /cdrom/system/Network/info-systems
        tar -C /tmp/pkgs_cd -zxf arena-elf.tar.gz 
        cd /tmp/pkgs_cd/arena-linux-elf-linkkit
        vi README
use cut and paste to run the following. ld is the link-loader which finds shared libraries when a package is run. You have to either install the Arena libraries in a system directry, or tell the system to look in the Arena directory (which you could not then delete, without losing Arena).
        gcc -o arena arena.o libXext.so libX11.so libjpeg.so libwww.a  -lm
        mv arena /usr/local/bin

        echo /tmp/pkgs_cd/arena-linux-elf-linkkit >> /etc/ld.so.conf
        /sbin/ldconfig

        arena /home/gps/ravn/tmp/ssr1a.html &

Arena lacks file browsers (which is a shame for a network browser), and it has problems with font BACKGROUNDS overwriting adjacent lines, during scrolling (refresh cleans it all up). However it works and it is on the disks.

It is reported as being very HTML/3 compattible.

Good placs to start are the EXCELLENT sunsite Index.html pages in every directory, and the docs/HTML directories on disk1, ie the LDP manuals in HTML format. Or the Raven pages.

6.4 xloadimage-4.1

xloadimage is a graphics viewer (and library of code). If you don't have it, you can use xv instead.

It needed a tiny edit to a system makefile, because something got defined twice, slightly differently in two .h files, in two sub-systems. If your system works OK, don't edit the .h files!

installing

        cd /cdrom/X11/xapps/graphics/viewers
        tar -C /tmp/pkgs_cd -zxf xloadimage.4.1.tgz
        cd /tmp/pkgs_cd/xloadimage/
        make 

At this stage, the make process blew-up, so I attempted a kludge to fix it. You will just have to figure it out from the error messages.

typedef unsigned long whar_t;

I edited this into /usr/lib/gcc-lib/i486-linux/2.7.0/include/stddef.h, line 240. This is because of /usr/X11R6/include/X11/Xlib.h (line 79).

su root -c "make install"

Takes a while.

6.5 xloadimage /tmp/fix_fax/page.pbm

xloadimage can read .pbm files, or pipes with data in .pbm format. It is an alternative to XV, (it exits with the 'q' key).

It makes an ideal fax viewer. See efax in Issue-3.

xloadimage /tmp/fix_fax/page.pbm

If you have installed efax (as described in issue-3), you can use xloadimage to view pbm files, generated by efix from fax/g3 files.

This shows that the g3 file generated by efax are perfect, using the default plain-text builtin hi-res- font. It shows that viewing files at the wrong resolution, can make you believe that the file is wrong, when it is the view.

Converting files from g3 to pbm uses a lot of disk space. You can do it with pipelines, instead of files. See the section on efax in Issue-3.

xloadimage /tmp/fix_fax/page.pgm

This shows that a g3 file converted to pgm is very hard to read, and pbm may be a better option.

Edit /usr/bin/fax, so that xloadimage is called by fax view page.001

xloadimage to view tk.ps reference card


        pbm=pbm
        gs      \ 
                -sDEVICE=$pbm   \ 
                -sOutputFile=tk.%d.$pbm \ 
                -dNoPause               \ 
                -r180x180               \ 
                -dSAFER                 \ 
                tk.ps 

        xloadimage tk.1.$pbm
This looks quite good, but may be due to the very high resolution (180 dpi compared with a typical screen 90). Compared to well chosen bit-mapped fonts, such as those used by tk/x11 it's sad.

The -dSAFER option to ghostscript, is to reduce the risk of running a trojan. Postscript is a programming language that can delete files or call programs. The -dSAFER option, attempts to prevent someone putting a trojan into a normal postscript file.


Previous Next Table of Contents