News for hackers. Stuff that matters.
Re:YAD: display graphical dialogs from shell scripts or comm... by dmd on Wednesday May 28, 2025 @06:08PM (#44121088)
I hope anyone who uses something like this has the grace to fall back to https://linux.die.net/man/1/dialog for non-GUI users. Or https://github.com/Textualize/textual if they want to be faaaaancy.
Re:YAD: display graphical dialogs from shell scripts or comm... by ddingus on Thursday May 29, 2025 @03:09AM (#44123758)
On my Note phone, I just tried dialog. Spiffy!

I used Termux, and did this for a hello world:

     pkg install dialog
     dialog "hello there" 20 3
And BAM! There it is rendered in text, easy peasy.

Thanks for the reference. I agree with you.

Re:YAD: display graphical dialogs from shell scripts or comm... by dazzawazza on Thursday May 29, 2025 @04:11AM (#44124029)
man that's an ugly man page. The FreeBSD one is a lot easier to read.

https://man.freebsd.org/cgi/man.cgi?query=dialog

Re:YAD: display graphical dialogs from shell scripts or comm... by ddingus on Thursday May 29, 2025 @06:28AM (#44124648)
Well, after a bit of fiddling, Textual also worked on my Android running Termux.

Spiffy!

I like this one a bit less than I do the all text mode, though I will have to go through a bunch of widgets to see if that remains true.

Requiring Python seems a bit excessive, compared to the other one with works more lime the author intended, I believe.

Thanks for these. Interesting to look at.

Re:YAD: display graphical dialogs from shell scripts or comm... by dmd on Thursday May 29, 2025 @06:57AM (#44124779)
Textual is new and fancy. Dialog has been on pretty much every linux system for a quarter century.
Re:YAD: display graphical dialogs from shell scripts or comm... by ddingus on Thursday May 29, 2025 @12:15PM (#44127487)
Yes. It shows. I like that quarter century stuff.
Re:YAD: display graphical dialogs from shell scripts or comm... by florianist on Thursday May 29, 2025 @04:07PM (#44129784)
Or for those won't don't want to install dialog, just do your ui forms directly from the shell: https://github.com/polijan/sourcedialog