[ILUG] Getting text into the X cut buffer from an xterm?
jm at jmason.org
Sun Dec 2 13:18:34 GMT 2001
> xclipboard will do some approximation of this.
I've seen the one Kevin's talking about -- can't remember what it's called
either though; xbuffers or something similar?
> And for cut & paste sans rodent, check the XTerm man page:
> So all you gotta do is either find your Select key, remap your
> keyboard to have one, or change the translations for the terminal to
> do what Shift-Select does by default.
Close -- but not quite what I'm after; I'd be interested more in a
command-line tool which, given a string, puts that in the cut buffer.
So, for example, let's say you have 4 xterms (or rxvts etc.), and you
cd into directory ~/blah/foo/bar/baz/deep/somewhere in one; you then
decide you want to be there for all the other 3. Rather than doing
"pwd", rodenting around to cut the directory name, typing "cd ",
pasting, and doing the same for the other 2, this would allow me to
[which loads up "cd ~/blah/foo/bar/baz/deep/somewhere"
into the cut buffer]
then just paste into the other 3. Avoiding the cut-phase reduces
quite a lot of rodent use -- ie good for me wrists. (I seem to do
this cd thing quite often ;)
BTW Kevin, count yourself lucky you've got Buffy. For some reason Aus
TV doesn't show *ANY* decent US TV, apart from the occasional episode
of The West Wing & (of course) the Simpsons. :(
More information about the ILUG