dialog usage

Paul Jimenez pj at place.org
Fri Oct 10 18:49:44 CEST 2003



I'm not that familiar with dialog, so exuse me if this question is a bit
odd, but in the example menu scripts, you use this construct:

  tmp=/tmp/menu
  dialog --title "blah" .... 2>$tmp 1>/dev/console
  clear
  choice=`cat $tmp`

is there a reason to prefer this over doing:

  choice=`dialog --stdout --title "blah" ...`

?  

Thanks,

  --pj




More information about the linux-fai mailing list