[comp.sys.next] Screen backgrounds

scott@sage.uchicago.edu (Scott Deerwester) (06/07/90)

Is there a quick way to dump a tiff image to the screen?  The ones
I've got are 2BPP 1120x832, i.e. they exactly fit the screen.  It's a
pain to have to page through a bunch of files with Scene, Command-O,
select the file, hit the Display button, click the mouse, yada yada.
I'd rather be able to do something like:

for f in *.tiff
do
	echo -n "`basename $f .tiff`? "
	read yesno

	case $yesno in
	y)	bitblit $f;;
	*)	;;
	esac
done

or maybe stick something like:

bitblit `ls /usr/local/Images/*.tiff ~/Images | choose`

in my .profile to get different screen background every time I log in,
and where blitbit is something that one of you nice people is going to
tell me about. :-) There *is* something called "blit" in /usr/bin, and
it's used in /etc/rc to stick that spinning disk widget on the screen,
but it's completely undocumented, as far as I can tell, and appears to
only grok PostScript.

Oh yeah, choose is a small program written by Bob Lewis, CAE Systems
Division, Tektronix.  Here's the synopsis:

choose - randomly select one or more lines
-------
Scott Deerwester		| Internet: scott@tira.uchicago.edu
Center for Information and	| Phone:    312-702-6948
   Language Studies		| 1100 E. 57th, CILS
University of Chicago		| Chicago, IL 60637