shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

capturar tecla esc


From: Ivan lopes
Subject: capturar tecla esc
Date: Sun, 11 Oct 2009 23:58:06 -0300

e o Esc ???? como faco??? Usando o tput

if [ "$key" = $(tput cr) ]
                then key="Enter"
        elif [ "$key" = $(tput kcuu1) ]
                then key="Up"
        elif [ "$key" = $(tput kcud1) ]
                then key="Down"
        elif [ "$key" = $(tput kcub1) ]
                then key="Left"
        elif [ "$key" = $(tput kcuf1) ]
                then key="Right"
        fi


[As partes desta mensagem que não continham texto foram removidas]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]