Prompt changed

git-svn-id: https://svn.fhem.de/fhem/trunk@492 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2009-12-01 22:41:17 +00:00
parent 1b69376b73
commit 7966b1e6fe
2 changed files with 6 additions and 3 deletions

View File

@@ -532,7 +532,7 @@
- feature: javascripting support in FHEMWEB (Klaus/Axel) - feature: javascripting support in FHEMWEB (Klaus/Axel)
- feature: Module 09_BS.pm for brightness sensor added (Boris 2009-09-20) - feature: Module 09_BS.pm for brightness sensor added (Boris 2009-09-20)
- ==DATE== (4.8) - 2009-11-28 (4.8)
- bugfix: loosing data when sending FS20 messages in a group - bugfix: loosing data when sending FS20 messages in a group
- bugfix: better handling of disconnected CUN - bugfix: better handling of disconnected CUN
- feature: softfhtbuffer added to CUL - feature: softfhtbuffer added to CUL
@@ -545,3 +545,6 @@
- feature: CUL_RFR (RF_ROUTING) added - feature: CUL_RFR (RF_ROUTING) added
- feature: Command save retains now the order of the old config file - feature: Command save retains now the order of the old config file
- feature: List parameter added (list .* RFR_MSGCNT) - feature: List parameter added (list .* RFR_MSGCNT)
- ==DATE== (4.9)
- bugfix: changed the fhem prompt from FHZ> to fhem>

View File

@@ -155,7 +155,7 @@ my $nextat; # Time when next timer will be triggered.
my $intAtCnt=0; my $intAtCnt=0;
my %duplicate; # Pool of received msg for multi-fhz/cul setups my %duplicate; # Pool of received msg for multi-fhz/cul setups
my $duplidx=0; # helper for the above pool my $duplidx=0; # helper for the above pool
my $cvsid = '$Id: fhem.pl,v 1.88 2009-11-28 11:14:12 rudolfkoenig Exp $'; my $cvsid = '$Id: fhem.pl,v 1.89 2009-12-01 22:41:17 rudolfkoenig Exp $';
my $namedef = my $namedef =
"where <name> is either:\n" . "where <name> is either:\n" .
"- a single device name\n" . "- a single device name\n" .
@@ -504,7 +504,7 @@ AnalyzeInput($)
$client{$c}{prompt} = 1; # Empty return $client{$c}{prompt} = 1; # Empty return
} }
syswrite($client{$c}{fd}, $client{$c}{prevlines} ? "> " : "FHZ> ") syswrite($client{$c}{fd}, $client{$c}{prevlines} ? "> " : "fhem> ")
if($client{$c}{prompt} && !$rest); if($client{$c}{prompt} && !$rest);
} }
} }