Skip to content

Comment on Develop Cross-Platform CLI and GUI Tools with Tcl/Tk

Comments

On Linux there is also this windowing shell `wish` which I've used for some very quick (and very very dirty) UIs

I haven’t used myself but in Linux there is also zenity

https://linux.die.net/man/1/zenity

I have seen scripts that use it for a quick GUI.

I really dislike using Powershell as a shell, but it looks like on Windows specifically it also has some gui thing that is somewhat similar to a .NET like zenity.

This seems modal driven. Like calling MsgBox on windows. Wish (iirc) let me get multiple labels, input and buttons in an Hbox/Vbox type layout.

Do you have more information? It looks interesting

I don't, but it was easy even before AI code.

It's this one https://en.wikipedia.org/wiki/Wish_(Unix_shell) - which turns out is Tcl.

I used it to wrap up some socat and curl. Ugly stuff. Reading values from a serial device, show on screen until a button press when a value was sent over HTTP. The kind of code you hate but the management thinks is production ready.

I found it because someone on Gentoo IRC was like: ?"if you hate yourself try this"?. Would have preferred to do the whole thing in Perl.

This is for example use by the builtin Git GUI.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.