When I run term mode in emacs GUI, I have issues with line wrapping. It runs fine when I am running emacs in xterm. When there is an output that has a very long line, it is all displayed on the same line, with my prompt. When I launch emacs in xterm, and then go to term mode, it behaves properly, wrapping the long line.
I run:
aaronjg@aaronjg-desk:~$ echo $PATH
and get.
aaronjg@aaronjg-desk:~$ usr/bin:/sbin:/bin:/usr/games:/home/aaronjg/kde/bin:/usr
Put this in .emacs:
(setq overflow-newline-into-fringe nil)
Here's where it comes into play in term.el:
(defun term-window-width ()
(if (featurep 'xemacs)
(1- (window-width))
(if (and window-system overflow-newline-into-fringe)
(window-width)
(1- (window-width)))))