5 ms·
One annoyance is that both tmux and screen have problems with truncating long lines in less.
by doxcf434 12y ago
One annoyance is that both tmux and screen have problems with truncating long lines in less.
- akira2501 12y agoI've switched to 'most' instead. You can use < and > to scroll left and right in the document.
- doxcf434 12y agoWorks like a charm! Thanks!
- keeperofdakeys 12y agoThis is very strange, could you describe he problem more? Also, does the contents of an ncurses app (vim, less, emacs) stay after you close the program?
- doxcf434 12y agoWhen I use less in a tmux or screen session to view /var/log/syslog et al, when I type -S to chop long lines it continues to wrap the line instead of chop it. No the screen is cleared after quitting. I have TERM set to xterm-256colors FWIW.
- grogs 12y agoOdd, I'm doing that daily at work without any issue. (tmux 1.8.x, putty, screen-256colors I believe)
- keeperofdakeys 12y agoWhat does "tput cols" say in and out screen/tmux? It's possible less doesn't know the proper width of the terminal.
- doxcf434 12y ago80 cols, which is correct. Less seems to be fine when not in a tmux session. https://asciinema.org/a/9601 https://asciinema.org/a/9601