From owner-freebsd-questions@freebsd.org Thu Jun 30 07:18:02 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD4BDB86667 for ; Thu, 30 Jun 2016 07:18:02 +0000 (UTC) (envelope-from bounce-mc.us13_56657121.317381-freebsd-questions=FreeBSD.org@mail67.atl11.rsgsv.net) Received: from mail67.atl11.rsgsv.net (mail67.atl11.rsgsv.net [205.201.133.67]) by mx1.freebsd.org (Postfix) with ESMTP id A523B2FFC for ; Thu, 30 Jun 2016 07:18:02 +0000 (UTC) (envelope-from bounce-mc.us13_56657121.317381-freebsd-questions=FreeBSD.org@mail67.atl11.rsgsv.net) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=k1; d=mail67.atl11.rsgsv.net; h=Subject:From:Reply-To:To:Date:Message-ID:List-ID:List-Unsubscribe:Sender:Content-Type:MIME-Version; i=abbywen1=3D126.com@mail67.atl11.rsgsv.net; bh=7aTI8hObLh0cONeMMUmLijW4WrA=; b=LntpP/xe0bDMRgBgc9N6Dd6d+LBolAA3xWiWYUp0lQC14AsL9z3UVGKPCcx8bCRuS+AVyPaosdcb 3ctKLiuAMJnkoAHE+c3DtlC7gH59IPV7Tzd8t2j8cynPnzWTxrbvBhHG5E4zfT85mV92iyy1l10o pmw2wz6c6vsP2RwOa8g= Received: from (127.0.0.1) by mail67.atl11.rsgsv.net id hej3qk1lgi0n for ; Thu, 30 Jun 2016 07:18:00 +0000 (envelope-from ) Subject: =?utf-8?Q?Save=20your=20cost=20with=20Kingfast=20SSD?= From: =?utf-8?Q?Abby=20|=20Kingfast=20SSD?= Reply-To: =?utf-8?Q?Abby=20|=20Kingfast=20SSD?= To: Date: Thu, 30 Jun 2016 07:18:00 +0000 Message-ID: X-Mailer: MailChimp Mailer - **CID5b0bf11266deb4a19cf7** X-Campaign: mailchimpff6f7e858a570f49a56fed270.5b0bf11266 X-campaignid: mailchimpff6f7e858a570f49a56fed270.5b0bf11266 X-Report-Abuse: Please report abuse for this campaign here: http://www.mailchimp.com/abuse/abuse.phtml?u=ff6f7e858a570f49a56fed270&id=5b0bf11266&e=deb4a19cf7 X-MC-User: ff6f7e858a570f49a56fed270 X-Feedback-ID: 56657121:56657121.317381:us13:mc X-Accounttype: ff Sender: "Abby | Kingfast SSD" x-mcda: FALSE MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format="fixed" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2016 07:18:03 -0000 View this email in your browser (http://us13.campaign-archive1.com/?u=3Dff= 6f7e858a570f49a56fed270&id=3D5b0bf11266&e=3Ddeb4a19cf7) ** A Letter From The Sales Manager ------------------------------------------------------------ Dear Friend=2C Good Day. This is Abby from Kingfast SSD=2C we are one of the leading and profession= al manufacturer of High-Tech SSD(Solid State Drive) products in China. We= provide a wide range of SSD products with different interfaces/capacities= to Consumer=2C enterprise and industrial customers. Our Advantage: KingFast provide 3 year warranty for ALL SSDs. KingFast built a longterm business with customers around the world. KingFast would like to join you to get win win. Please contact us if any interest for more information about product=2C da= ta sheet and prices. Thank and Regards=2C Sincerely=2C Abby Wen Sales Manager=2C Kingfast SSD Manufacturer =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Copyright =C2=A9 2016=2C Kingfast SSD Manufacturer=2C All rights reserved. Our mailing address is: abby@kfast.com.cn | abbyw@kfast.com.cn This email was sent to freebsd-questions@FreeBSD.org (mailto:freebsd-questions@FreeBSD.org) why did I get this? (http://kfast.us13.list-manage.com/about?u=3Dff6f7e858= a570f49a56fed270&id=3Ddbd878d97a&e=3Ddeb4a19cf7&c=3D5b0bf11266) unsubscr= ibe from this list (http://kfast.us13.list-manage.com/unsubscribe?u=3Dff6f= 7e858a570f49a56fed270&id=3Ddbd878d97a&e=3Ddeb4a19cf7&c=3D5b0bf11266) upd= ate subscription preferences (http://kfast.us13.list-manage.com/profile?u= =3Dff6f7e858a570f49a56fed270&id=3Ddbd878d97a&e=3Ddeb4a19cf7) Shenzhen New KingFast Storage Technology CO.=2CLtd . #601=2C2rd building= =2CBlock A=2C Bao'an Internet industry park=2CBao'An District . Shenzhen= =2C 44 518000 . China Email Marketing Powered by MailChimp http://www.mailchimp.com/monkey-rewards/?utm_source=3Dfreemium_newsletter&= utm_medium=3Demail&utm_campaign=3Dmonkey_rewards&aid=3Dff6f7e858a570f49a56= fed270&afl=3D1 From owner-freebsd-questions@freebsd.org Thu Jun 30 08:58:31 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6A65B87E4D for ; Thu, 30 Jun 2016 08:58:31 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: from box-hlm-03.niklaas.eu (box-hlm-03.niklaas.eu [IPv6:2a02:2770:15:0:21a:4aff:feaa:e902]) by mx1.freebsd.org (Postfix) with ESMTP id 91DBC2D03 for ; Thu, 30 Jun 2016 08:58:31 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: by box-hlm-03.niklaas.eu (Postfix, from userid 1001) id 8A583385519; Thu, 30 Jun 2016 10:58:29 +0200 (CEST) Date: Thu, 30 Jun 2016 10:58:29 +0200 From: Niklaas Baudet von Gersdorff To: freebsd-questions@freebsd.org Cc: Ralf Mardorf Subject: Re: Reading PDFs on the command line (with misc/lesspipe) Message-ID: <20160630085829.GK24197@box-hlm-03.niklaas.eu> Mail-Followup-To: freebsd-questions@freebsd.org, Ralf Mardorf MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tKtFalx5NIx0HZ72" Content-Disposition: inline In-Reply-To: <20160629134031.e8b13544.freebsd@edvax.de> <20160629113644.GA2144@hephaistos.local> <20160629121600.GA46483@becker.bs.l> <1467203049.832.7.camel@rocketmail.com> <20160629140316.6b0e9b4a.freebsd@edvax.de> <20160629132633.106636d7@archlinux.localdomain> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2016 08:58:31 -0000 --tKtFalx5NIx0HZ72 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Polytropon [2016-06-29 14:03 +0200] : [...] > > > http://www.manualpages.de/FreeBSD/FreeBSD-ports-9.0-RELEASE/man1/pdft= otext.1.html > > > http://unix.stackexchange.com/questions/41362/view-pdf-file-in-termin= al > > > > > > I wonder how it is handled assumed "some.pdf" is just a scanned pictu= re > > > of text converted to pdf ;). > >=20 > > /usr/local/libexec/xpdf/pdfimages is installed by default by package > > xpdf. Thanks for the second link. That made me realise that misc/lesspipe uses xpdf's pdftotext to view the PDF. I thought that I wouldn't need xpdf's utils if I had lesspipe installed. > And then use ImageMagick to convert it to ASCII art. :-) Haha. Great idea. However, I simply want to get a glimpse of what is written in the PDF before I start downloading it with scp. Bertram Scharpf [2016-06-29 14:16 +0200] : > I do the following (from the shell, not yet from mutt): >=20 > - Forward X to the desktop machine: >=20 > xto() { > local h l d > h=3D${1:-desktop} > l=3D`hostname -f` > d=3D":0" > ssh $h " > export DISPLAY=3D$d > xhost $l 1>&2 > xauth extract - $d > " | xauth -f ~/.Xauthority merge - > export DISPLAY=3D$h$d > } >=20 > - Run xpdf. >=20 > Of course, this requires xpdf and a lot of X client stuff to > be installed on the (anything but X) server. This looks very interesting. Thanks for sharing! Niklaas --tKtFalx5NIx0HZ72 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXdN8vAAoJEG2fODeJrIU/BgcP/jI/JTtlyOZAv+3mh4G96H6G aXR2Z/i3XHAxzBgS0XytbvEALG7LFKs/oZSr1EasR/Cw+owfsYRRfkGOGpn9m+1W 1+hZ0S/l4iHExViXDHq42omkIhnhKmKPvVEBPgOoO2FC2zq3vGxpvM1IhDfIDPXX 6dck3aHSoK9UxBGk/mYIOpZI1T8RztR4Xa+fARJ7+pLJkDXjTqJjOUeaUkq3oAlG ZL00MQl2FQ5JVwEKD/2U3iFhvqcqmZi866SPkjb3eKUeLFIdb6Z7n1MKZwTr/nvB ulsQ7sh4Ca1mM8rI1E1GLKjBCTTg4fiAi+Kj71gEhBHbIMOG71ZPKeS3BDYXZUdT IxFRCkqyJWrnZwj6WAgaDiS6hWFQ1cnApDiUUsxOyx0CQyBv4Gdp8U3+b4MImzDO Q4A95+i6bLm3eVdWfR58I1T8u95nBvsigxSaWb49a/B9vY7vYmAzLyyBKUz1+sc0 Ei2/j3kDhD5srXelMSnbbbGz7exEeSbZONCyXsdzSCqP2zGLZdThet2TEIjomzPU EIFGLAUyYhqUKhVqCO/ZpPAdqWJQdLAB77cDUIoyHcT+mqAlehq/ektqSk9VnVaR uRVXngIq4r19yMEKz6U0bob1F0nb1svVGAV60gV70qLBkCBiIHuVRvUnv/dKtSuQ Cy0zYPJTlpx3MBW/Hf/C =OkQk -----END PGP SIGNATURE----- --tKtFalx5NIx0HZ72--