diff --git a/appl/kx/rxtelnet.in b/appl/kx/rxtelnet.in index 564bb84eb..800bbbac6 100644 --- a/appl/kx/rxtelnet.in +++ b/appl/kx/rxtelnet.in @@ -31,8 +31,8 @@ for i in $*; do done done if test -n "$term"; then - $term -title $host -name $host -e env DISPLAY=$disp XAUTHORITY=$auth telnet -D $telnet_args $host + ($term -title $host -name $host -e env DISPLAY=$disp XAUTHORITY=$auth telnet -D $telnet_args $host; kill -USR2 $pid) & else env DISPLAY=$disp XAUTHORITY=$auth telnet -D $telnet_args $host + kill -USR2 $pid fi -kill -USR2 $pid