Quantcast
Channel: THWACK: Popular Discussions - Kiwi CatTools
Viewing all articles
Browse latest Browse all 21331

cattools: how to remove garbage text related to paging prompt

$
0
0

I am trying to grab a config from an non-standard device and it doesnt have the ability to turn off paging. as a resuly, i am getting the following text while showing the config:

 

logging threshold GUI critical network

more (q/m/SP) ?

 

The line with more is the problem, as in the saved config file, this gets translated to a bunch of wierd ASCII characters:

 

     logging threshold GUI critical network
<wierd characters here>      logging threshold syslog informational network

     logging threshold global informational system

 

I can open the file and do a search and replace for them, but this is time-consuming. Is there any way to get cattools to remove these using "variations," or some other method?

 

I have enabled the following in variations:

 

RESPONSE_STRIP_VT100ESC = "1"

RESPONSE_STRIP_ANSICHARS = "1"

RESPONSE_STRIP_NULLS = "1"

 

But this still doesnt remove the odd characters. It seems like the device is erasing the the "more" line and then printing the next config line in its place, and cattools is recording this in the config output dump.

 

thx in advance,

 

W


Viewing all articles
Browse latest Browse all 21331

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>