1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-09-11 06:21:54 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
Patrick Bellasi
5d288efa9c ssh: increase terminal size to avoid issues with echoed command parsing
By default the terminal emulated by pxssh is 24x80 in size, which force
the addition of unwanted "\r" in long commands. These \r are painful to
parse and remove from the echoed command.

This patch tries to alleviate this issue by setting a bigger TTY terminal
by default. A 200 columns display should be big enough to execute most
of the commands. In case longer commands are required it is better
have them on a script to push on the target for execution.

Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
2015-11-10 18:30:48 +00:00
Patrick Bellasi
68e5e83864 utils/serial_port: fix fdpexpect import for pexpect versions >= 4.0
The pexpect module exposes a fdpexpect class starting from version 4.0.
This patch makes uses of the proper pxssh import statement depending on the
version of pexpect available in the host.

Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
2015-10-12 18:35:29 +01:00
Patrick Bellasi
c1d7cfafcc utils/ssh: fix pxssh import for pexpect versions >= 4.0
The pexpect module exposes a pxssh class starting from version 4.0.
This patch makes uses of the proper pxssh import statement depending on the
version of pexpect available in the host.

Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
2015-10-12 18:35:29 +01:00
Sergei Trofimov
4e6afe960b devlib initial commit. 2015-10-09 09:30:04 +01:00