[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to tail w/o folding the output?



Ron Johnson <ron.l.johnson@cox.net> wrote:
> Hugo Vanwoerkom wrote:
>> How do you run tail and not have it fold the output?

> Since these apps treat the screen as a "glass teletype", that would
> be a function of the console or xterm, not of tail.

> As to how to modify the console, though...

man console_codes (noting that "DECAWM" refers to a vt100 control sequence)

       ESC [ ? 7 h
              DECAWM (default on): Set autowrap on.  In this mode,  a  graphic
              character  emitted  after column 80 (or column 132 of DECCOLM is
              on) forces a wrap to the beginning of the following line  first.

man xterm

     -aw     This option indicates that auto-wraparound should be
             allowed.   This  allows  the cursor to automatically
             wrap to the beginning of the next line when when  it
             is  at  the rightmost position of a line and text is
             output.

     +aw     This option indicates  that  auto-wraparound  should
             not be allowed.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



Reply to: