Formato
Shell
Post date
2018-02-02 14:22
Publication Period
Unlimited
  1. #!/usr/local/bin/bash
  2. stty -echo
  3. echo -ne "\e[>c"
  4. read -t 1 -d c resp
  5. stty echo
  6. if [[ $resp =~ ">32;" ]]; then
  7. echo "Tera Term"
  8. else
  9. echo "Not Tera Term"
  10. fi
Descargar Printable view

URL of this paste

Embed with JavaScript

Embed with iframe

Raw text