Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2010 23:07:40 +0100
From:      Polytropon <freebsd@edvax.de>
To:        "Chuck Bacon" <crtb@cape.com>
Cc:        questions@freebsd.org
Subject:   Re: gv&(kernel|X)
Message-ID:  <20100211230740.3d694fbe.freebsd@edvax.de>
In-Reply-To: <34388.209.213.65.25.1265922809.squirrel@webmail.cape.com>
References:  <34388.209.213.65.25.1265922809.squirrel@webmail.cape.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Feb 2010 16:13:29 -0500 (EST), "Chuck Bacon" <crtb@cape.com> wrote:
> kernel or perhaps X, is next:  From an xterm, I typed ctrl-alt-F1 to look
> at something.  Upon return to the xterm by alt-F9, I discover "0~" as if
> I'd typed it in, which wasn't there before.  "cat|od -c" reveals it's (to
> quote):
> "033   [   2   0   ~  \n" .
> I don't remember what that does, but I can't find anything changed in X.

Sounds familiar... VERY familiar, and started (for me) with
the transition from 5/XFree86 to 7/X.org. I think what you
see in the xterm is the content of your edit buffer.

Try it: Select some arbitrary text with the left mouse
button (so as if you wanted to put it somewhere with the
middle mouse button), but then switch to text mode. Upon
your return to X, the text you selected is output.

The fun starts when you select text with more than one
line (so it contains one or more \n) and then return to
X with the focus of an xterm. Just imagine you selected
"rm -rf ~\ndf -h\n" somewhere - oh you will LOVE your
backups! :-)

Sadly, I can't tell you how to get rid of this strange
behaviour, but I can assure you that it hasn't always
been present.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100211230740.3d694fbe.freebsd>