On 10:03 24 Oct 2003, Kenneth Jacker <khj@xxxxxxxxxxxxxxxxxx> wrote: | One that is particularly bothersome: when I drag across text (e.g., in | an 'xterm' window) in order to "copy" it, the copied region also | includes trailing blanks. Those trailing spaces are not really in the | window, but get included. I think you'll find that this happens in curses programs - editors, mail readers etc, where the app is in "draw anywhere on the screen" mode. In plain text sessions (eg a shell, running commands like "ls" etc) you'll get line breaks as you expect. This is because in a full screen app the text isn't drawn in "lines" with line endings. So the terminal emultator (xterm) doesn't know each line has an end, instead deciing each line is a continuation of the previous one. And so your copy is giving you one long line with big chunks of spaces in it. The underlying mechanism is the same one that lets you "copy" a long command line that spans two or more lines as a single line of text, because a newline was not used to get to the next line, and xterm's noticing this for you. Cheers, -- Cameron Simpson <cs@xxxxxxxxxx> DoD#743 http://www.cskk.ezoshosting.com/cs/ ...when my mood gets too hot and I find myself wandering beyond control I pull out my motor-bike and hurl it at top speed through these unfit roads for hour after hour. My nerves are jaded and gone near dead, so that nothing less than hours of voluntary danger will prick them into life... - T.E. Lawrence 1923 -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list