Is there a way to execute a Linux command from a Win program under
Wine?
Opening a separate terminal window and type-in + Ctrl-C + CTRL-V is
not an acceptable solution.
Writing (myself) a command-line utility doing this is acceptable, but
tell me what function(s) I can use to achieve the goal.
Cygwin... I would like to avoid installing Cygwin under Wine.
I don't know about wine, but you could open a separate terminal window
and compare the two files using some Linux command on the drive which
wine uses. Files should be at:
~./wine/drive_c/yourpath/yourfile
But I just noticed that "Starting from October 26th 2007 the unicode
development version of Far Manager 1.80 is distributed with its source
code under the revised BSD license. We hope that with the help of our
community this long awaited project will spring to life.":
http://www.farmanager.com/opensource.php?l=en
So someone could probably make a native Linux port of it.
There are also existing alternatives for it that already work on Linux.
Not sure how good they are as I don't personally use those much:
Take this as an example:
http://en.wikipedia.org/wiki/Midnight_Commander
And see a list of others:
http://en.wikipedia.org/wiki/Comparison_of_file_managers
They are at the z: drive. (That is, in the root file system).
Opening a separate terminal window is not acceptable.
I have to do numerous comparisons in two large directory trees, with
minimal number of keypresses.
#!/bin/bash
echo test
echo $@
echo 0: $0 1: $1 2: $2
and found out that it DOES send output... to another (!) window.
To the xterm window that has started wine.