On 2005-10-24 18:59:44 -0700, Mike Stump wrote: > On Oct 24, 2005, at 5:52 PM, Vincent Lefevre wrote: > >But then, copy-paste would no longer always work since spaces are > >sometimes added at the end of some lines (depending on the terminal > >and the context). > > Please name such systems. We can then know to not use them, and can > document in the manual they are broken if we wish.
The problem occurs very often with iTerm under Mac OS X. Also, this sometimes happen with *any* terminal when the application has added spaces for a redraw. Emacs and Mutt at least are affected by this problem (even when one uses bce). Concerning Mutt, I know that ncurses sometimes clears the end of a line with spaces instead of the escape sequence because this is more efficient when there are only a few characters left. Well, some terminals can be configured to strip the trailing spaces, but then, one gets the inverse problem, i.e. lines with "\[LF]" instead of "\[whitespace][LF]". -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / SPACES project at LORIA