Re: Attempting to parse free-form ANSI text.

2006-10-25 Thread Frederic Rentsch
Dennis Lee Bieber wrote: > On Mon, 23 Oct 2006 20:34:20 +0100, Steve Holden <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > > >> Don't give up, attach it as a file! >> >> > Which might be acceptable on a mailing list, but might be > problematic on a "text" newsg

Re: Attempting to parse free-form ANSI text.

2006-10-24 Thread Michael B. Trausch
Jean-Paul Calderone wrote: > On Sun, 22 Oct 2006 00:34:14 -0400, "Michael B. Trausch" > wrote: >> Alright... I am attempting to find a way to parse ANSI text from a >> telnet application. However, I am experiencing a bit of trouble. >> >> What I want to do is have all ANSI sequences _removed_ fro

Re: Attempting to parse free-form ANSI text.

2006-10-24 Thread Frederic Rentsch
Steve Holden wrote: Frederic Rentsch wrote: Frederic Rentsch wrote: Frederic Rentsch wrote: Paul McGuire wrote: "Michael B. Trausch" <"mike$#at^&nospam!%trauschus"> wrote in message Sorry about the line wrap mess in the previous message.

Re: Attempting to parse free-form ANSI text.

2006-10-23 Thread Michael B. Trausch
Frederic Rentsch wrote: > Michael B. Trausch wrote: >> Alright... I am attempting to find a way to parse ANSI text from a >> telnet application. However, I am experiencing a bit of trouble. >> [snip] > > *I have no experience with reading from TCP/IP. But looking at your > program with a candid mi

Re: Attempting to parse free-form ANSI text.

2006-10-23 Thread Michael B. Trausch
Jean-Paul Calderone wrote: > On Sun, 22 Oct 2006 00:34:14 -0400, "Michael B. Trausch" > wrote: >> Alright... I am attempting to find a way to parse ANSI text from a >> telnet application. However, I am experiencing a bit of trouble. >> >> What I want to do is have all ANSI sequences _removed_ fro

Re: Attempting to parse free-form ANSI text.

2006-10-23 Thread Paul McGuire
"Frederic Rentsch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> Prints: >> This is a test string containing some ANSI sequences. >> Sequence 1: >> >> > I doubt we should concatenate numbers. Oof! No doubt. I should read my test output more closely! This is an artifact of usi

Re: Attempting to parse free-form ANSI text.

2006-10-23 Thread Steve Holden
Frederic Rentsch wrote: > Frederic Rentsch wrote: > >>Frederic Rentsch wrote: >> >> >>>Paul McGuire wrote: >>> >>> >>> "Michael B. Trausch" <"mike$#at^&nospam!%trauschus"> wrote in message >> >>Sorry about the line wrap mess in the previous message. I try again wit

Re: Attempting to parse free-form ANSI text.

2006-10-23 Thread Frederic Rentsch
Frederic Rentsch wrote: > Frederic Rentsch wrote: > >> Paul McGuire wrote: >> >> >>> "Michael B. Trausch" <"mike$#at^&nospam!%trauschus"> wrote in message >>> >>> > > Sorry about the line wrap mess in the previous message. I try again with > another setting: > > Frederic >

Re: Attempting to parse free-form ANSI text.

2006-10-23 Thread Frederic Rentsch
Frederic Rentsch wrote: > Paul McGuire wrote: > >> "Michael B. Trausch" <"mike$#at^&nospam!%trauschus"> wrote in message >> Sorry about the line wrap mess in the previous message. I try again with another setting: Frederic ###

Re: Attempting to parse free-form ANSI text.

2006-10-23 Thread Frederic Rentsch
Paul McGuire wrote: > "Michael B. Trausch" <"mike$#at^&nospam!%trauschus"> wrote in message > news:[EMAIL PROTECTED] > >> Alright... I am attempting to find a way to parse ANSI text from a >> telnet application. However, I am experiencing a bit of trouble. >> >> What I want to do is have all A

Re: Attempting to parse free-form ANSI text.

2006-10-22 Thread Paul McGuire
"Michael B. Trausch" <"mike$#at^&nospam!%trauschus"> wrote in message news:[EMAIL PROTECTED] > Alright... I am attempting to find a way to parse ANSI text from a > telnet application. However, I am experiencing a bit of trouble. > > What I want to do is have all ANSI sequences _removed_ from the

Re: Attempting to parse free-form ANSI text.

2006-10-22 Thread Frederic Rentsch
Michael B. Trausch wrote: > Alright... I am attempting to find a way to parse ANSI text from a > telnet application. However, I am experiencing a bit of trouble. > > What I want to do is have all ANSI sequences _removed_ from the output, > save for those that manage color codes or text presentatio

Re: Attempting to parse free-form ANSI text.

2006-10-21 Thread Jean-Paul Calderone
On Sun, 22 Oct 2006 00:34:14 -0400, "Michael B. Trausch" wrote: >Alright... I am attempting to find a way to parse ANSI text from a >telnet application. However, I am experiencing a bit of trouble. > >What I want to do is have all ANSI sequences _removed_ from the output, >save for those that man