It's a script, and it's pretty simple to be honest, even I can understand it...
More specifically, it even has the recognition function probably copied from Niluje's code.
Problem is I don't know what I should change.
I don't want to put the whole code here, it doesn't seem fair, however, the core of his script does this:
Code:
while :
do
Time=`date +%H:%M`
eips $((${EIPS_MAXCHARS} - 8)) 1 $Time
sleep 1
done
And the function that recognize the model is the usual Niluje's stuff (of which I only report the part that should affect my specific model):
Code:
case "${kmodel}" in
...
* )
# Handle legacy devices...
if [ -f "/etc/rc.d/functions" ] && grep "EIPS" "/etc/rc.d/functions" > /dev/null 2>&1 ; then
. /etc/rc.d/functions
else
# Try the new device ID scheme...
kmodel="$(cut -c4-6 /proc/usid)"
case "${kmodel}" in
"0G1" | "0G2" | "0G4" | "0G5" | "0G6" | "0G7" )
# PW3... NOTE: Hopefully matches the KV...
SCREEN_X_RES=1088
SCREEN_Y_RES=1448
EIPS_X_RES=16
EIPS_Y_RES=24
;;
* )
# Fallback... We shouldn't ever hit that.
SCREEN_X_RES=600
SCREEN_Y_RES=800
EIPS_X_RES=12
EIPS_Y_RES=20
;;
esac
fi
;;
esac
Now, my guess is, if I want the font of a different size the only thing I can leverage upon is that EIPS_X_RES, EIPS_Y_RES I don't know the meaning of.
By the look of the code, it seems that to have a bigger font I shall reduce those EIPS figures, is that correct?