diff --git a/netmiko/hp/hp_comware.py b/netmiko/hp/hp_comware.py index 7a0bb8d96..b7c4b13b8 100644 --- a/netmiko/hp/hp_comware.py +++ b/netmiko/hp/hp_comware.py @@ -22,7 +22,7 @@ def session_preparation(self) -> None: self._test_channel_read(pattern=r"[>\]]") self.set_base_prompt() - command = self.RETURN + "screen-length disable" + command = "screen-length disable" self.disable_paging(command=command) def config_mode( diff --git a/netmiko/hp/hp_procurve.py b/netmiko/hp/hp_procurve.py index f59394981..1a19cf1e0 100644 --- a/netmiko/hp/hp_procurve.py +++ b/netmiko/hp/hp_procurve.py @@ -59,7 +59,7 @@ def session_preparation(self) -> None: # ProCurve requires elevated privileges to disable output paging :-( self.enable() self.set_terminal_width(command="terminal width 511", pattern="terminal") - command = self.RETURN + "no page" + command = "no page" self.disable_paging(command=command) def check_config_mode(