Re: [PATCH 2.6.8-rc2] intel8x0.c to include CK804 audio support

Lee Revell
2004-07-27T17:41:25Z

On Tue, 2004-07-27 at 02:43, Denis Vlasenko wrote:
> On Tuesday 27 July 2004 07:57, Paul Jackson wrote:
> > > For now the only fix for people using an X environment ... insert file
> > > ...
> >
> > I'm guessing that the tabs are lost in the cut or copy operation, not in
> > the paste operation.
>
> because 'cut' in a xterm cannot know that those eight spaces
> once were a tab. xterm is probably storing screen as a char+attr
> two-dimensional array. There are no tabs, only spaces.

Yes, but unless you are copying from vim or emacs, where the editor is
converting tabs to N spaces based on your settings, this is fixable.
For example it should be possible to run diff from the command line and
copy the output, preserving tabs correctly. There is an alpha quality
patch floating around to add this functionality to xterm.

But, this is horribly OT. My main point was that it's almost always not
the mailer's fault if your patches are getting mangled in this way.

Lee