On Mon, Apr 11, 2011 at 03:00:03PM -0700, Dr. Ed Morbius wrote: > on 14:46 Sat 09 Apr, Joel Roth (jo...@pobox.com) wrote: > > On Sat, Apr 09, 2011 at 05:22:04PM -0700, Todd A. Jacobs wrote: > > > On Sat, Apr 9, 2011 at 4:20 AM, Arthur Marsh > > > <arthur.ma...@internode.on.net>wrote: > > > > > > > Is there any Free PDF viewer in Debian that works outside of GNOME/KDE > > > > that > > > > can both search for text across line breaks and allows copying of text > > > > from > > > > the PDF document to the clip-board? > > > > > > > > > > Install pdfgrep and xclip. You can then do something like: > > > > > > pdfgrep 'foo.*bar' baz.pdf | xclip > > > > > > Works for me. > > > > xclip! how is it I didn't know about you for so long? > > Two shell scripts which have found their way to /usr/local/bin: > > ------------------------------------------------------------------------ > xp # xclip paste > ------------------------------------------------------------------------ > #!/bin/sh > # X clipboard paste > export PATH=/usr/bin:/bin > xclip -o > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > xc # xclip copy > ------------------------------------------------------------------------ > #!/bin/sh > # Xclip copy > export PATH=/usr/bin:/bin > xclip > ------------------------------------------------------------------------
> > Solves the vi/vim "how do I read in text" problem as well: > > :r !xp That's quite a bit better than what I was doing before: :r!cat <mouse-middle-click> <CR> ^D > -- > Dr. Ed Morbius, Chief Scientist / | > Robot Wrangler / Staff Psychologist | When you seek unlimited power > Krell Power Systems Unlimited | Go to Krell! > > -- Joel Roth -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110411230536.GA14016@sprite