#!/bin/sh #item ####description ###on off ### rm -f /tmp/SeTnewtag # empty the return file dialog --title "SELECTING PACKAGES FOR SERIES D (PROGRAM DEVELOPMENT)" \ --checklist "Please select the packages you wish to install \ from series D. 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." 22 70 11 \ "binutils" "GNU C compiler utilities" "on" \ "bison" "GNU bison parser generator 1.22" "on" \ "byacc" "Berkeley Yacc" "off" \ "f2c" "Fortran-77 to C translator" "off" \ "flex" "Fast lexical analyzer generator 2.5.2" "on" \ "gcc270" "GNU C compiler and support files 2.7.0" "on" \ "gxx270" "GNU C++ compiler and support files" "on" \ "gccaout" "GNU C compiler for old a.out binformat" "off" \ "gxxaout" "GNU C++ compiler for old a.out binformat" "off" \ "gdb" "The GNU debugger 4.14" "off" \ "gcl" "GNU Common LISP" "off" \ "gmake" "GNU make" "on" \ "libaout" "libs for running/developing a.out binaries" "on" \ "libc" "Development libs 4.6.27 for the C compiler" "on" \ "libgxx" "GNU C++ library" "on" \ "libcinfo" "Info files for the C compiler" "off" \ "m4" "GNU m4 1.4" "on" \ "man2" "Man pages for Linux system calls" "off" \ "man3" "Man pages for C library functions" "off" \ "ncurses" "A curses-compatible library" "off" \ "objc270" "GNU Objective-C compiler" "off" \ "p2c" "A Pascal to C translator 1.19" "off" \ "perl" "Larry Wall's interpreted systems language" "off" \ "pmake" "BSD 4.4 make" "on" \ "rcs" "GNU revision control system" "off" \ "svgalib" "Svgalib Super-VGA Graphics Library" "off" \ "strace" "Traces program execution" "off" \ "terminfo" "Complete /usr/lib/terminfo database" "off" \ 2> /tmp/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f /tmp/SeTpkgs exit fi cat /dev/null > /tmp/SeTnewtag for PACKAGE in gcc270 gxx270 objc270 gccaout gxxaout \ libcinfo libgxx man2 p2c pmake flex byacc \ gcl gdb bison f2c libc ncurses gmake strace svgalib libaout \ perl rcs binutils m4 man3 libaout terminfo ; 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