Re: 'normal' shell with curses

2008-03-04 Thread Michael Goerz
Michael Goerz wrote, on 03/04/2008 12:05 PM: > Thynnus wrote, on 03/04/2008 08:48 AM: >> On 3/3/2008 9:57 PM, Michael Goerz wrote: >>> Hi, >>> >>> I'm trying to print out text in color. As far as I know, curses is >>> the only way to do that (or not?). So, what I ultimately want is a >>> curses t

Re: 'normal' shell with curses

2008-03-04 Thread Thynnus
On 3/4/2008 12:05 PM, Michael Goerz wrote: > Thynnus wrote, on 03/04/2008 08:48 AM: >> On 3/3/2008 9:57 PM, Michael Goerz wrote: >>> Hi, >>> >>> I'm trying to print out text in color. As far as I know, curses is the >>> only way to do that (or not?). So, what I ultimately want is a curses >>> ter

Re: 'normal' shell with curses

2008-03-04 Thread Michael Goerz
Thynnus wrote, on 03/04/2008 08:48 AM: > On 3/3/2008 9:57 PM, Michael Goerz wrote: >> Hi, >> >> I'm trying to print out text in color. As far as I know, curses is the >> only way to do that (or not?). So, what I ultimately want is a curses >> terminal that behaves as closely as possible as a norm

Re: 'normal' shell with curses

2008-03-04 Thread Thynnus
On 3/3/2008 9:57 PM, Michael Goerz wrote: > Hi, > > I'm trying to print out text in color. As far as I know, curses is the > only way to do that (or not?). So, what I ultimately want is a curses > terminal that behaves as closely as possible as a normal terminal, i.e. > it breaks lines and scro

Re: 'normal' shell with curses

2008-03-03 Thread Michael Goerz
Miki wrote, on 03/03/2008 11:14 PM: > Hello Michael, > >> I'm trying to print out text in color. As far as I know, curses is the >> only way to do that (or not?). > On unix, every XTerm compatible terminal will be able to display color > using escape sequence. > (Like the one you see in the output

Re: 'normal' shell with curses

2008-03-03 Thread Miki
Hello Michael, > I'm trying to print out text in color. As far as I know, curses is the > only way to do that (or not?). On unix, every XTerm compatible terminal will be able to display color using escape sequence. (Like the one you see in the output of 'grep --color') See the shameless plug in h

'normal' shell with curses

2008-03-03 Thread Michael Goerz
Hi, I'm trying to print out text in color. As far as I know, curses is the only way to do that (or not?). So, what I ultimately want is a curses terminal that behaves as closely as possible as a normal terminal, i.e. it breaks lines and scrolls automatically, so that I can implement a function