100 lines
3.7 KiB
Plaintext
100 lines
3.7 KiB
Plaintext
------------------------------------------------------------------------------
|
|
xorriso-tcltk
|
|
------------------------------------------------------------------------------
|
|
Copyright (C) 2012, Thomas Schmitt <scdbackup@gmx.net>, libburnia-project.org
|
|
Provided under GNU GPL version 2 or later.
|
|
------------------------------------------------------------------------------
|
|
|
|
xorriso-tcltk is mainly a proof of concept for a frontend that operates
|
|
xorriso in dialog mode.
|
|
|
|
It exercises several fundamental gestures of communication:
|
|
- connecting via two pipes
|
|
- sending commands
|
|
- receiving replies
|
|
- inquiring the xorriso message sieve
|
|
- using the xorriso parsing service
|
|
|
|
Note that any other language than Tcl/Tk could be used, if it only can
|
|
do i/o via standard input and standard output or via named pipes.
|
|
Further it has to perform integer arithmetics and string manipulations.
|
|
And, well, a graphical widget set would be nice.
|
|
|
|
See man xorriso for a documentation of xorriso concepts and commands.
|
|
See man xorrecord for details of the burn image file feature.
|
|
|
|
|
|
Quick start
|
|
|
|
In the xorriso build directory, without installation of xorriso:
|
|
|
|
xorriso/xorriso -launch_frontend frontend/xorriso-tcltk --stdio --
|
|
|
|
After installation of xorriso by make install:
|
|
|
|
xorriso-tcltk
|
|
|
|
|
|
Overview of GUI
|
|
|
|
The window is separated into three main areas:
|
|
- Connection to xorriso.
|
|
- Management of drives and image files.
|
|
- Inspection, manipulation, and exploitation of xorriso ISO image model.
|
|
|
|
Click the rightmost mouse button while being over any of the GUI elements
|
|
in order to get the particular help text for that element.
|
|
There is no need to close the help window. Just click another element to
|
|
get another help text.
|
|
|
|
|
|
Program start options
|
|
|
|
The Tcl shell "wish" is allergic to options which start by "-h".
|
|
So here is the output of xorriso-tcltk --help :
|
|
------------------------------------------------------------------------
|
|
|
|
Usage:
|
|
frontend/xorriso-tcltk [options]
|
|
Options:
|
|
All options must be given with two dashes ("--option") in
|
|
order to distinguish them from any options of the Tcl shell.
|
|
--help
|
|
Print this text and exit.
|
|
--stdio
|
|
Establishes connection to xorriso via stdin and stdout.
|
|
E.g. when letting xorriso start this frontend program:
|
|
xorriso -launch_frontend $(which xorriso-tcltk) --stdio --
|
|
--named_pipes cmd_fifo reply_fifo
|
|
Establishes connection to a xorriso process started by:
|
|
xorriso -dialog on <cmd_fifo >reply_fifo
|
|
which is then ready for a run of:
|
|
xorriso-tcltk --named_pipes cmd_fifo reply_fifo
|
|
It is important that the parent of xorriso and of this
|
|
tcl/tk frontend opens the named pipe for commands before
|
|
it opens the named pipe for replies. This avoids deadlock.
|
|
--silent_start
|
|
Do not issue the start message xorriso-tcltk-version.
|
|
This works only if --silent_start is the first argument.
|
|
--geometry {+|-}X{+|-}Y
|
|
Sets the position of the main window.
|
|
--click_to_focus
|
|
Chooses that input fields and list boxes get the keyboard
|
|
focus only when being clicked by the mouse.
|
|
--auto_focus
|
|
Chooses that the keyboard focus is where the mouse
|
|
pointer is. (Default)
|
|
--log_file path
|
|
Set a file address for logging of xorriso commands and
|
|
reply messages. The log lines will be appended.
|
|
|
|
If neither --stdio nor --named_pipes is given, then this script
|
|
will try to locate itself in the filesystem and start a xorriso
|
|
run that launches it again.
|
|
|
|
In the running GUI, click with the rightmost mouse button on
|
|
any GUI element to get its particular help text.
|
|
|
|
------------------------------------------------------------------------
|
|
|