Re: color and newline problem (Term::ANSIColor)

2009-12-31 Thread Jeremiah Foster
ne charachter seems to align to the next > line colors and not of the current. > > [code] > use Term::ANSIColor; > foreach(){ > $c = (++$i % 2 == 0)? 'white on_black' : 'black on_white'; > print colored ($_, $c); > } > [/code] Perl actually has a

Re: color and newline problem (Term::ANSIColor)

2009-12-31 Thread Shawn H Corey
o the next > line colors and not of the current. > > [code] > use Term::ANSIColor; > foreach(){ chomp; my $c = (++$i % 2 == 0)? 'white on_black' : 'black on_white'; print colored ($_, $c), "\n"; >$c = (++$i % 2 == 0)? 'white on_b

color and newline problem (Term::ANSIColor)

2009-12-31 Thread Francesco Stablum
] use Term::ANSIColor; foreach(){ $c = (++$i % 2 == 0)? 'white on_black' : 'black on_white'; print colored ($_, $c); } [/code] Is it a flushing problem? I cannot understand why. Do you? many thanks, Francesco Stablum P.S. sorry for my bad english -- The generation of r

ANSIColor

2001-08-24 Thread SAWMaster
ANSIColor, and ANSIScreen are both installed, if color doesn't work, will any of the screen stuff work either?

Examples of Curses::ANSIColor

2001-06-24 Thread David J Jackson
Greetings -- I looking examples of scripts using Curses module, doing file operations i.e. open/closing, read/write? Thanks, David Jackson