[ILUG] Adjusting terminal width independantly of terminal
bobb at redbrick.dcu.ie
Mon Sep 5 14:56:21 IST 2005
Brendan Arthurs hath declared on Monday the 05 day of September 2005 :-:
> When following logfiles using tail -f, I'd like to have the entries
> displayed onscreen with a single terminal line used for each logfile
> line. That is, I don't want lines longer than the window width to be
> wrapped. Ideally they should contine beyond the edge of the terminal,
> which could then be scrolled horizontally to read beyond the edge.
you could use something like:
tail -f <file> | cut -c1-$COLUMNS
Mr. Rogers could explain shoe-tying and make it seem like the coolest
thing in the world. He was our Uncle and older brother. He told us we
were special, and we knew he'd be there for us.
A cult leader, right down to the sneakers.
More information about the ILUG