}
function scan () {
+ echo " Scanning ..."
iwconfig ${INTERFACE} ap off essid ""
iwlist ${INTERFACE} scan | \
sed -e "s/^[\t ]*//" | grep ^"Cell\|ESSID\|Quality\|Encryption" | \
;;
r|s) # re-scanning the access points
- echo "Scanning ..."
scan
redisplay
;;
m) # Switching the mode to show the protected spots
SHOW_CLOSED=$((1-SHOW_CLOSED))
- echo "Scanning ..."
scan
redisplay
;;
;;
"esc-esc"|q)
- echo "quit"
+ echo " Quit."
cont=0
;;