5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-02-25 01:03:59 -04:00

autotest: Enables copy to clipboard from xterm shells. Useful to copy gdb output.

This commit is contained in:
Fabio Kruger 2015-04-24 11:57:54 +02:00 committed by Andrew Tridgell
parent 7d3b3533e4
commit d585d5691d

View File

@ -8,7 +8,7 @@ shift
echo "Starting $name : $*"
# default to xterm as it has the most consistent options and can start minimised
if [ -x /usr/bin/xterm ]; then
/usr/bin/xterm -iconic -n "$name" -name "$name" -T "$name" -hold -e $* &
/usr/bin/xterm -iconic -xrm 'XTerm*selectToClipboard: true' -n "$name" -name "$name" -T "$name" -hold -e $* &
elif [ -x /usr/bin/konsole ]; then
/usr/bin/konsole --hold -e $*
elif [ -x /usr/bin/gnome-terminal ]; then