| Date: Mon, 5 Sep 2005 08:35:11 -0500
| From: Brendan Arthurs <brenarth at relodublin.com>
| 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.
| As I understand it, wrapping happens based on the COLUMNS environment
| variable, [ ... ]
NO. $COLUMNS is the current width (in characters née columns)
of the terminak window. _if_ line wrapping is enabled, or the
pagination program does line wrapping, it will happen at that
position; but $COLUMNS does not control the position.
| Does anyone know how to do this? I'm currently using konsole as a
| terminal emulator, but if I could get the behaviour described above
| from any other terminal emulator I'd happily switch.
less -S ?
you might try xterm(1) and turning off “auto wraparound”
(control-middle-button), but I doubt that will does what
you really want.
Experienced (20+ yrs) kernel/software Eng: | Brian Foster Montpellier,
• Unix, embedded, &tc; • Linux; • doc; | blf at utvinternet.ie FRANCE
• IDL, automated testing, process, &tc. | Stop E$$o (ExxonMobile)!
Résumé (CV) http://www.blf.utvinternet.ie | http://www.stopesso.com
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!