Skip Menu |

This queue is for tickets about the Net-Appliance-Session CPAN distribution.

Report information
The Basics
Id: 118747
Status: resolved
Priority: 0/
Queue: Net-Appliance-Session

People
Owner: Nobody in particular
Requestors: vladzaitsev [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: ANSI codes and HP ProCurve
Date: Sun, 13 Nov 2016 15:14:41 +0000
To: bug-Net-Appliance-Session [...] rt.cpan.org
From: Vlad Zaitsev <vladzaitsev [...] gmail.com>
HP Procurve uses ANSI terminal codes so prompt default propmt patterd does not match and writing custom is really the pain. Guys from netmico project make ANSI cleanup for such devices https://github.com/ktbyers/netmiko/blob/47c597a674ac8d7e8a2c18388bfb3dbcb205b273/netmiko/base_connection.py def strip_ansi_escape_codes(string_buffer): Could we add such funtionality to Net::Applience? May activated via parameter foe new() ?
Hi Vlad I've moved this ticket to Github: https://github.com/ollyg/Net-CLI-Interact/issues/22 I don't have the time right now to implement this, but it seems a very good idea. If you write a patch I will accept it! regards, oliver. On Sun Nov 13 10:15:02 2016, vladzaitsev@gmail.com wrote: Show quoted text
> HP Procurve uses ANSI terminal codes so prompt default propmt patterd > does > not match and writing custom is really the pain. Guys from netmico > project > make ANSI cleanup for such devices > https://github.com/ktbyers/netmiko/blob/47c597a674ac8d7e8a2c18388bfb3dbcb205b273/netmiko/base_connection.py > > def strip_ansi_escape_codes(string_buffer): > > Could we add such funtionality to Net::Applience? May activated via > parameter foe new() ?
-- regards, oliver.
Hi Vlad, I think I've worked out an easy way to do this. Are you available for testing? On Sat Feb 11 05:36:25 2017, OLIVER wrote: Show quoted text
> Hi Vlad > > I've moved this ticket to Github: https://github.com/ollyg/Net-CLI- > Interact/issues/22 > > I don't have the time right now to implement this, but it seems a very > good idea. If you write a patch I will accept it! > > regards, > oliver. > > On Sun Nov 13 10:15:02 2016, vladzaitsev@gmail.com wrote:
> > HP Procurve uses ANSI terminal codes so prompt default propmt patterd > > does > > not match and writing custom is really the pain. Guys from netmico > > project > > make ANSI cleanup for such devices > > https://github.com/ktbyers/netmiko/blob/47c597a674ac8d7e8a2c18388bfb3dbcb205b273/netmiko/base_connection.py > > > > def strip_ansi_escape_codes(string_buffer): > > > > Could we add such funtionality to Net::Applience? May activated via > > parameter foe new() ?
-- regards, oliver.
Subject: Re: [rt.cpan.org #118747] ANSI codes and HP ProCurve
Date: Thu, 27 Apr 2017 09:05:26 +0000
To: bug-Net-Appliance-Session [...] rt.cpan.org
From: Vlad Zaitsev <vladzaitsev [...] gmail.com>
Hi. Yes. Im here and waiting Вт, 25 квіт. 2017 23:59 користувач Oliver Gorwits via RT < bug-Net-Appliance-Session@rt.cpan.org> пише: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=118747 > > > > Hi Vlad, I think I've worked out an easy way to do this. Are you available > for testing? > > On Sat Feb 11 05:36:25 2017, OLIVER wrote:
> > Hi Vlad > > > > I've moved this ticket to Github: https://github.com/ollyg/Net-CLI- > > Interact/issues/22 > > > > I don't have the time right now to implement this, but it seems a very > > good idea. If you write a patch I will accept it! > > > > regards, > > oliver. > > > > On Sun Nov 13 10:15:02 2016, vladzaitsev@gmail.com wrote:
> > > HP Procurve uses ANSI terminal codes so prompt default propmt patterd > > > does > > > not match and writing custom is really the pain. Guys from netmico > > > project > > > make ANSI cleanup for such devices > > >
> https://github.com/ktbyers/netmiko/blob/47c597a674ac8d7e8a2c18388bfb3dbcb205b273/netmiko/base_connection.py
> > > > > > def strip_ansi_escape_codes(string_buffer): > > > > > > Could we add such funtionality to Net::Applience? May activated via > > > parameter foe new() ?
> > > -- > regards, > oliver. >