Invoke x-terminal-emulator rather than xterm in perl5db.pl
In Debian systems, xterm might not exist or might not be the preferred terminal emulator. Use x-terminal-emulator instead Bug-Debian: http://bugs.debian.org/668490 Forwarded: not-needed Gbp-Pq: Topic debian Gbp-Pq: Name perl5db-x-terminal-emulator.patch
This commit is contained in:
parent
66418b2cd2
commit
70d32b50b6
|
@ -6985,7 +6985,7 @@ properly set up.
|
||||||
sub xterm_get_fork_TTY {
|
sub xterm_get_fork_TTY {
|
||||||
( my $name = $0 ) =~ s,^.*[/\\],,s;
|
( my $name = $0 ) =~ s,^.*[/\\],,s;
|
||||||
open XT,
|
open XT,
|
||||||
qq[3>&1 xterm -title "Daughter Perl debugger $pids $name" -e sh -c 'tty 1>&3;\
|
qq[3>&1 x-terminal-emulator -T "Daughter Perl debugger $pids $name" -e sh -c 'tty 1>&3;\
|
||||||
sleep 10000000' |];
|
sleep 10000000' |];
|
||||||
|
|
||||||
# Get the output from 'tty' and clean it up a little.
|
# Get the output from 'tty' and clean it up a little.
|
||||||
|
|
Loading…
Reference in New Issue