From 3d3469bf3856bf85e4273aab18c7559d4e16fdb0 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 3 Jun 2016 18:43:06 +0000 Subject: [PATCH] 98_telnet.pm: using original version of the patch (Forum #54205) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11606 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/98_telnet.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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();