RE: Escape colour codes

2007-04-05 Thread Dave \"sorry for munging my addy but you just know he's going to rawquote it\" Korn
On 05 April 2007 02:55, Morgan Gangwere wrote: > "and this children is why we stick to rxvt and puttyCyg!" > > On 4/4/07, Matthew Woehlke wrote: [ SNIP http://cygwin.com/acronyms#PCYMTNQREAIYR ] >> Eric Blake wrote: >>> The bug in all three of these programs is that they are adding spurious

Re: Escape colour codes

2007-04-05 Thread Thorsten Kampe
* Eric Blake (Wed, 4 Apr 2007 19:50:24 + (UTC)) > Thorsten Kampe thorstenkampe.de> writes: > > 9. Install Python and IPython (http://ipython.scipy.org/moin/) > > set > > prompt_in1 '\C_White[\#\C_White]\C_LightCyan>>> ' > > prompt_out '\C_White[\N\C_White]' > > in your ipythonrc and start

Re: Escape colour codes

2007-04-04 Thread Morgan Gangwere
"and this children is why we stick to rxvt and puttyCyg!" On 4/4/07, Matthew Woehlke <[EMAIL PROTECTED]> wrote: Eric Blake wrote: > The bug in all three of these programs is that they are adding spurious \1 into > the string passed to readline. When you call readline("\001\001invisible\001 > \

Re: Escape colour codes

2007-04-04 Thread Matthew Woehlke
Eric Blake wrote: The bug in all three of these programs is that they are adding spurious \1 into the string passed to readline. When you call readline("\001\001invisible\001 \002plain"), then readline assumes that anything between the FIRST \001 and the \002 is invisible (ie. special to the te

Re: Escape colour codes

2007-04-04 Thread Eric Blake
Thorsten Kampe thorstenkampe.de> writes: > > I need a simple test case. > > It's easy to show that one Cygwin application (lftp) has a problem > with its prompt but it's rather lenghty to show that not lftp is the > culprit but readline making output to Windows Terminals (Cmd, 4NT, > Console,

Re: Escape colour codes

2007-04-04 Thread Thorsten Kampe
* Eric Blake (Wed, 04 Apr 2007 07:17:22 -0600) > According to Thorsten Kampe on 4/4/2007 1:38 AM: > > That's exactly the point. They actually do cope with the escapes - > > just not with the \001 and \002 used by readline to calculate the > > length of the line. > > > >> (otherwise even bash wou

Re: Escape colour codes

2007-04-04 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Thorsten Kampe on 4/4/2007 1:38 AM: > That's exactly the point. They actually do cope with the escapes - > just not with the \001 and \002 used by readline to calculate the > length of the line. > >> (otherwise even bash would not work)

Re: Escape colour codes

2007-04-04 Thread Thorsten Kampe
* Matthew Woehlke (Tue, 03 Apr 2007 16:55:45 -0500) > Thorsten Kampe wrote: > > lftp and yafc show a wrong prompt in the following terminals: cmd, 4nt, > >> console and far manager. Basically each coloured part of the prompt is > >> surrounded by two "funny faces" - the first is white and the sec

Re: Escape colour codes

2007-04-03 Thread Matthew Woehlke
Thorsten Kampe wrote: lftp and yafc show a wrong prompt in the following terminals: cmd, 4nt, console and far manager. Basically each coloured part of the prompt is surrounded by two "funny faces" - the first is white and the second has the desired colour. I don't know what these are. Are the

Re: Escape colour codes

2007-04-03 Thread Thorsten Kampe
* Thorsten Kampe (Mon, 19 Mar 2007 11:44:30 -) > I'm having a problem with colour escape codes for prompts in different > applications and terminals. Basically it is like this. > > lftp and yafc show a wrong prompt in the following terminals: cmd, 4nt, > console and far manager. Basically ea

Escape colour codes

2007-03-19 Thread Thorsten Kampe
Hi, I'm having a problem with colour escape codes for prompts in different applications and terminals. Basically it is like this. lftp and yafc show a wrong prompt in the following terminals: cmd, 4nt, console and far manager. Basically each coloured part of the prompt is surrounded by two "fu