[cisco-voip] grabbing screen shots from 7940/7960

Pieter Luteijn luteijn at xs4all.nl
Thu Feb 19 07:31:03 EST 2009


A little late follow-up, but might be of help for people reading this:

> Justin. You rock! Not sure how that dash got in there. It fixed the
problem. I now have a screenshot!


If you ctrl-a, ctrl-c the output from the web browser, you'll get those
dashes in. probably save-as would give a less mangled file.

On unix, I use the following quick and dirty one-liner to convert the
screenshot:
luteijn at dollar> cat cip.sh
sed -e "s/\(.\)\(.\)/\2\1/g" \
-e "s/0/  /g" \
-e "s/1/. /g" \
-e "s/2/o /g" \
-e "s/3/# /g" \
-e "s/4/ ./g" \
-e "s/5/../g" \
-e "s/6/o./g" \
-e "s/7/#./g" \
-e "s/8/ o/g" \
-e "s/9/.o/g" \
-e "s/A/oo/ig" \
-e "s/B/#o/ig" \
-e "s/C/ #/ig" \
-e "s/D/.#/ig" \
-e "s/E/o#/ig" \
-e "s/F/##/ig" $* | grep -v "<"

Set the terminal to be 160 characters wide and 100-something high so the
complete image fits on the screen, leaving some space for the prompt and
status lines. It could be a little smarter, but this works fine for me to
make sure I actually got the image I tried to capture.

Regards,
Pieter






More information about the cisco-voip mailing list