-
Well, I (partially) answered my own question...by trying to download "sillypoker".
klik said I needed to update it...and did so. Then I went ahead with the "sillypoker" download.
klik says "90%", whereas 100% of 46.1 KB shows complete.
I opened the file ' .zAppRun ' (it's the only new thing I could find in my HOME folder) with KWrite, and here are the contents:
#!/bin/sh
# by probono at myrealbox dot com
# thanks to bfree
# GPL
#
# ok we need dialogs now
#
if [ -z "$DIALOG" ] ; then
# Determine which dialog to use in which situation:
# Xdialog (in all other cases)
DIALOG=Xdialog
# kdialog (in case there is no console available and we are running KDE)
( ps -e 2>/dev/null | grep kdeinit >/dev/null 2>&1 ) && DIALOG=kdialog
# dialog (in case there is a console available)
GUIMODE=$(tty)
( echo $GUIMODE | grep /dev/tty[:digit:] >/dev/null ) && DIALOG=dialog
fi
# Setup defaults for whatever dialog we are using
case $DIALOG in
kdialog)
DIALOG_OPTIONS=" --caption klik" ;
KLIKDIR=":klikdir" ;;
Xdialog|dialog)
DIALOG_H=12
DIALOG_W=60
DIALOG_OPTIONS=" $DIALOG_H $DIALOG_W" ;
KLIKDIR="~" ;;
esac
derror(){
case $DIALOG in
kdialog)
$DIALOG --error "$1" $DIALOG_OPTIONS
;;
Xdialog|dialog)
$DIALOG --msgbox "ERROR: $1" $DIALOG_OPTIONS
;;
esac
}
# check fstab and warn if neccessary entries are not there
# better use /media/klik according to FSH?
if [ -z "$(cat /etc/fstab | grep app/7)" ]
then
derror "Your /etc/fstab is not yet prepared for mounting .cmg images.
As root, please make /mnt/app writeable and add the following lines:
################################################## ##############
/mnt/app/1/image /mnt/app/1 auto user,noauto,ro,loop,exec 0 0
/mnt/app/2/image /mnt/app/2 auto user,noauto,ro,loop,exec 0 0
/mnt/app/3/image /mnt/app/3 auto user,noauto,ro,loop,exec 0 0
/mnt/app/4/image /mnt/app/4 auto user,noauto,ro,loop,exec 0 0
/mnt/app/5/image /mnt/app/5 auto user,noauto,ro,loop,exec 0 0
/mnt/app/6/image /mnt/app/6 auto user,noauto,ro,loop,exec 0 0
/mnt/app/7/image /mnt/app/7 auto user,noauto,ro,loop,exec 0 0
################################################## ##############"
exit 1
fi
# rewrite cmdline to use absolute instead of relative paths, thanks bfree
NEWCMD=$(perl -e '$newcmd=shift(@ARGV);foreach $arg (@ARGV){ @part=split(/\=/,$arg); foreach $part (@part){ (-e "$ENV{PWD}/$part") && ($part="$ENV{PWD}/$part");}$newcmd.=" ".join ("=",@part);} print "$newcmd";' $@)
set -- $NEWCMD
# if no arguments are passed and
# there is a .cmg in the same directory as this
# script, then use the .cmg
DIRNAME=$(dirname $0)
if [ -z $1 ]
then
CMG=$(find "$DIRNAME" -iname '*.cmg'|head -n 1) || exit 1
echo "Found $CMG, using it"
else
CMG="$1"
shift
fi
make path to CMG absolute, thanks bfree
case $CMG in
/*) ;;
*) CMG=$(pwd)/$CMG ;;
esac
# determine which filesystem is used as .cmg
file $CMG | grep ": data" >/dev/null && FS=squash # who knows a better way to recognize it?
file $CMG | grep "Compressed ROM" >/dev/null && FS=cram
file $CMG | grep "ISO 9660" >/dev/null && FS=iso
if [ -n "$FS" ]
then
NUMBERS="7 6 5 4 3 2 1"
for NUMBER in $NUMBERS
do
[ -e "/mnt/app/$NUMBER" ] || MNTNUM=$NUMBER
done
case $FS in
squash) MOUNT=/mnt/squash/$MNTNUM ;;
*) MOUNT=/mnt/app/$MNTNUM ;;
esac
mkdir -p $MOUNT || exit 1
ln -s $CMG $MOUNT/image || exit 1
mount $MOUNT || derror "Unable to mount $MOUNT"
else
# NOTE: exit now cause our cmg isn't mounted
derror "$CMG does not appear to be either a squashfs, iso9660 or a cramfs file"
exit 1
fi
#
# execute the wrapper
# the wrapper should take care to keep running until its app closes
#
# we need this so that on the cmdline, pipes etc work
CMDLINE="yes"
( tty | grep ^/dev/tty >/dev/null ) && CMDLINE=""
( tty | grep ^/dev/pts >/dev/null ) && CMDLINE=""
if [ "$CMDLINE" = "yes" ] ; then
RESULT=$($MOUNT/wrapper $@ 2>&1) || error "$RESULT"
else
$MOUNT/wrapper $@
fi
# kill all child processes
kill $(pidof -x -o %PPID) 2>/dev/null
# unmount and clean up
umount $MOUNT
rm -f $MOUNT/cramfs
rm -r $MOUNT/
Hope this means something to some of you here...
Any help or comments?
Thanks...
Similar Threads
-
By CMDR Sweeper in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 02-07-2006, 06:12 PM
-
By computerman0216 in forum General Support
Replies: 1
Last Post: 01-15-2004, 03:35 AM
-
By Tuschedz in forum General Support
Replies: 3
Last Post: 10-03-2003, 06:42 AM
-
By brainlessdumb in forum Customising & Remastering
Replies: 0
Last Post: 04-28-2003, 02:23 PM
-
By Mycroft1855 in forum Customising & Remastering
Replies: 4
Last Post: 02-16-2003, 11:19 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99

Intel Core i7-9700 3.0 GHz Octo-Core (SRG13) Processor
$150.00

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested
$35.00

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

Intel Core i7-3770K 3.5 GHz Processor
$39.00

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$67.99

intel core brand new never used i5-11400f LGA1200
$85.00

Intel Core i5-14400F 2.50GHz 6 Core SRN3R 16 Thread LGA 1700 CPU
$165.00