🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #204329

Re: [slrn] How do I view an X-Face with slrn in Linux term? - Working now!

#204329
From: Troy Piggins
Date: Tue, 21 Aug 2007 07:32
120 lines
7049 bytes
* Ohmster is quoted & my replies are inline below :
> Troy Piggins <usenet-0708@piggo.com> wrote in
> news:20070821095023@usenet.piggo.com: 
>
> [..]
>>> Here is the same post after hitting the "-" key. I changed my
>>> activate key to the minus key as slrn did not seem to be using it for
>>> anything else. http://www.ohmster.com/~ohmster/picture/snap027.jpg
>> 
>> Excellent!  Glad you got it working.
>> 
>>> Yours don't look that bad in ASCII art, mine looks like crap though,
>>> see here:
>>> http://www.ohmster.com/~ohmster/picture/snap025.jpg
>> 
>> Yours has too much detail/grayscale for the ascii to handle.  B&W
>> only would look fine.
>
> Well, here is what it looks like in a "regular newsreader" as a small icon, 
> the way it was made to be viewed:
> http://www.ohmster.com/~ohmster/picture/snap029.jpg

Yep.  You're a handsome devil like me :-)

[snip]
> None of this is actually "grayscalling" because with grayscale, you 
> actually get many shades of gray. With 1 bit color, you get black and you 
> get white and that is it. Period.

I understand that.  I used the wrong word.  I should've said
converted from a photo.

> When I did my X-Face, I used error diffusion to get all of that 
> "grayscale" in there. Now that I think about it, I should have just used 
> "Nearest Order, Non-Weighted" and that probably would have been a better 
> choice. That would have given me a very much pure black and pure white 
> image, yet you would still be able to recognize me as to who I was. Ahhh, 
> we learn as we go on, you know. Here is what it would look like as a 
> "Nearest Order, Non-Weighted" picture, all ready to create an X-Face from:
> http://www.ohmster.com/~ohmster/picture/ohmsterBWface.gif

I reckon that'll look better in the ascii version.  Try it.

> Blinky's X-Face lends itself to black and white a little better than mine 
> though and Sinner's too because they are more like icons than the actual 
> photo that mine was made from. Here is what Blinky's X-Face looks like in a 
> regular newsreader:
> http://www.ohmster.com/~ohmster/picture/snap031.jpg

He's a handsome devil too.

>>> So yeah, it does work without X11 although it does not look as good
>>> as it does with some kind of image viewer. Now I am going to try it
>>> on the Linux box itself in xwindows in a term and see if the graphics
>>> get any better.
>> 
>> The "graphics" are just characters, so it won't look any better
>> IMO.
>
> They really are not just characters, they really are tiny 1 bit color 
> images.

I was talking about the ascii converted one.  Sorry.  Didn't
realise you were talking about an image viewer, which is of
course pixels.

>>> The only viewer I have that this "Troy Thing" supports is xv,
>>> which is shareware, unregistered. I wish he could have gotten
>>> it to work with gqview, that is my favorite. Well, off to the
>>> Linux box to try it out but yes, it does work.
>> 
>> There is no "Troy Thing" :-)  As I said on my page, the xli/xv
>> stuff is in the view-x-face script credited to Roland Rosenfeld.
>> 
>> I have a confession to make.  I have only just looked up what the
>> hell xli, xv, and gqview are.  They appear to just be image
>> viewers.  I don't know gqview's commandline options, but can you
>> pass it images from stdin?  If so, that's all you need.  Just
>> change the VIEWER variable accordingly.
>
> I just finally installed xli on my computer but for some reason it did not 
> work. When I called up the X-Face. I lost control of the slrn program 
> because xli was giving me some kind of a dialog box underneath and was not 
> producing the X-Face. Oh let me do it again and see what that error was...
>
> ...oh it works now! All dithered and MUCH better than the ASCII art! Oh 
> here is what happened. When the term window is small, xli will open the X-
> Face in a nice tiny window on the side of the term. When the term window is 
> full screen, you get a dialog box over slrn tha says "[X-Face:] stdin is a 
> 48x48 RawBits PBM image Default gamma is arbitrary for bitmap Using 
> DirectColor visual"
>
> slrn now says on it's command line "Press anyh key to close the window". 
> But pressing any key does not do shit and the dialog box does not go away. 
> You have to keep the term window small enough to show the xli graphic on 
> the side so that you can click on it to give it focus and then pressing any 
> key will make it go away. xli does work and it works quite well, much 
> better than ASCII art, but it has this quirk, just cannot use slrn in a 
> full screen term window and view an X-Face with it or else you will not see 
> the face underneath the term window and will not have any control over it. 
> Oh I see how it works now. Pretty neat anyway, nice small, regular X-Face 
> graphic with xli is what you get. Just that it has to sit in it's own 
> window is all. Cool!
>
> Heh, Sinner and Blinky look cool like that. Mine looks really good too.
>
> Alright, all is working just like you said Troy. Thanks for showing this to 
> me. I got what I wanted.

No worries mate.  I'm sure you'll enjoy it until the novelty
wears off and you learn what all the X-Faces of regulars are
anyway.  Jeez I sounds like a Negative-Nancy, don't I?

Glad you persisted.

-- 
Troy Piggins | http://piggo.com/~troy                             
                                            ___  |   __   __    ,-O   (o-    O 
slrn macros and howto:                     |___  | |/   |/  |  O   )  //\     O
http://piggo.com/~troy/slrn                 ___| | |    |   |   `-O   V_/_  OOO
Technical Details
Message-ID: <20070821171418@usenet.piggo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number5.nntp.dca.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <slrnfcgp9v.ofb.ohmster@ohmster.com> <20070820065518@usenet.piggo.com> <ja4np4xdeg.ln2@news.gates-of-hell.com> <slrnfck9jq.l0p.ohmster@ohmster.com> <20070821095023@usenet.piggo.com> <Xns99931C8D840DFMyBigKitty@194.177.96.26>

Show Full Headers
Complete Article Headers
Message-ID: <20070821171418@usenet.piggo.com>
Subject: Re: [slrn] How do I view an X-Face with slrn in Linux term? - Working now!
Date: Tue, 21 Aug 2007 17:32:46 +1000
From: Troy Piggins <usenet-0708@piggo.com>
References: <slrnfcgp9v.ofb.ohmster@ohmster.com> <20070820065518@usenet.piggo.com> <ja4np4xdeg.ln2@news.gates-of-hell.com> <slrnfck9jq.l0p.ohmster@ohmster.com> <20070821095023@usenet.piggo.com> <Xns99931C8D840DFMyBigKitty@194.177.96.26>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number5.nntp.dca.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet-0708@piggo.com
X-NNTP-Proxy: Leafnode-2
 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/)
User-Agent: slrn/0.9.8.1pl2.1/rt (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 120
NNTP-Posting-Host: 124.171.214.9
X-Trace: 1187681569 per-qv1-newsreader-01.iinet.net.au 27825 124.171.214.9