Hello,
There is a small problem in xrdesktop - the number of strings is not
mentioned in split function call.
The problem is that it is impossible to use any arg of rdesktop with '='
inside (in passthru config line).
Please, add my patch in the next updated version of xrdesktop.
Best regards,
Peter
--- /usr/local/bin/xrdesktop 2014-06-18 20:16:05.000000000 +0200
+++ xrdesktop 2014-10-01 12:28:35.323261442 +0200
@@ -855,7 +855,7 @@
# get me some data
$raw_data = $_;
chomp $raw_data;
- ( $field_type, $field_data ) = split /=/, $raw_data;
+ ( $field_type, $field_data ) = split /=/, $raw_data,2;
chomp $field_type;
chomp $field_data;
@@ -874,7 +874,7 @@
# stuff the second line (hopefully IP) into vars
$raw_data = <CONFIG>;
chomp $raw_data;
- ( $field_type, $field_data ) = split /=/, $raw_data;
+ ( $field_type, $field_data ) = split /=/, $raw_data,2;
chomp $field_type;
chomp $field_data;
if( $field_type eq "Name" ) {$machine_name = $field_data;}
@@ -891,7 +891,7 @@
# stuff the third line (hopefully Uname) into vars
$raw_data = <CONFIG>;
chomp $raw_data;
- ( $field_type, $field_data ) = split /=/, $raw_data;
+ ( $field_type, $field_data ) = split /=/, $raw_data,2;
chomp $field_type;
chomp $field_data;
if( $field_type eq "Name" ) {$machine_name = $field_data;}
@@ -908,7 +908,7 @@
# stuff the fourth line (hopefully Geometry) into vars
$raw_data = <CONFIG>;
chomp $raw_data;
- ( $field_type, $field_data ) = split /=/, $raw_data;
+ ( $field_type, $field_data ) = split /=/, $raw_data,2;
chomp $field_type;
chomp $field_data;
if( $field_type eq "Name" ) {$machine_name = $field_data;}
@@ -925,7 +925,7 @@
# stuff the fifth line (hopefully Fullscreen) into vars
$raw_data = <CONFIG>;
chomp $raw_data;
- ( $field_type, $field_data ) = split /=/, $raw_data;
+ ( $field_type, $field_data ) = split /=/, $raw_data,2;
chomp $field_type;
chomp $field_data;
if( $field_type eq "Name" ) {$machine_name = $field_data;}
@@ -942,7 +942,7 @@
# stuff the sixth line (hopefully Bitmap_Updates) into vars
$raw_data = <CONFIG>;
chomp $raw_data;
- ( $field_type, $field_data ) = split /=/, $raw_data;
+ ( $field_type, $field_data ) = split /=/, $raw_data,2;
chomp $field_type;
chomp $field_data;
if( $field_type eq "Name" ) {$machine_name = $field_data;}
@@ -959,7 +959,7 @@
# stuff the seventh line (hopefully Keymap) into vars
$raw_data = <CONFIG>;
chomp $raw_data;
- ( $field_type, $field_data ) = split /=/, $raw_data;
+ ( $field_type, $field_data ) = split /=/, $raw_data,2;
chomp $field_type;
chomp $field_data;
if( $field_type eq "Name" ) {$machine_name = $field_data;}
@@ -976,7 +976,7 @@
# stuff the eighth line (hopefully NoReqLic) into vars
$raw_data = <CONFIG>;
chomp $raw_data;
- ( $field_type, $field_data ) = split /=/, $raw_data;
+ ( $field_type, $field_data ) = split /=/, $raw_data,2;
chomp $field_type;
chomp $field_data;
if( $field_type eq "Name" ) {$machine_name = $field_data;}
@@ -993,7 +993,7 @@
# stuff the ninth line (hopefully Passthru) into vars
$raw_data = <CONFIG>;
chomp $raw_data;
- ( $field_type, $field_data ) = split /=/, $raw_data;
+ ( $field_type, $field_data ) = split /=/, $raw_data,2;
chomp $field_type;
chomp $field_data;
if( $field_type eq "Name" ) {$machine_name = $field_data;}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"