X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fperl5db.pl;h=ace1cdf9fe87b44c255e95ea53b345a5bb99449b;hb=d0c833c6b6d161774fa9ee0c74b6748675c48591;hp=71395eb14736bb26dec8fe81c7a24f5b2af41e26;hpb=be9a9b1dd000aab30f25ebe003679f9814da62af;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/perl5db.pl b/lib/perl5db.pl index 71395eb..ace1cdf 100644 --- a/lib/perl5db.pl +++ b/lib/perl5db.pl @@ -215,7 +215,7 @@ the TTY to use for debugging i/o. =item * noTTY if set, goes in NonStop mode. On interrupt, if TTY is not set, -uses the value of noTTY or F to find TTY using +uses the value of noTTY or F<$HOME/.perldbtty$$> to find TTY using Term::Rendezvous. Current variant is to have the name of TTY in this file. @@ -6004,8 +6004,8 @@ sub setterm { eval "require Term::Rendezvous;" or die; # See if we have anything to pass to Term::Rendezvous. - # Use /tmp/perldbtty$$ if not. - my $rv = $ENV{PERLDB_NOTTY} || "/tmp/perldbtty$$"; + # Use $HOME/.perldbtty$$ if not. + my $rv = $ENV{PERLDB_NOTTY} || "$ENV{HOME}/.perldbtty$$"; # Rendezvous and get the filehandles. my $term_rv = new Term::Rendezvous $rv;