Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

gParted alternative?

48 views
Skip to first unread message

blue4meridian

unread,
Jul 25, 2018, 8:26:36 PM7/25/18
to
What would be the required steps to make a tcl/tk frontend to Parted?
see... http://ftp.gnu.org/gnu/parted/

And how would one go about making a community request to make the frontend?

or...

Has someone one made it already?

Arjen Markus

unread,
Jul 27, 2018, 3:14:34 AM7/27/18
to
I had no idea what Parted is, had to search for it. Clear enough now. There is a page https://gparted.org/ that appears to present a GUI.

If you want a Tcl/Tk GUI for it, you have roughly speaking two possibiliies:
- If it is a command-line program, then set up a GUI that at the right time executes the command-line with the collected options and commands.
- If it is a library, then you can set up a wrapper in C that acts as a go-between: Tcl commands that run the various library routines.

Regards,

Arjen

briang

unread,
Jul 27, 2018, 5:50:07 PM7/27/18
to
A third option is to embed a Tcl interp in parted, then the tool can be scripted and a GUI script is optional. (This is the way Ousterhout envisioned Tcl to be used in the first place.)

-Brian
0 new messages