/ REGZA リモコンで入力面倒? Tira-2.1が無いと使えません(笑)

REGZA リモコンで入力面倒? Tira-2.1が無いと使えません(笑)

#!/bin/csh
    
case1:
echo ""
echo "最初の文字を選択してください"
echo "Input あ-ん"
    
echo "0 あ行"
echo "1 か行"
echo "2 さ行"
echo "3 た行"
echo "4 な行"
echo "5 は行"
echo "6 ま行"
echo "7 や行"
echo "8 ら行"
echo "9 わ 記号"
echo "C Continue"
echo "E End"
echo "M Input_Mode"
echo "K Enter"
echo ""
    
set ch = $<
    
##################################################
if ( "$ch" == 0 ) then
sleep 1
/usr/local/bin/tira2_trans2 /usr/local/bin/tira2code/R-1
goto case1
else
if ( "$ch" == C ) then
/usr/local/bin/tira2_trans2 /usr/local/bin/tira2code/R-right
goto case1
else
if ( "$ch" == E ) then
exit
endif
##################################################
if ( "$ch" == 1 ) then
sleep 1
/usr/local/bin/tira2_trans2 /usr/local/bin/tira2code/R-2
#
goto case1
else
if ( "$ch" == C ) then
/usr/local/bin/tira2_trans2 /usr/local/bin/tira2code/R-right
goto case1
else
if ( "$ch" == E ) then
exit
endif
##################################################
if ( "$ch" == 2 ) then
sleep 1
/usr/local/bin/tira2_trans2 /usr/local/bin/tira2code/R-3
#
goto case1
else
if ( "$ch" == C ) then
/usr/local/bin/tira2_trans2 /usr/local/bin/tira2code/R-right
goto case1
else
if ( "$ch" == E ) then
exit
endif
##################################################
if ( "$ch" == 3 ) then
sleep 1
/usr/local/bin/tira2_trans2 /usr/local/bin/tira2code/R-4
#
goto case1
else
if ( "$ch" == C ) then
/usr/local/bin/tira2_trans2 /usr/local/bin/tira2code/R-right
goto case1
else
if ( "$ch" == E ) then
exit
endif
##################################################
if ( "$ch" == 4 ) then
sleep 1
/usr/local/bin/tira2_trans2 /usr/local/bin/tira2code/R-5
#
goto case1
else
if ( "$ch" == C ) then
/usr/local/bin/tira2_trans2 /usr/local/bin/tira2code/R-right
goto case1
else
if ( "$ch" == E ) then
exit
endif
##################################################
if ( "$ch" == 5 ) then
sleep 1
/usr/local/bin/tira2_trans2 /usr/local/bin/tira2code/R-6
#
goto case1
— posted by at 12:46 pm  

この記事に対するコメントはありません

<< 2013.10 >>
SMTWTFS
  1234 5
6789101112
13 14 15 16 171819
202122 23242526
272829 3031   
 










T: Y: ALL: Online:
ThemePanel
Created in 0.0091 sec.