Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The "dialog" command is a nice middle ground that will put a graphical dialog within the terminal, instead of having a dependency on X11.

Like:

  dialog --title "Message" --yesno "Continue?" 6 25
  echo $? # will be 0 for yes, 1 for no


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: