22
edits
(Deleting files works now) |
(Removed obsolete workaround) |
||
Line 39: | Line 39: | ||
Avdump2 doesn’t reset the console properly when you abort it or when it runs into a Mono-specific error. You can restore the cursor with <tt>setterm -cursor on</tt> and a simple <tt>echo</tt> if you write a wrapper for that. See examples below. | Avdump2 doesn’t reset the console properly when you abort it or when it runs into a Mono-specific error. You can restore the cursor with <tt>setterm -cursor on</tt> and a simple <tt>echo</tt> if you write a wrapper for that. See examples below. | ||
== Wrapper Script == | |||
To make using Avdump2 more comfortable, you can use or modify this wrapper script to handle the workarounds. Save it as <tt>/usr/local/bin/avdump2cl</tt>, for example. This example assumes that you extracted Avdump2 to <tt>/usr/local/lib/avdump2</tt>. | |||
== Wrapper | |||
To make using Avdump2 more comfortable, you can use or modify | |||
A simple wrapper to set the <tt>LD_LIBRARY_PATH</tt> and to fix the cursor after using ^C: | A simple wrapper to set the <tt>LD_LIBRARY_PATH</tt> and to fix the cursor after using ^C: | ||
Line 56: | Line 52: | ||
if ! mono /usr/local/lib/avdump2/AVDump2CL.exe "$@" ; then | if ! mono /usr/local/lib/avdump2/AVDump2CL.exe "$@" ; then | ||
echo | echo | ||
setterm -cursor on | setterm -cursor on | ||
Line 93: | Line 64: | ||
The output routine used to draw the Avdump2 progress bars is not very compatible with the <tt>curses</tt>-based output used by Mono. Enlarging the terminal window usually results in writing over previous lines and shrinking the terminal window usually results in crashes because Avdump2 tries to write to areas that don’t exist anymore. | The output routine used to draw the Avdump2 progress bars is not very compatible with the <tt>curses</tt>-based output used by Mono. Enlarging the terminal window usually results in writing over previous lines and shrinking the terminal window usually results in crashes because Avdump2 tries to write to areas that don’t exist anymore. | ||
Solutions: Don’t resize the terminal window while Avdump2 is running or use the <tt>- | Solutions: Don’t resize the terminal window while Avdump2 is running or use the <tt>-q</tt> option to disable the progress bars. | ||
== Other Known Problems == | == Other Known Problems == |
edits