emacs in terminal-mode constrains output to 80 columns (emacs bug, or watch bug?)
If emacs is in terminal-mode, it seems to constrain some tools to 80 columns of output, but not all tools. E.g. The following will correctly show 85 x's:
Code:
emacs -nw --eval='(terminal-emulator "*echo only*" "echo" '"'"'("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"))' Code:
emacs -nw --eval='(terminal-emulator "*echo nested inside watch*" "watch" '"'"'("--interval" "3600" "echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"))' At first I thought the problem was with the watch command. However, this correctly shows 85 x's without wrapping: Code:
watch --interval 3600 echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
Quote:
Code:
COLUMNS=85 emacs -Q -nw --eval='(terminal-emulator "*echo only*" "watch" '"'"'("echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"))' |
All times are GMT -5. The time now is 01:54 AM. |