RE: csh color codes

2004-01-29 Thread Hannu E K Nevalainen
> From: Igor Pechtchanski > Sent: Thursday, January 29, 2004 4:00 PM > On Thu, 29 Jan 2004 [EMAIL PROTECTED] wrote: > > > Dear all, > > > > I am running the latest Cygwin on my Win2k and I'm using csh as the > > standard shell. The color mode for XTerm is enabled and works fine, e.g. > > with "ls

RE: csh color codes

2004-01-29 Thread Igor Pechtchanski
On Thu, 29 Jan 2004, Peter J. Acklam wrote: > > csh does nothing to interpret the sequences; it simply echoes them. > > I think the problem was how to *enter* the escape sequences in csh. > > Peter I believe you missed the following bit in your quoting: > > You only need to make sure the sequenc

RE: csh color codes

2004-01-29 Thread Peter J. Acklam
> csh does nothing to interpret the sequences; it simply echoes them. I think the problem was how to *enter* the escape sequences in csh. Peter -- Peter J. Acklam - [EMAIL PROTECTED] - http://home.online.no/~pjacklam -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem r

RE: csh color codes

2004-01-29 Thread gobo
Thanks a lot, this works perfectly! Best regards, Jochen =8-) > Why not use printf and \033 for the escape character? The > following prints "xxx yyy zzz" where "yyy" is green: > > printf 'xxx \033[32myyy\033[m zzz' > > Here is a list showing other escape sequences > > # foreground c

Re: csh color codes

2004-01-29 Thread Igor Pechtchanski
On Thu, 29 Jan 2004 [EMAIL PROTECTED] wrote: > Dear all, > > I am running the latest Cygwin on my Win2k and I'm using csh as the > standard shell. The color mode for XTerm is enabled and works fine, e.g. > with "ls --color". > > However I have a problem to figure out how to generate the appropriat

RE: csh color codes

2004-01-29 Thread Peter J. Acklam
> > I am running the latest Cygwin on my Win2k and I'm using csh as > the standard shell. The color mode for XTerm is enabled and > works fine, e.g. with "ls --color". > > However I have a problem to figure out how to generate the > appropriate control (escape) sequences to included colors in > sh