[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gpm buffer: CLI vs. X



On Mon, Sep 21, 2009 at 03:32:06PM -0400, Wayne Topa wrote:
> Boyd Stephen Smith Jr. wrote:
> >On Monday 21 September 2009 12:06:39 Mike McClain wrote:
> >>[H]ow can I
> >>grab some text on the command line and paste it in X, or vise versa?
> >
> >I believe xclip <http://sourceforge.net/projects/xclip/> can do this. 
> ><http://elcasey.wordpress.com/2008/02/12/xclip-use-the-clipboard-from-the-
> >command-line/>
> >
> >I think it is in Lenny/main.
> 
> xclip in Squeeze seems to work from the CLI to X, not vice-versa.
> 

Thanks Boyd & Wayne.

The only way I've found 'til now is to echo a string back and forth,
as in:
>From the CLI:   echo 'some string' > /dev/pts/2
>From xterm:     echo 'some string' > /dev/tty9

Awkward but less so than writing to a file.

Thanks again,
Mike
-- 
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


Reply to: