OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: propofol on December 19, 2005, 01:30:34 am
-
I have compiled Povray 3.6.1 & linstanpump 0.2 (linux port of the DOS program stanpump) for the Zaurus. If anyone is interested in trying either program:
http://www.ingogo.net/Zaurus/index_.htm (http://www.ingogo.net/Zaurus/index_.htm)
or
http://www.killefiz.de/zaurus/ (http://www.killefiz.de/zaurus/)
Regards,
Stefan
-
i download http://www.ingogo.net/Zaurus/linstanpump_0.2_arm.tar.gz (http://www.ingogo.net/Zaurus/linstanpump_0.2_arm.tar.gz)
but cant figure what to do next, it is not ipk format what can i do ??
-
You should be able to:
gzip -d linstanpump_0.2_arm.tar.gz
tar xvf linstanpump_0.2_arm.tar
-
linstanpump needs to be run from the commandline:
Unzip it using the Terminal or Konsole as described above.
If you have copied linstanpump_0.2_arm.tar.gz to your CF card:
cd /mnt/cf
tar xzvf linstanpump_0.2_arm.tar.gz
make sure it is executable if it is on a ext2 filesystem: chmod a+rx linstanpump
run with: ./linstanpump
You can also copy it to /usr/bin or /mnt/card/usr/bin (provided that you have added these to the PATH environment variable).
Regards,
Stefan
i download http://www.ingogo.net/Zaurus/linstanpump_0.2_arm.tar.gz (http://www.ingogo.net/Zaurus/linstanpump_0.2_arm.tar.gz)
but cant figure what to do next, it is not ipk format what can i do ??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119358\"][{POST_SNAPBACK}][/a][/div]
-
i apploogize for being so quick to post my question without looking into it... thought it had to be in ipk format...
so actually got it "installed" without checking back here to read this, but am having problems running it:
from the terminal it says:
linstanpump: error while loading shar
ries: libncurses.so.5: cannot load shar
t file: No such file or dirctory
the missing word bits i guess are somehwere of the screen,
?? i guess i need the libncurses pack ?? but can someone find a working link for it and how to install it ??
i did try: libncurses_5.0_arm.ipk from http://www.dasgehtdichnichtsan.de/zaurus/l...ses_5.0_arm.ipk (http://www.dasgehtdichnichtsan.de/zaurus/libncurses_5.0_arm.ipk)
but it didnt help,
and ive seen mentioned libncurses5_5.0-6.0potato1_arm.ipk , but im still looking for a dl source, but i also got pre-emtive and tried to do the rrw remount of the drive as it says you need to , to install it but i get operation not permitted (even though in su)
-
i just found this:
Try doing this as root instead of installing libncurses5
CODE
ln -s /lib/libncurses.so.4.2 /usr/lib/libncurses.so.5
Hope it works
from here:
https://www.oesf.org/forums/index.php?showt...1_arm\.ipk (https://www.oesf.org/forums/index.php?showtopic=10237&hl=libncurses5_5\.0-6\.0potato1_arm\.ipk)
so i uninstalled the pack i said i tried, and then did the symlink...
well it seems to work i got further in, but now i get error:
***************ERROR******************
Your screen is too small for stanpump to run on.
Please resize window to allow at least:
80 characters wide x 25 lines tall
any ideas ???
-
I use QKonsole:
Under "Fonts", I have selected Fixed->12. This is still does not allow for enough space, so select "View->Full Screen".
You could select "Fonts->fixed->7" however it is barely readable.
Regards,
Stefan
well it seems to work i got further in, but now i get error:
***************ERROR******************
Your screen is too small for stanpump to run on.
Please resize window to allow at least:
80 characters wide x 25 lines tall
any ideas ???
-
BTW I have a C860. I am not sure if there is any way to run linstanpump on a 5500 Zaurus. It may be possible to enable a larger screen than what the screen size would allow.
I use QKonsole:
Under "Fonts", I have selected Fixed->12. This is still does not allow for enough space, so select "View->Full Screen".
You could select "Fonts->fixed->7" however it is barely readable.
Regards,
Stefan
well it seems to work i got further in, but now i get error:
***************ERROR******************
Your screen is too small for stanpump to run on.
Please resize window to allow at least:
80 characters wide x 25 lines tall
any ideas ???
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121492\"][{POST_SNAPBACK}][/a][/div]
-
no good, still same problem... but i noticed the dimensions would be possible if the screen was rotated 90 deg.
so soon im going to try some other roms and let you know....
-
Not sure if anyone is interested however I have made a script which uses gnuplot to generate an image (png) of the data generated by linstanpump. It remove all the extra files and creates a ".dat" file which gnuplot can use.
========================================================
#!/bin/bash
#graph.sh
#Generate gnuplot script which will plot the data to a png image
#usage "./graph.sh filename" (note: don't add extention)
if [ -r "${1}.gra" ]
then
echo "${1}.gra found"
else
echo "File not found"
exit
fi
rm -f "${1}.pk" "${1}.err" "${1}.drg" "${1}.cmm" "${1}.dat"
awk -F, '{ printf ("%f %f %f\n", $1, $3, $4) ; }' ${1}.gra > ${1}.dat
echo "set terminal png medium color" > plot.gnu
echo "set output \"${1}.png\"" >> plot.gnu
echo "set title \"Drug concentration\"" >> plot.gnu
echo "set xlabel \"Time (min)\"" >> plot.gnu
echo "set ylabel \"Concentration\"" >> plot.gnu
echo "plot '${1}.dat' using 1:2 title 'Plasma' with lines, \\" >> plot.gnu
echo " '${1}.dat' using 1:3 title 'Effect site' with lines" >> plot.gnu
#echo "pause -1" >> plot.gnu
gnuplot plot.gnu
======================================================
Usage:
copy "graph.sh" to a directory ie on CF card (/mnt/cf/data)
cd /mnt/cf/data
chmod a+x graph.sh
run linstanpump - this will generate a list of files ie fent.gra, fent.err, fent.dat etc
./graph.sh fent (note : no extension)
the resulting image will be fent.png
I have added an example image of the blood & brain concentration after giving fentanyl bolusses IV.
Regards,
Stefan