"scpl" takes its input from text file.Following script will create such file named "cmd" so you can see how it looks like.Later you can just run "scpl cmd".
This script displays text on chosen UA set.
Code: Select all
#this code is provided without any warranty
#and distributed for educational purposes only
#use at your own risk
#author has no responsibility for any damages it will cause do to you system!
#this script designed for UA 4034/4035 sets with large display
#Actually will be no problem on 4023/4020 etc. but user will see just part of a string
DESTI=0
SRC_ID=0
TYPE_ID=161
DATA_SRC="23 00 39 00 00 66 105 71 32 66 114 111 116 104 101 114 32\
105 115 32 119 97 116 99 104 11 00 39 01 20 105 110 103 32 121 111 117 33"
echo "input cr_nbr.: \c"
read CR_NBR
echo "input cpl_nbr.: \c"
read CPL_NBR
echo "input us_term.: \c"
read US_TERM
echo "input term_nbr.: \c"
read TERM_NBR
echo $DESTI > cmd
echo $SRC_ID >> cmd
echo $CR_NBR >> cmd
echo $CPL_NBR >> cmd
echo $US_TERM >> cmd
echo $TERM_NBR >> cmd
echo $TYPE_ID >> cmd
echo $DATA_SRC >> cmd
tool scpl cmdFor you programmers - create a shell script which allows to send any message to any user according to his set type -i.e. you input a text message and script will create DATA_SRC accordingly and share it here!
Have fun

