2012-12-27 09:53:59 +00:00
|
|
|
------------------------------------------------------------------------------
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
2012-12-28 08:51:21 +00:00
|
|
|
Quick start
|
2012-12-27 09:53:59 +00:00
|
|
|
|
2012-12-28 08:51:21 +00:00
|
|
|
In the xorriso build directory, without installation of xorriso:
|
2012-12-27 09:53:59 +00:00
|
|
|
|
2012-12-28 08:51:21 +00:00
|
|
|
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
|
2012-12-27 09:53:59 +00:00
|
|
|
|
|
|
|
The Tcl shell "wish" is allergic to options which start by "-h".
|
|
|
|
So here is the output of xorriso-tcltk --help :
|
|
|
|
------------------------------------------------------------------------
|
2012-12-28 08:51:21 +00:00
|
|
|
|
2012-12-27 09:53:59 +00:00
|
|
|
Usage:
|
2012-12-28 08:51:21 +00:00
|
|
|
frontend/xorriso-tcltk [options]
|
2012-12-27 09:53:59 +00:00
|
|
|
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.
|
2012-12-28 08:51:21 +00:00
|
|
|
--silent_start
|
|
|
|
Do not issue the start message xorriso-tcltk-version.
|
|
|
|
This works only if --silent_start is the first argument.
|
2012-12-27 09:53:59 +00:00
|
|
|
--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.
|
|
|
|
|
2012-12-28 08:51:21 +00:00
|
|
|
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.
|
2012-12-27 09:53:59 +00:00
|
|
|
|
2012-12-28 08:51:21 +00:00
|
|
|
In the running GUI, click with the rightmost mouse button on
|
|
|
|
any GUI element to get its particular help text.
|
2012-12-27 09:53:59 +00:00
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
|