This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

--fselect: dialog vs Xdialog

Posted by: Administrator on March 13, 2007 05:21 AM
In the last example, you didn't include a sample graphic of how this screen should look - may I suggest you modify the article to show one?



I tried running the code for the example, but with Xdialog instead of dialog. The resulting screen was confusing, and obviously not what was described in the article.



As it turns out, for my system, at least, the size given for the box was too small, resulting in a box with no panes!



I fixed the problem by setting a larger size for the dialog box:



--fselect $HOME/ 28 68



After figuring this out, I also realized that I could have re-sized the original too-small box with the mouse... HTH.



Problem: with the character-based dialog version, I can't figure out how to make the file pane update when a directory is chosen from the direcory pane. The file pane automatically updates with the Xdialog version, but not the dialog version. Is there a way to make this happen with the character-based dialog version?

#

Return to CLI Magic: Creating basic front ends with dialog and Xdialog