🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #47832

Re: Read X-Face by Hammer and Chisel (was: Re: X-Face)

#47832
From: Russell Schulz
Date: Thu, 08 Apr 1999 00:00
39 lines
2016 bytes
Mike Uhl <ShoeLeather_Express@RadioLink.net> writes:

> Is there a conversion table available somewhere? I want to do this in
> a DOS environment, and if there is a conversion table available, I
> could probably make something that will do the job.

No, it's a big ugly compression thing.  I have a DOS executable though,
which is what I use (plus an awk script to actually gather the line to
feed into it).

And view48.exe is a tiny text-based viewer (it uses half-chars to fit
it all onto one 25x80 screen).

c:/usr/lib/showface.awk follows:

BEGIN { found=0; finding=0; facedata=""; }

/^[xX]-[fF][aA][cC][eE]:/ { finding=!found; found=1; sub(/^.-....:/,""); }

/^$/ { finding=0; }

/^[^ ]/ { finding=0; }

(finding) { facedata=facedata $0; }

END \
{
	if (found)
	{
		print "converting..."
		print facedata > "c:/tmp/tmp.xf";
		system("uncompface c:/tmp/tmp.xf > c:\\tmp\\tmp.xbm");
		system("view48 c:/tmp/tmp.xbm");
	}
}
-- 
Russell_Schulz@locutus.ofB.ORG  Shad 86c

Technical Details
Message-ID: <19990408.185712.1a8.rnr.w164w@locutus.ofB.ORG>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <rjlnh5r0uk.fsf@my.dina.kvl.dk> <Mike.Uhl.1999031215414020@ShoeLeather.Express> <1dolnts.mbmenx1ebk2ezN@medusa.cwi.nl> <Mike.Uhl.1999031520294547@ShoeLeather.Express>

Show Full Headers
Complete Article Headers
Message-ID: <19990408.185712.1a8.rnr.w164w@locutus.ofB.ORG>
Subject: Re: Read X-Face by Hammer and Chisel (was: Re: X-Face)
Date: Thu, 08 Apr 1999 00:00:00 +0000
From: Russell Schulz <Russell_Schulz@locutus.ofB.ORG>
References: <rjlnh5r0uk.fsf@my.dina.kvl.dk> <Mike.Uhl.1999031215414020@ShoeLeather.Express> <1dolnts.mbmenx1ebk2ezN@medusa.cwi.nl> <Mike.Uhl.1999031520294547@ShoeLeather.Express>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 464259790
Content-Transfer-Encoding: 8bit
X-Mail-Policy: you may reply to this message. you may NOT add me to a list.
Content-Type: text/plain; charset=iso-8859-1
Organization: Private System, Toronto, ON, Canada
MIME-Version: 1.0
User-Agent: rnr/2.43
Reply-To: Russell Schulz <Russell_Schulz@locutus.ofB.ORG>
Newsgroups: news.software.readers