#!/bin/sh #item ####description ###on off ### cat /dev/null > /tmp/SeTnewtag dialog --title "SELECTING PACKAGES FROM SERIES XAP (X APPLICATIONS)" \ --checklist "Please select the packages you wish to install \ from series XAP. Use the \ UP/DOWN keys to scroll through the list, and the SPACE key to select \ the packages you wish to install. Recommended packages have \ already been selected for you, but you may unselect them if you wish. \ Press ENTER when you are \ done." 21 70 10 \ "arena" "A graphical browser for the World Wide Web" "off" \ "fvwm95" "A window manager to make X resemble Win95" "on" \ "gs_x11" "Adds X11 driver to Ghostscript" "on" \ "libgr" "Graphics-related libraries and header files" "on" \ "seyon" "A complete telecommunications package" "on" \ "gnuplot" "Gnuplot function plotting utility" "off" \ "xv" "XV GIF/TIFF/JPEG/PostScript Image Viewer" "on" \ "gchess" "GNU chess and xboard" "off" \ "xfm" "xfm, an X windows filemanager" "off" \ "xfileman" "another X filemanager" "off" \ "ghstview" "Ghostview 1.5" "on" \ "x3270" "x3270 3.0.1.3 - IBM host access tool" "off" \ "xgames" "A collection of X windows games" "off" \ "xfract" "Fractint for X" "off" \ "xpaint" "A color painting/image editing program" "off" \ "xspread" "An X windows spreadsheet" "off" \ "xxgdb" "xxgdb-1.12" "off" \ 2> /tmp/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f /tmp/SeTpkgs > /tmp/SeTnewtag for pkg in gchess ghstview gnuplot gs_x11 seyon xxgdb arena libgr x3270 \ xfm xpaint fvwm95 xfileman xfract xgames xspread xv ; do echo "$pkg: SKP" >> /tmp/SeTnewtag done exit fi cat /dev/null > /tmp/SeTnewtag for PACKAGE in gchess xfm ghstview x3270 xgames xspread xxgdb \ arena xfileman gnuplot gs_x11 libgr seyon xv \ fvwm95 xfract xpaint ; do if fgrep \"$PACKAGE\" /tmp/SeTpkgs 1> /dev/null 2> /dev/null ; then echo "$PACKAGE: ADD" >> /tmp/SeTnewtag else echo "$PACKAGE: SKP" >> /tmp/SeTnewtag fi done rm -f /tmp/SeTpkgs