🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by David A Keldsen Sat, 22 Aug 1992 01:26
newsbiff, or, how to find out when news has come in.
#3017
Author: David A Keldsen
Date: Sat, 22 Aug 1992 01:26
56 lines
3430 bytes
Here's a little toy for X and nn users (which relies on nncheck and
xbiff).  It lets you know when news comes in.

unshar and enjoy; it's currently designed to reside in your ${HOME}/bin
directory.

----------------------------------------------------------------------
: To unbundle, sh this file
echo x - bin/newsbiff 1>&2
sed 's/^X//' >bin/newsbiff <<'@@@End of bin/newsbiff'
Xxbiff -xrm "*fullPixmap: ${HOME}/bin/news.full.bit" \
X-xrm "*emptyPixmap: ${HOME}/bin/news.empty.bit" \
X-xrm "*flip: false" \
X-xrm "*onceOnly: true" \
X-xrm "*checkCommand: nncheck >/dev/null"
@@@End of bin/newsbiff
chmod +x bin/newsbiff
echo x - bin/news.empty.bit 1>&2
sed 's/^X//' >bin/news.empty.bit <<'@@@End of bin/news.empty.bit'
X#define news_width 32
X#define news_height 32
Xstatic char news_bits[] = {
X   0x00, 0xc0, 0x05, 0x00, 0x00, 0x38, 0x0c, 0x00, 0x00, 0x06, 0x30, 0x00,
X   0x00, 0x01, 0x40, 0x00, 0x80, 0x00, 0x80, 0x01, 0x40, 0x00, 0x00, 0x01,
X   0x40, 0x08, 0x04, 0x03, 0x40, 0x1c, 0x0e, 0x02, 0x20, 0x1c, 0x0e, 0x02,
X   0x20, 0x00, 0x00, 0x02, 0x20, 0x00, 0x00, 0x02, 0x20, 0x02, 0x10, 0x06,
X   0x20, 0x02, 0x08, 0x04, 0x20, 0x02, 0x08, 0x04, 0x20, 0x02, 0x08, 0x04,
X   0x20, 0x03, 0x08, 0x04, 0x20, 0x01, 0x08, 0x04, 0xa0, 0x01, 0x0c, 0x04,
X   0xa0, 0x00, 0x0c, 0x04, 0x60, 0x00, 0x0a, 0x04, 0x40, 0x00, 0x0a, 0x04,
X   0x30, 0x00, 0x09, 0x04, 0xb0, 0x87, 0x08, 0x04, 0xd0, 0x8f, 0x08, 0x04,
X   0xd0, 0x4f, 0x08, 0x04, 0x10, 0x41, 0x10, 0x02, 0x10, 0x20, 0x20, 0x03,
X   0xb0, 0x37, 0xc0, 0x01, 0x20, 0x10, 0x00, 0x00, 0x40, 0x18, 0x00, 0x00,
X   0x80, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
@@@End of bin/news.empty.bit
echo x - bin/news.full.bit 1>&2
sed 's/^X//' >bin/news.full.bit <<'@@@End of bin/news.full.bit'
X#define news_width 32
X#define news_height 32
Xstatic char news_bits[] = {
X   0x00, 0x00, 0x5c, 0x00, 0x00, 0x80, 0xc3, 0x00, 0x00, 0x60, 0x00, 0x03,
X   0x00, 0x10, 0x00, 0x04, 0x00, 0x08, 0x00, 0x18, 0x00, 0x04, 0x00, 0x10,
X   0x00, 0x84, 0x40, 0x30, 0x00, 0xc4, 0xe1, 0x20, 0x00, 0xc2, 0xe1, 0x20,
X   0x00, 0x02, 0x00, 0x20, 0x00, 0x02, 0x00, 0x20, 0x00, 0x42, 0x00, 0x61,
X   0x00, 0x42, 0x80, 0x40, 0x00, 0x22, 0x80, 0x40, 0x00, 0x22, 0x80, 0x40,
X   0x00, 0x32, 0x80, 0x40, 0x00, 0x12, 0x80, 0x40, 0x00, 0x12, 0xc0, 0x40,
X   0x00, 0x0a, 0xc0, 0x40, 0x00, 0x06, 0x80, 0x40, 0x00, 0x06, 0xc0, 0x41,
X   0x00, 0x02, 0xa0, 0x42, 0x00, 0x03, 0x90, 0x44, 0xfe, 0x01, 0xfc, 0x7f,
X   0x99, 0x39, 0x02, 0x40, 0xa9, 0x7d, 0x3d, 0x60, 0xc9, 0x57, 0x43, 0x60,
X   0x89, 0xfe, 0x43, 0x60, 0xfe, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00, 0x00,
X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
@@@End of bin/news.full.bit
exit 0
-- 
David A. 'Dak' Keldsen of SoftQuad, Inc. email: dak@sq.com  phone: 416-239-4801
"Well, I had resolved to be less offended by human nature, but I think
 I blew it already." -- Calvin and Hobbes
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads