Hi Rado!

On Mo, 06 Mai 2013, Rado Q wrote:

> =- Christian Brabandt wrote on Mon  6.May'13 at 22:49:24 +0200 -=
> 
> > > vim or less:
> > > 
> > > OBST/GEMUESE
> > > ┌─────────┬───────────┬──────────────┬────────┐
> > > │^[[1mBestnr.  ^[[22m│  ^[[1mProdukt  ^[[22m│  ^[[1mHersteller  ^[[22m│
> > > ^[[1mMenge ^[[22m│
> > 
> > What you are seeing are ANSI Term sequences, which are usually used to 
> > color text in the terminal. It might help to explicitly set the TERM 
> > variable to dumb or vt100 or possibly set the -c parameter. You might 
> > however need to pipe the input through col -b again.
> 
> 'less' has a "raw" mode to let ANSI pass through to the terminal,
> see it's help.

Yes, that is less -r or less -R. But that doesn't hold for other 
applications, like Vim (which can at least hides those characters using 
the ansi_escape plugin).

regards,
Christian
-- 
It is the nature of extreme self-lovers, as they will set an house on fire,
and it were but to roast their eggs.
                -- Francis Bacon

Reply via email to