diff --git a/FHEM/98_telnet.pm b/FHEM/98_telnet.pm index a7ecce72c..30660a326 100644 --- a/FHEM/98_telnet.pm +++ b/FHEM/98_telnet.pm @@ -195,12 +195,12 @@ telnet_Read($) $chash->{canAsyncOutput} = 1; $chash->{encoding} = AttrVal($name, "encoding", "utf8"); $chash->{prompt} = AttrVal($name, "prompt", - AttrVal('global','title','fhem>')); + AttrVal('global','title','fhem')); if($chash->{prompt} =~ m/^{.*}$/s) { - $chash->{prompt} = eval $chash->{prompt}; - $chash->{prompt} =~ s/\n//; - $chash->{prompt} .= '>'; # Not really nice, but dont know better. + $chash->{prompt} = eval $chash->{prompt}; + $chash->{prompt} =~ s/\n//; } + $chash->{prompt} .= '>'; # Not really nice, but dont know better. syswrite($chash->{CD}, sprintf("%c%c%c", 255, 253, 0) ) if( AttrVal($name, "encoding", "") ); #DO BINARY $chash->{CD}->flush();